I setup an alarm control panel, just as a test:
alarm_control_panel: - platform: manual name: Allarme code: !secret alarm_code code_arm_required: true arming_time: 30 delay_time: 20 trigger_time: 4 disarmed: trigger_time: 0 armed_home: arming_time: 0 delay_time: 0
Works pretty well, but i wanted to integrate it in my Google Assistant:
google_assistant: project_id: home-assista service_account: !include ghkey.json secure_devices_pin: !secret alarm_code report_state: true expose_by_default: false entity_config: alarm_control_panel.allarme: expose: true room: Ingresso
The problem is that the created alarm in Google Home looks like this, and it will not let me do anything a part from showing its informations when i click on it:
- If i ask google “activate allarme”, it says that there is no such mode for “allarme”.
- Tried to change “allarme” to something else, as the name may be referred to other Google stuffs. Nothing
- Tried to manually write the secure_devices_pin (which, as per documentation, must be the same of the device) in different ways and instead of the !secret, like: “1234”, ‘1234’.
I think that i’m missing something in the configuration, as it appears that usually users are at least asked a pin when clicking on the icon or asking Google to activate/deactivate the alarm, as reported here: This action requires a security code, but it hasn't been set up in your device's app