end_session
Stop and release all acquired locomotives, then turn off DCC power to end a driving session.
Instructions
End a driving session: stop, park and release every acquired locomotive, then cut power to every DCC system.
Call for "let's stop"/"termine la session"/"on arrête" — the one-call closer, inverse of start_session. Strictly ordered so power is never cut mid-motion: 1) every locomotive THIS session holds a throttle for is ramped to stop, faced forward, lights off, released — same as secure_layout(release_throttles=True), one failure doesn't block the rest; 2) power_off_all. Layout lights are NOT touched — use secure_layout/day_mode for those.
NOT secure_layout (also handles layout lights, never touches DCC power) and NOT power_off_all alone (no clean stop/release first). Nothing acquired reduces this to power_off_all alone.
Returns {"locomotives": [...], "systems": [...]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||