Pwhitcomb
(Pwhitcomb)
December 6, 2016, 7:59am
1
So i’m not quite sure this is possible or how to do it if it is.
I want to change the picture based on the weather status.
sensor.yaml
sensor.dark_sky_minutely_summary:
entity_picture: /local/weather/{{ states(“sensor.dark_sky_icon”) }}.png
This is what I have so far, but it is not returning the state to correctly show the image.
Any thoughts?
CCOSTAN
(Ccostan)
December 6, 2016, 5:16pm
2
This would be cool. I would love to see a customization
enhancement that would allow for state icons. That would be neat.
customize:
cool_device:
entity_picture: mdi: cool_device
state:
offline: mdi: offline-device
online: mid: online-device
Something like that would be a pretty neat enhancement for the UI.
Sitnalta
(Sitnalta)
January 20, 2017, 12:38pm
4
No solution yet?
The link above is in the end pointing back to this one
I want battery pictures that display the actual state
cyn
September 3, 2017, 12:52pm
6
The OP asked if entity_picture could be changed using custom icons in his example and not MDI Icons.
I’m trying the same and see similar results. Can this be accomplished?
Thanks
1 Like