zachowj / hass-node-red

Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core
MIT License
443 stars 180 forks source link

Set entity_picture on sensor #171

Closed hmorkemo closed 1 year ago

hmorkemo commented 1 year ago

It would be very nice if it was possible to set an entity's (sensor, binary_sensor etc) entity_picture in Node RED. Since the entity_picture can bed used when displaying a sensor in lovelace/mushroom cards.

hmorkemo commented 1 year ago

Nice! But how can I set the entity_picture when setting the sensor's value from node red? I need to change the picture depending on some calculations or the state

zachowj commented 1 year ago

The update config node is used to update the entity config option dynamically.