DS1307 real time clock component (#1441)

* initial support for DS1307 real time clock

* add simple test, make sync functions public

* cleanup lint

* add sync to/from rtc actions

* changes action names

* Update esphome/components/ds1307/ds1307.cpp

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>

* Update esphome/components/ds1307/time.py

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>

* fix suggested change

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
Florian Mösch
2021-01-08 23:40:22 +01:00
committed by GitHub
parent 93e35a53ed
commit 699696e8d1
6 changed files with 232 additions and 0 deletions