I included my minimote into my network as one of my first few zwave devices.
It got added fine but there is no indication of what button is pressed that I could see.
Then I found this page which has an automation configuration to address this.
I added the text into my automations.yaml.
The file was empty with only inside. I don’t know if I was supposed to keep the brackets but looking at other peoples examples I don’t see them so I remove them and replaced with the following
- id: mini_1_pressed
alias: 'Minimote Button 1 Pressed'
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 1
- id: mini_1_held
alias: 'Minimote Button 1 Held'
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 2
- id: mini_2_pressed
alias: 'Minimote Button 2 Pressed'
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 3
- id: mini_2_held
alias: 'Minimote Button 2 Held'
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 4
- id: mini_3_pressed
alias: 'Minimote Button 3 Pressed'
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 5
- id: mini_3_held
alias: 'Minimote Button 3 Held'
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 6
- id: mini_4_pressed
alias: 'Minimote Button 4 Pressed'
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 7
- id: mini_4_held
alias: 'Minimote Button 4 Held'
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 8
This results in the following in my log.
2018-06-21 09:32:04 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at Automation - Home Assistant
2018-06-21 09:32:04 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at Automation - Home Assistant
2018-06-21 09:32:04 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at Automation - Home Assistant
2018-06-21 09:32:04 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at Automation - Home Assistant
2018-06-21 09:32:04 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at Automation - Home Assistant
2018-06-21 09:32:04 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at Automation - Home Assistant
2018-06-21 09:32:04 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at Automation - Home Assistant
2018-06-21 09:32:04 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at Automation - Home Assistant
2018-06-21 09:32:10 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
But I can’t figure out what is wrong. I have so much to learn hear so sorry if I am missing something obvious.