mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Register light conditions (#570)
This commit is contained in:
@@ -84,6 +84,8 @@ mqtt:
|
||||
condition:
|
||||
- wifi.connected:
|
||||
- mqtt.connected:
|
||||
- light.is_on: kitchen
|
||||
- light.is_off: kitchen
|
||||
then:
|
||||
- lambda: |-
|
||||
int data = x["my_data"];
|
||||
|
Reference in New Issue
Block a user