Display sensor sub details

Dear the community,

I am still new in HA. I have been looking everywhere I could without finding an answer so I wonder whether it is possible.

I have a door sensor, I can see its battery level by clicking on it. Now, I would like to be able to display the battery information as a badge, or as a history graph. Exactly like I would do with an entity. But this battery information is not part of my entities.

I have similar problem with my Dyson fan. There is an “Oscillate” toggle in the detail view but I would like to display it in the UI and control it with automations.

Thanks to all you!

the only way to do it would be to create a “template sensor” using the battery level attribute of the door sensor entity.

Well that is not the only way to see attributes, you can use this https://github.com/custom-cards/entity-attributes-card

Good point.

I forgot about that card.