Need help setting up a flow

I’ve setup a flow basically to send me a message alerting me if I’ve left a window open when leaving my house. Currently I’ve grouped all my binary_sensors into group.windows and if 1 window is open it’s ‘on’ so I get a message. I can then view HA via iOS app and work out what to do.

I would however like to include in the alert the actual windows friendly_name so I can either turn around or keep going.

I was thinking I could create a template that would output and then I can pass the payload via the notify domain… but honestly I’ve been trying everything within the template section of HA and I can’t get it to actually output the friendly_name…

Any advice on how to do this would be appreciated.

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/cookbook/get-entities.html#example-1

2 Likes

Hi Kermit,

Well this is literally what I wanted! Thank you, I’ll set it up and see what happens tomorrow when I can test out. I’ll post my final results etc. here to help anyone else, the website you sent looks great! Think I’ll be able to learn a lot.

Cheers
Tim

Ok I can confirm this worked!

I had to change the ‘get entities’ from open to on but that was essentially it!

I’m unable to upload the actual flow as I have multiple within the same page, however all I did was import from the URL and then change a couple of settings for example my sensors are

binary_sensor.openclose_1 etc.

also updated with the device I want to notify and the device I want to track ie person.tim

Anyway thank you Kermit! this was simple and worked exactly as documented.

Cheers
Tim