mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-11 04:50:29 +02:00
rm typo
This commit is contained in:
@@ -7,7 +7,7 @@ sensor:
|
|||||||
on_raw_value:
|
on_raw_value:
|
||||||
then:
|
then:
|
||||||
- text_sensor.template.publish:
|
- text_sensor.template.publish:
|
||||||
7 id: wt32_uptime
|
id: wt32_uptime
|
||||||
state: !lambda |-
|
state: !lambda |-
|
||||||
int seconds = round(id(wt32_uptime_seconds).raw_state);
|
int seconds = round(id(wt32_uptime_seconds).raw_state);
|
||||||
int days = seconds / (24 * 3600);
|
int days = seconds / (24 * 3600);
|
||||||
|
|||||||
Reference in New Issue
Block a user