get_smart_home_switch_state
Check the current smart home switch state and startup behavior on the Busy Bar device to confirm relay activity and prevent unexpected activation after power events.
Instructions
Retrieve smart home switch (output) state from the Busy Bar device.
This tool queries GET /api/smart_home/switch via `SmartHomeApi.get_smart_home_switch_state()`
to read the current relay/driver output configuration.
Returns a SmartHomeSwitchState object containing:
- state (str): Current switch/output state (e.g., "on", "off")
- startup (str | null): Startup behavior — what the switch does on power-on
(e.g., "restore", "on", "off", "unknown")
Use case:
Check whether a smart home relay is currently active or inspect its configured
startup behavior to avoid unexpected device activation after power events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||