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

time sync notification (#1442)

* add on_time_sync trigger

* cleanup lint

* fix review remark (sntp didn't trigger callbacks)
This commit is contained in:
Florian Mösch
2021-01-18 13:34:50 +01:00
committed by GitHub
parent d9a2651a5a
commit 4c105398f7
8 changed files with 34 additions and 6 deletions

View File

@@ -350,6 +350,7 @@ CONF_ON_SHUTDOWN = 'on_shutdown'
CONF_ON_STATE = 'on_state'
CONF_ON_TAG = 'on_tag'
CONF_ON_TIME = 'on_time'
CONF_ON_TIME_SYNC = 'on_time_sync'
CONF_ON_TURN_OFF = 'on_turn_off'
CONF_ON_TURN_ON = 'on_turn_on'
CONF_ON_VALUE = 'on_value'