Skip to content

Commit

Permalink
Merge branch 'master' of github.com:eifinger/homeassistant-config
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Nov 11, 2021
2 parents 7d48dc0 + b0bfa86 commit 170e22a
Show file tree
Hide file tree
Showing 45 changed files with 396 additions and 415 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ out/

# homeassistant in different repo
appdaemon/

# python
venv/
1 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
ignore: |
custom_components/
www/
blueprints/
rules:
braces:
level: error
Expand Down
14 changes: 7 additions & 7 deletions custom_components/alexa_media/.translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@
"description": "**{email} - alexa.{url}** \nDen Zwei Faktor Pin eingeben. \n{message}",
"title": "Alexa Media Player - Zwei Faktor Authentifizierung"
},
"user_legacy": {
"user": {
"data": {
"cookies_txt": "config::step::user::data::cookies_txt",
"debug": "Erweitertes debugging",
"email": "Email Adresse",
"exclude_devices": "Ausgeschlossene Geräte (komma getrennnt)",
"hass_url": "Url to access Home Assistant",
"include_devices": "Eingebundene Geräte (komma getrennnt)",
"oauth_login": "Enable oauth-token app method",
"otp_secret": "Built-in 2FA App Key (automatically generate 2FA Codes)",
Expand All @@ -77,16 +78,15 @@
"securitycode": "2FA Code (empfohlen, um Anmeldeprobleme zu vermeiden)",
"url": "Amazon Region (z.B., amazon.de)"
},
"description": "Please enter your [information](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **[Cookie import](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import) may be easiest!** \n**WARNING: Amazon incorrectly reports 'Enter a valid email or mobile number' when [2FA Code is required](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
"description": "Bitte geben Sie ihre Informationen ein.",
"title": "Alexa Media Player - Konfiguration"
},
"user": {
"user_legacy": {
"data": {
"cookies_txt": "config::step::user::data::cookies_txt",
"debug": "Erweitertes debugging",
"email": "Email Adresse",
"exclude_devices": "Ausgeschlossene Geräte (komma getrennnt)",
"hass_url": "Url to access Home Assistant",
"include_devices": "Eingebundene Geräte (komma getrennnt)",
"oauth_login": "Enable oauth-token app method",
"otp_secret": "Built-in 2FA App Key (automatically generate 2FA Codes)",
Expand All @@ -96,8 +96,8 @@
"securitycode": "2FA Code (empfohlen, um Anmeldeprobleme zu vermeiden)",
"url": "Amazon Region (z.B., amazon.de)"
},
"description": "Bitte geben Sie ihre Informationen ein.",
"title": "Alexa Media Player - Konfiguration"
"description": "Please enter your [information](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **[Cookie import](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import) may be easiest!** \n**WARNING: Amazon incorrectly reports 'Enter a valid email or mobile number' when [2FA Code is required](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
}
}
},
Expand Down
14 changes: 7 additions & 7 deletions custom_components/alexa_media/.translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@
"description": "**{email} - alexa.{url}** \nEnter the One Time Password (OTP). \n{message}",
"title": "Alexa Media Player - Two Factor Authentication"
},
"user_legacy": {
"user": {
"data": {
"cookies_txt": "Cookies.txt data",
"debug": "Advanced debugging",
"email": "Email Address",
"exclude_devices": "Excluded device (comma separated)",
"hass_url": "Url to access Home Assistant",
"include_devices": "Included device (comma separated)",
"oauth_login": "Enable oauth-token app method",
"otp_secret": "Built-in 2FA App Key (automatically generate 2FA Codes)",
Expand All @@ -77,16 +78,15 @@
"securitycode": "2FA Code (recommended to avoid login issues)",
"url": "Amazon region domain (e.g., amazon.co.uk)"
},
"description": "Please enter your [information](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **[Cookie import](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import) may be easiest!** \n**WARNING: Amazon incorrectly reports 'Enter a valid email or mobile number' when [2FA Code is required](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
"description": "Please confirm the information below. For legacy configuration, disable `Use Login Proxy method` option.",
"title": "Alexa Media Player - Configuration"
},
"user": {
"user_legacy": {
"data": {
"cookies_txt": "Cookies.txt data",
"debug": "Advanced debugging",
"email": "Email Address",
"exclude_devices": "Excluded device (comma separated)",
"hass_url": "Url to access Home Assistant",
"include_devices": "Included device (comma separated)",
"oauth_login": "Enable oauth-token app method",
"otp_secret": "Built-in 2FA App Key (automatically generate 2FA Codes)",
Expand All @@ -96,8 +96,8 @@
"securitycode": "2FA Code (recommended to avoid login issues)",
"url": "Amazon region domain (e.g., amazon.co.uk)"
},
"description": "Please confirm the information below. For legacy configuration, disable `Use Login Proxy method` option.",
"title": "Alexa Media Player - Configuration"
"description": "Please enter your [information](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **[Cookie import](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import) may be easiest!** \n**WARNING: Amazon incorrectly reports 'Enter a valid email or mobile number' when [2FA Code is required](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
}
}
},
Expand Down
14 changes: 7 additions & 7 deletions custom_components/alexa_media/.translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@
"description": "**{email} - alexa.{url}** \nIngrese la contraseña de un solo uso (OTP). \n{message}",
"title": "Alexa Media Player - Autenticación de dos factores"
},
"user_legacy": {
"user": {
"data": {
"cookies_txt": "Datos de Cookies.txt",
"debug": "Depuración avanzada",
"email": "Dirección de correo electrónico",
"exclude_devices": "Dispositivo excluido (separado por comas)",
"hass_url": "Url to access Home Assistant",
"include_devices": "Dispositivo incluido (separado por comas)",
"oauth_login": "Enable oauth-token app method",
"otp_secret": "Built-in 2FA App Key (automatically generate 2FA Codes)",
Expand All @@ -77,16 +78,15 @@
"securitycode": "Código 2FA (recomendado para evitar problemas de inicio de sesión)",
"url": "Región del dominio de Amazon (por ejemplo, amazon.es)"
},
"description": "Por favor introduce tu [información](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **El método más rápido es [Importar cookies](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import).** \n**ADVERTENCIA: Amazon informará 'Introduce un correo electrónico o número de teléfono válido' si tu cuenta utiliza [códigos 2FA - Segundo Factor de Autenticación](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
"description": "Confirme la siguiente información. Para la configuración heredada, desactive la opción `Usar método de proxy de inicio de sesión`.",
"title": "Alexa Media Player - Configuración"
},
"user": {
"user_legacy": {
"data": {
"cookies_txt": "Datos de Cookies.txt",
"debug": "Depuración avanzada",
"email": "Dirección de correo electrónico",
"exclude_devices": "Dispositivo excluido (separado por comas)",
"hass_url": "Url to access Home Assistant",
"include_devices": "Dispositivo incluido (separado por comas)",
"oauth_login": "Enable oauth-token app method",
"otp_secret": "Built-in 2FA App Key (automatically generate 2FA Codes)",
Expand All @@ -96,8 +96,8 @@
"securitycode": "Código 2FA (recomendado para evitar problemas de inicio de sesión)",
"url": "Región del dominio de Amazon (por ejemplo, amazon.es)"
},
"description": "Confirme la siguiente información. Para la configuración heredada, desactive la opción `Usar método de proxy de inicio de sesión`.",
"title": "Alexa Media Player - Configuración"
"description": "Por favor introduce tu [información](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **El método más rápido es [Importar cookies](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import).** \n**ADVERTENCIA: Amazon informará 'Introduce un correo electrónico o número de teléfono válido' si tu cuenta utiliza [códigos 2FA - Segundo Factor de Autenticación](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
}
}
},
Expand Down
18 changes: 9 additions & 9 deletions custom_components/alexa_media/.translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,42 +62,42 @@
"description": "**{email} - alexa.{url}** \nEntrez le mot de passe unique (OTP). \n{message}",
"title": "Alexa Media Player - Authentification à deux facteurs"
},
"user_legacy": {
"user": {
"data": {
"cookies_txt": "Données cookies.txt",
"debug": "Débogage avancé",
"email": "Adresse Email",
"exclude_devices": "Appareil exclu (séparé par des virgules)",
"hass_url": "Url to access Home Assistant",
"include_devices": "Appareil inclus (séparé par des virgules)",
"oauth_login": "Activer la méthode d'application oauth-token",
"oauth_login": "Enable oauth-token app method",
"otp_secret": "Clé d'application 2FA intégrée (génère automatiquement des codes 2FA)",
"password": "Mot de passe",
"proxy": "Use Login Proxy method (2FA not required)",
"scan_interval": "Secondes entre les analyses",
"securitycode": "Code 2FA (recommandé pour éviter les problèmes de connexion)",
"url": "Domaine de la région Amazon (exemple, amazon.fr)"
},
"description": "Please enter your [information](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **[Cookie import](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import) may be easiest!** \n**WARNING: Amazon incorrectly reports 'Enter a valid email or mobile number' when [2FA Code is required](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
"description": "Veuillez confirmer les informations ci-dessous. Pour la configuration héritée, désactivez l'option `Utiliser la méthode proxy de connexion`.",
"title": "Alexa Media Player - Configuration"
},
"user": {
"user_legacy": {
"data": {
"cookies_txt": "Données cookies.txt",
"debug": "Débogage avancé",
"email": "Adresse Email",
"exclude_devices": "Appareil exclu (séparé par des virgules)",
"hass_url": "Url to access Home Assistant",
"include_devices": "Appareil inclus (séparé par des virgules)",
"oauth_login": "Enable oauth-token app method",
"oauth_login": "Activer la méthode d'application oauth-token",
"otp_secret": "Clé d'application 2FA intégrée (génère automatiquement des codes 2FA)",
"password": "Mot de passe",
"proxy": "Use Login Proxy method (2FA not required)",
"scan_interval": "Secondes entre les analyses",
"securitycode": "Code 2FA (recommandé pour éviter les problèmes de connexion)",
"url": "Domaine de la région Amazon (exemple, amazon.fr)"
},
"description": "Veuillez confirmer les informations ci-dessous. Pour la configuration héritée, désactivez l'option `Utiliser la méthode proxy de connexion`.",
"title": "Alexa Media Player - Configuration"
"description": "Please enter your [information](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **[Cookie import](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import) may be easiest!** \n**WARNING: Amazon incorrectly reports 'Enter a valid email or mobile number' when [2FA Code is required](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
}
}
},
Expand Down
36 changes: 18 additions & 18 deletions custom_components/alexa_media/.translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,6 @@
"description": "**{email} - alexa.{url}** \nInserisci la password usa e getta (OTP). \n{message}",
"title": "Alexa Media Player - Autenticazione a Due Fattori"
},
"user_legacy": {
"data": {
"cookies_txt": "config::step::user::data::cookies_txt",
"debug": "Debug avanzato",
"email": "Indirizzo email",
"exclude_devices": "Dispositivi da escludere (separati da virgola)",
"include_devices": "Dispositivi da includere (separati da virgola)",
"oauth_login": "Abilitare il metodo oauth-token app",
"otp_secret": "Chiave 2FA interna (genera automaticamente i codici 2FA)",
"password": "Password",
"proxy": "Usa il Proxy come metodo di login (2FA non richiesta)",
"scan_interval": "Tempo in secondi fra le scansioni",
"securitycode": "Codice 2FA (raccomandato per evitare problemi di login)",
"url": "Regione del dominio Amazon (e.g. amazon.it)"
},
"description": "Prego inserisci le tue [informazioni](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **[Cookie import](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import) potrebbe essere più semplice!** \n**ATTENZIONE: Amazon risponde incorrettamente 'Inserire una mail valida o un numero di telefono' quando è richiesto il codice 2FA](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
},
"user": {
"data": {
"cookies_txt": "Dati cookies.txt",
Expand All @@ -98,6 +80,24 @@
},
"description": "Confermare le informazioni sottostanti. Per le vecchie configurazioni, disabilitare l'opzione `Usa Proxy come metodo di login`.",
"title": "Alexa Media Player - Configurazione"
},
"user_legacy": {
"data": {
"cookies_txt": "Dati cookies.txt",
"debug": "Debug avanzato",
"email": "Indirizzo email",
"exclude_devices": "Dispositivi da escludere (separati da virgola)",
"include_devices": "Dispositivi da includere (separati da virgola)",
"oauth_login": "Abilitare il metodo oauth-token app",
"otp_secret": "Chiave 2FA interna (genera automaticamente i codici 2FA)",
"password": "Password",
"proxy": "Usa il Proxy come metodo di login (2FA non richiesta)",
"scan_interval": "Tempo in secondi fra le scansioni",
"securitycode": "Codice 2FA (raccomandato per evitare problemi di login)",
"url": "Regione del dominio Amazon (e.g. amazon.it)"
},
"description": "Prego inserisci le tue [informazioni](https://github.com/custom-components/alexa_media_player/wiki/Configuration#integrations-page). **[Cookie import](https://github.com/custom-components/alexa_media_player/wiki/Configuration#cookie-import) potrebbe essere più semplice!** \n**ATTENZIONE: Amazon risponde incorrettamente 'Inserire una mail valida o un numero di telefono' quando è richiesto il codice 2FA](https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account).** \n>{message}",
"title": "Alexa Media Player - Legacy Configuration"
}
}
},
Expand Down
Loading

0 comments on commit 170e22a

Please sign in to comment.