mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
make time components polling components (#1443)
* make real time clock components polling components * add test
This commit is contained in:
committed by
Jesse Hills
parent
717aab7c8b
commit
652f6058d1
@@ -1843,6 +1843,7 @@ time:
|
||||
then:
|
||||
- lambda: 'ESP_LOGD("main", "time");'
|
||||
- platform: gps
|
||||
update_interval: 1h
|
||||
on_time:
|
||||
seconds: 0
|
||||
minutes: /15
|
||||
@@ -1851,13 +1852,12 @@ time:
|
||||
id: ds1307_time
|
||||
- platform: ds1307
|
||||
id: ds1307_time
|
||||
update_interval: never
|
||||
on_time:
|
||||
seconds: 0
|
||||
then:
|
||||
ds1307.read
|
||||
|
||||
|
||||
|
||||
cover:
|
||||
- platform: template
|
||||
name: 'Template Cover'
|
||||
|
Reference in New Issue
Block a user