brandond / esphome-tuya_pir

ESPHome support for cheap WiFi PIR sensors
66 stars 22 forks source link

Additional sensors not updating #2

Open brandond opened 5 years ago

brandond commented 5 years ago

At some point around the big refactor that merged the C++ and Python code, additional sensors (voltage, wifi signal) stopped updating. I'm guessing that the node is shutting down before the loops for these get a chance to run.

beardypig commented 4 years ago

I found that setting update_interval back to 60s worked for me.

patrik-malina commented 3 years ago

This is mine code, and sensors working. Also convert battery to %

sensor: