Open genestealer opened 5 months ago
Can I suggest changing uptime, to a last boot timestamp. That way Home Assistant will automatically set the time formatting. Like this:
Mqtt auto discovery parameters :
{ "name": "Last Boot", "state_topic": "xxxx", "device_class": "timestamp", "value_template": "{{ as_datetime(value) }}", "unique_id": "xxxx", etc, etc } }
Can I suggest changing uptime, to a last boot timestamp. That way Home Assistant will automatically set the time formatting. Like this:
![image](https://github.com/hjelev/rpi-mqtt-monitor/assets/5207490/01ba0ad4-d0c5-49e7-ad68-ea4191a76e3b)
Mqtt auto discovery parameters :