From 225becc89abf76606ffe860e2cd15bb08d9d4b1a Mon Sep 17 00:00:00 2001 From: Paolo Antinori Date: Wed, 2 Sep 2020 09:56:11 +0200 Subject: [PATCH] Add alexa unofficial specific API support for Italian (#39475) Co-authored-by: ochlocracy <5885236+ochlocracy@users.noreply.github.com> --- .../components/alexa/capabilities.py | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/alexa/capabilities.py b/homeassistant/components/alexa/capabilities.py index 032aca32e02..63d8bb751bc 100644 --- a/homeassistant/components/alexa/capabilities.py +++ b/homeassistant/components/alexa/capabilities.py @@ -866,7 +866,7 @@ class AlexaContactSensor(AlexaCapability): https://developer.amazon.com/docs/device-apis/alexa-contactsensor.html """ - supported_locales = {"en-CA", "en-US"} + supported_locales = {"en-CA", "en-US", "it-IT"} def __init__(self, hass, entity): """Initialize the entity.""" @@ -905,7 +905,7 @@ class AlexaMotionSensor(AlexaCapability): https://developer.amazon.com/docs/device-apis/alexa-motionsensor.html """ - supported_locales = {"en-CA", "en-US"} + supported_locales = {"en-CA", "en-US", "it-IT"} def __init__(self, hass, entity): """Initialize the entity.""" @@ -1113,7 +1113,22 @@ class AlexaSecurityPanelController(AlexaCapability): https://developer.amazon.com/docs/device-apis/alexa-securitypanelcontroller.html """ - supported_locales = {"en-AU", "en-CA", "en-IN", "en-US"} + supported_locales = { + "de-DE", + "en-AU", + "en-CA", + "en-GB", + "en-IN", + "en-US", + "es-ES", + "es-MX", + "es-US", + "fr-CA", + "fr-FR", + "it-IT", + "ja-JP", + "pt_BR", + } def __init__(self, hass, entity): """Initialize the entity."""