FR Widget Title2 from other entity_id state/attribute

Would this be possible?
Something like:

rainer:
  widget_type: device_tracker
  title: Rainer
  title2: Battery {{ states.sensor.rainers_iphone_battery_level.state }} %
  device: rainer
  title_style: "color: orange; font-weight: bold;"
  icon_on: fa-male
  icon_off: fa-male

So you can save some space for other widgets.

no it wont.
if you want to show the battery state you need to create a template sensor for that in HA.
but you need a seperate sensor for that. (or create a custom widget)

using HA templates in AD wont work.

I have thought about adding in some template support for cases like this - so maybe at some point :slight_smile:

1 Like