-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
Add Uptime Sensor #139
Comments
added #142 |
What about this uptime sensor: https://github.com/klaasnicolaas/smarty-homeassistant-config/blob/master/esphome/sensors/uptime_timestamp.yaml |
I'll give that a try. The idea sounds good to only send it once. |
And? |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Still something that is on my list to add 🤔 |
Doesn't this uptime sensor solve this issue? |
Yep, I've been using the uptime sensor @mcchots mentions with success. Added the following to the esphome build definition yaml file:
|
Uptime is great, but rather than have to calculate backwards in time to work out when it last booted, I prefer to add one that updates once on each boot when the time syncs:
Which gives you: |
I find it useful to have an Uptime Sensor in HA Glow. I've copied right away from the ESPHome-Page from the "Human readable sensor" Section
I'm not so familiar with GitHub, so I'm afraid I can't make a PR :-/
But maybe somebody can quickly copy/paste it into the project, is quite nice to know about it:
The text was updated successfully, but these errors were encountered: