1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-10 22:03:46 +01:00

Register light conditions (#570)

This commit is contained in:
Otto Winter
2019-05-30 13:12:12 +02:00
parent 31821e6309
commit f2d6817d8a
4 changed files with 19 additions and 2 deletions

View File

@@ -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"];