I’m trying to send a value from node red to HomeAssistant.
First I created a dummy sensor:
- platform: template
sensors:
solar_power1:
friendly_name: "Solis1"
value_template: "{{ states('sensor.power_consumption') }}"
unit_of_measurement: 'kW'
I have a value ready in Node-Red (scraped from a website) and want this value to be passed to this entity.
I’m new to node red and can;t figure out which node I need and how to configre this. In need some example but can;t find any with some explanation.
For some weird fact there is already a value displayed for Solis1 ??
Even when I do not have anything configured yet in Node Red
PS: sensor.power_consumption was also existing and the value template (copied from example) was refering to that. I now configured it as:
- platform: template
sensors:
solar_power1:
friendly_name: "Solis1"
value_template: ""
unit_of_measurement: 'kW'
But I cant find this entity from within Node Red. (Others I can find)