Home Assistant Switch¶
The homeassistant
Switch platform allows you to create Switch that import
states and allow control via your Home Assistant instance using the native API.
# Example configuration entry
switch:
- platform: homeassistant
id: my_cool_switch_from_ha
entity_id: switch.my_cool_switch
Configuration variables:¶
entity_id (Required, string): The entity ID to import / control from Home Assistant.
All other options from Switch.