Is it possible to change the state of an entity in home assistant from node-red.
My flat Has dual hive heating thermostats, one for bedroom and one which covers the remaining rooms.
In the evening the heating turns off apart from the bedroom.
When someone visits and sleeps in the lounge they will get cold so I want an automation to prevent the flat thermostat from turning off in the evening when guests are sleeping round.
One way I identified people are present is I've set a DHCP reservation for their mobiles to give it same IP and have a process flow running a continuous ping every 10 seconds. This then creates a variable to true and will perform the checks again 12 hours later before setting back to false.
I can't seem to figure out how to control my hive heating from node-red. But I've managed to create an automation in home assistant to set the hearing to boost at a certain temperature and for how long which is triggered when an entity changes state but stuck on how to change the entity state from node-red to trigger the automation. Calling a service and using switch turn on/off doesn't change state