Skip to content
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

Change uptime to timestamp #76

Open
genestealer opened this issue Feb 8, 2024 · 1 comment
Open

Change uptime to timestamp #76

genestealer opened this issue Feb 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@genestealer
Copy link

Can I suggest changing uptime, to a last boot timestamp. That way Home Assistant will automatically set the time formatting.
Like this:
image
image

Mqtt auto discovery parameters :

{
  "name": "Last Boot",
  "state_topic": "xxxx",
  "device_class": "timestamp",
  "value_template": "{{ as_datetime(value) }}",
  "unique_id": "xxxx",
   etc,
   etc
  }
}
@hjelev hjelev added the enhancement New feature or request label May 8, 2024
@hjelev
Copy link
Owner

hjelev commented Oct 18, 2024

This is a really good idea, adding it to the road map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants