Hi all
Is there a way to use the last_updated (or last_changed) state of an entity (sensor and others) as sub_entity in Hadashboard?
What is the differences between the two ?
Thanks
Hi all
Is there a way to use the last_updated (or last_changed) state of an entity (sensor and others) as sub_entity in Hadashboard?
What is the differences between the two ?
Thanks
whats the difference:
both are atrributes and they can be set as subentity for a sensor as described here:
http://appdaemon.readthedocs.io/en/latest/DASHBOARD_CREATION.html#sensor
Hi @ReneTode
Sorry, but I donโt understand how to do it.
I have this sensor showed in the dashboard and I would like to see also when was updated.
consumo_attuale:
widget_type: sensor
title: Consumo attuale
units: "kW"
precision: 1
entity: sensor.owl_attuale
sub_entity: sensor.owl_attuale.last_updated
refresh: 15
What is the correct code to insert as sub_entity?
Can I use last_updated also for device_tracker entities?
Thanks!!
you need entity_to_sub_entity_attribute in stead of sub_entity
sensor doesnt have a refresh
devicetracker doesnt have a sub_entity, but you can use a sensor widget for the devicetracker (but it will show the state and not an icon)