mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[homeassistant] Native switch entity import and control (#7018)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,11 @@ wifi:
|
||||
|
||||
api:
|
||||
|
||||
switch:
|
||||
- platform: homeassistant
|
||||
entity_id: switch.my_cool_switch
|
||||
id: my_cool_switch
|
||||
|
||||
binary_sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: binary_sensor.hello_world
|
||||
|
Reference in New Issue
Block a user