I’m trying to set up a notification to go out when any of our Shelly Flood sensors detect water.
This is my first Automation with templating and I’m completely lost on figuring out on how to access data within the template.
First off I think my notification group isn’t working.
I think the service should be notify.mobile_app etc but I get this invalid slug error in my Check Configuration: invalid slug notify.mobile_app_michaels_iphone (try notify_mobile_app_michaels_iphone) for dictionary value @ data[‘services’][0][‘service’]. Got ‘notify.mobile_app_michaels_iphone’.
within the automation I have tried several template code in addition to below without avail.
Also check the actual state of the binary_sensor in Developer Tools. You need to use the one from Developer Tools, not the translated one in the frontend.
When moisture is detected, the state should be on.
To test the automation, you can go to Developer Tools → States (tab) → Type binary_sensor.laundry_flood_flood in entity → Type on in state → Set States.