Hi everyone, I would like simply to get notification to my iphone from my flood sensor Fibaro.
after reading and reading…I set up my config file with IOS: and automation. Could someone help me figure out the bugs on the IOS script and automation please. I copied the IOS script from the HA IOS configuration as well as the automation script. ssinseeme is the ID I found on my phone app. I named my fibaror sensor as flood sensor
ios:
push:
categories:
- name: Alarm
identifier: ‘alarm’
actions:
- identifier: ‘SOUND_ALARM’
title: ‘Sound Alarm’
activationMode: ‘background’
authenticationRequired: yes
destructive: yes
behavior: ‘default’
- identifier: ‘SILENCE_ALARM’
title: ‘Silence Alarm’
activationMode: ‘background’
authenticationRequired: yes
destructive: no
behavior: ‘textInput’
textInputButtonTitle: ‘Silencio!’
textInputPlaceholder: ‘Placeholder’
Invalid config for [automation]: expected a dictionary @ data[‘trigger’][0]. Got None. (See /config/configuration.yaml, line 112). Please check the docs at https://home-assistant.io/components/automation/
question do you want to send a simple notification or do you want to sent an actionable notification ?
for a basic notification here is an example
dont forget to update the push notification on the ios app
Configuration validation#############################################################################
Invalid config for [ios]: expected a dictionary for dictionary value @ data[‘ios’]. Got [OrderedDict([(‘alias’, ‘Notify iOS app’), (‘trigger’, ‘…’), (‘action’, OrderedDict([(‘service’, ‘notify.ios_ssinseeme’), (‘data’, OrderedDict([(‘title’, ‘Smart Home Alerts’), (‘message’, ‘Something happened at home!’), (‘data’, OrderedDict([(‘push’, OrderedDict([(‘badge’, 0)]))]))]))]))])]. (See /config/configuration.yaml, line 90). Please check the docs at https://home-assistant.io/components/ios/
Can you please rephrase your question using Preformatted text in your config, to make it somehow readable? Copy your config into the text (make sure you leave an empty line before and after it), select it and then click button </> to format it.
As it is now, most probably no one will be able to help you, even if they want to.
I’m sorry is automation old: not automations old: also change the entity to whatever entity you have and dont forget to update the push notification on the ios app
with this i get a notification every time my bedroom light is turn on
automation old:
- alias: My room light
trigger:
platform: state
entity_id: light.mi_cuarto1
to: 'on'
action:
service: notify.ios_your_iphone
data:
message: Your room is on!
data:
push:
badge: 0
click here to watch a video by DrZzs and here by BurnsHa on how to set up ios notificatios