1
0
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:
Otto Winter
2019-05-30 13:12:12 +02:00
committed by GitHub
parent 8dd971b25e
commit 1ce257c721
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"];