lights_on
Activate a locomotive's headlight using the standard DCC function F0, without specifying a function number.
Instructions
Turn on a locomotive's headlight(s): shortcut for set_function(address, 0, True).
F0 is almost universally the headlight function across DCC decoders (this is a very strong convention, not a JMRI/protocol guarantee), so this is the tool to reach for on a plain "turn the lights on" voice request without asking the user for a function number. Same auto-acquire and no-op-safe behavior as set_function.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes |