mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
add wifi.on_connect and wifi.on_disconnect triggers (#3639)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -73,6 +73,10 @@ wifi:
|
||||
domain: .local
|
||||
reboot_timeout: 120s
|
||||
power_save_mode: light
|
||||
on_connect:
|
||||
- light.turn_on: ${roomname}_lights
|
||||
on_disconnect:
|
||||
- light.turn_off: ${roomname}_lights
|
||||
|
||||
network:
|
||||
enable_ipv6: true
|
||||
|
Reference in New Issue
Block a user