lights_off
Turn off a locomotive's headlight by providing its decoder address. This controls function F0, the headlight, on DCC model railroads.
Instructions
Turn off a locomotive's headlight(s): shortcut for set_function(address, 0, False).
See lights_on for why F0. Same auto-acquire and no-op-safe behavior as set_function.
This is the locomotive's own headlight, NOT layout/scenery lighting (depot, street lamps, signals) — for those, use set_light instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes |