Add secure devices to Nabu Casa Alexa Cloud

Currently, the google assistant integration for Nabu Casa allows the setting of a secure pin for devices such as locks/alarms, but the Alexa integration lacks this. Is it possible to achieve something similar for security devices in the Alexa integration? Would make Nabu Casa far more useful for me.

SECURITY CONTROL PANEL

Introduced in release 0.101.0

Alexa will require a 4 digit voice personal identification number (PIN) for disarming. Configure a 4 digit PIN in the Alexa app, or use an existing 4 digit PIN code configured for the security_control_panel.

To use the exiting code configured for the security_control_panel the code must be 4 digits and the code_format attribute must be FORMAT_NUMBER. After discovery the Alexa app will offer the ability to use the existing code, or create an additional 4 digit PIN to use with Alexa. The existing code is never communicated to Alexa from Home Assistant. During disarming, Alexa will ask for a PIN. The PIN spoken to Alexa is relayed to Home Assistant and passed to the alarm_control_panel.alarm_disarm service. If the alarm_control_panel.alarm_disarm service fails for any reason, it is assumed the PIN was incorrect and reported to Alexa as an invalid PIN.

Alexa does not support arming with voice PIN at this time. Therefore if the security_control_panel requires a code for arming or the code_arm_required attribute is true the entity will not be exposed during discovery. Note that code_arm_required may default to true even if the integration does not support it. Use the Entity Customization Tool in the Home Assistant Configuration and override code_arm_required to false to expose your security_control_panel during discovery.

security_control_panel state must be disarmed before arming. Alexa does not support switching from one armed state to another without first disarming. e.g. switching from armed_away to armed_home.

The security_control_panel state armed_custom_bypass isn’t supported by Alexa and is treated as armed_home.

Security Panel Utterances

Alexa, arm my home in away mode.
Alexa, arm my home.
Alexa, disarm my home.
Alexa, is my home armed?

I was trying to expose my Manual Alarm Control Panel to Alexa tonight, but I cannot find it in the list of devices to expose to Alexa. I am running 0.108, and as I understand it this has been present since 0.101. Is this supported through the UI or can it only be exposed through YAML?

yikes, i can’t read well today:

Therefore if the security_control_panel requires a code for arming or the code_arm_required attribute is true the entity will not be exposed during discovery. Note that code_arm_required may default to true even if the integration does not support it. Use the Entity Customization Tool in the Home Assistant Configuration and override code_arm_required to false to expose your security_control_panel during discovery.

I’ll give this a shot first

after setting that to false in customize, the alarm panel is still not able to be exposed from the UI, even after a restart of homeassistant.

EDIT: I had to create a Template Alarm Control Panel and that solved the issue.