I see a lot of people who use Node-RED as their automation engine looking for a way to trigger a flow from the Home Assistant UI. Here’s how I do it.

First I created an empty script .

script : good_morning : sequence :





And a button in Lovelace.

- type : entity-button entity : script.good_morning name : " Good Morning" icon : mdi:coffee tap_action : action : call-service service : script.turn_on service_data : entity_id : script.good_morning





Then in Node-RED.









The events: all node checks only events of type call_service .









The switch node checks which script was called.









The call-service node turns on my bedroom ceiling lights in a 30 seconds transition.









When I press the button (below) in the UI or say “Hey Google, good morning” the flow is triggered and the lights turn on.







