1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Fix dallas not unknown (#716)

* Fix dallas not sending unknown on disconnected sensor

* Deep sleep
This commit is contained in:
Otto Winter
2019-10-17 21:34:58 +02:00
committed by GitHub
parent 578e5a0d7a
commit 32195f77d9
2 changed files with 3 additions and 5 deletions

View File

@@ -73,10 +73,10 @@ mqtt:
ESP_LOGD("main", "Got message %s", x.c_str());
- topic: livingroom/ota_mode
then:
- deep_sleep.prevent: deep_sleep_1
- deep_sleep.prevent
- topic: livingroom/ota_mode
then:
- deep_sleep.enter: deep_sleep_1
- deep_sleep.enter:
on_json_message:
topic: the/topic
then:
@@ -163,7 +163,6 @@ deep_sleep:
sleep_duration: 50s
wakeup_pin: GPIO39
wakeup_pin_mode: INVERT_WAKEUP
id: deep_sleep_1
ads1115:
address: 0x48