zachowj / hass-node-red

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

Icon Template Support #13

Closed ryanjohnsontv closed 4 years ago

ryanjohnsontv commented 4 years ago

Is your feature request related to a problem? Please describe. Right now the sensor is working flawlessly, however I feel like the addition of being able to change the mdi icon based on inputting a valid msg.icon would make this far superior to the native template sensor in Home Assistant

Describe the solution you'd like Either declaring an icon the same way you currently define the state or allowing {{msg.icon}} in the 'Config' section to parse that message.

Describe alternatives you've considered Currently I am having to resort to using the template sensor within Home Assistant.

ryanjohnsontv commented 4 years ago

Apologies, this request is related to the Node-Red Websocket integration, not the custom component for Home Assistant.