-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DS1307 real time clock component #910
Conversation
# in case you need to specify the DS1307 id | ||
- ds1307.read: | ||
id: ds1307_time | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expected to read more, like how to use this in conjuntion with another time source so this source is used as a fallback mostly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to elaborate a bit more on this once the PR esphome/esphome#1442 has settled: I'd rather give a more complete example once there are elegant ways to synchronize clocks instead of the - kind of improvised - possibilities that now exist in more or less bulky lambda expression.
That would then look similar to this:
esphome:
on_boot:
then:
ds1307.read:
time:
- platform: ds1307
update_interval: never
- platform: homeassistant
on_time_sync:
then:
ds1307.write:
* add DS1307 documentation * add sync to/from rtc actions * changed action names * reformat action documentation * cleanup lint * link actions
Description:
initial brief documentation for DS1307 RTC component
Pull request in esphome with YAML changes (if applicable): esphome/esphome#1441
Checklist:
next
is for changes and new documentation that will go public with the next ESPHome release. Fixes, changes and adjustments for the current release should be created againstcurrent
.