UI Override for Node-red sequence

Hi,
I have a node-red sequence that heats my office based on the day of the week, time and current temperature.

If i’m not going to be in the office I would like to have a dashboard override switch.

Is that possible and if so, how can I achieve it?

Thanks
Paul

Without seeing the flow, this is usually handled by an input_boolean in a current state node after the trigger.

[{"id":"6defb5ec0627850c","type":"server-state-changed","z":"f80b6c338afd5483","name":"temperature change","server":"6b1110b5.183a4","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":260,"y":560,"wires":[["e6e553887db2fd7b"]]},{"id":"e6e553887db2fd7b","type":"api-current-state","z":"f80b6c338afd5483","name":"","server":"6b1110b5.183a4","version":2,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.heat","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":560,"y":560,"wires":[["72c1a97d7bddf431"],["d258a6880f59d108"]]},{"id":"72c1a97d7bddf431","type":"api-call-service","z":"f80b6c338afd5483","name":"on turn on heat","server":"6b1110b5.183a4","version":3,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":920,"y":500,"wires":[[]]},{"id":"d258a6880f59d108","type":"debug","z":"f80b6c338afd5483","name":"off, do nothing","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":920,"y":560,"wires":[]},{"id":"6b1110b5.183a4","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]

Thanks, and how can I setup a switch in the Home Assistant UI to set the boolean? I’ve never got my head around getting data from lovelace to Node-red.

Go to configuration page, choose helpers. Bottom right click add, then choose boolean and name it. You will now have an entity named input_boolean.pick_name. When adding it to lovelace it will show as a switch.These are both booleans.

That’s awesome, much simpler than I expected, many thanks!