mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02: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