Skip to content

Commit

Permalink
chore: update components via HACS
Browse files Browse the repository at this point in the history
  • Loading branch information
aronnebrivio committed Nov 12, 2024
1 parent 67293c9 commit 3d8addf
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 22 deletions.
6 changes: 3 additions & 3 deletions custom_components/alexa_media/.translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"debug": "Расширенные возможности отладки",
"email": "Адрес электронной почты",
"exclude_devices": "Исключенные устройства (через запятую)",
"extended_entity_discovery": "Include devices connected via Echo",
"extended_entity_discovery": "Включить устройства, подключенные через Echo",
"hass_url": "URL-адрес для доступа к Home Assistant",
"include_devices": "Включенные устройства (разделенное запятыми)",
"otp_secret": "Встроенный ключ приложения 2FA (автоматически генерирует коды 2FA). Это не шесть цифр.",
Expand Down Expand Up @@ -62,8 +62,8 @@
"queue_delay": "Секунды ожидания, чтобы выполнить команды вместе",
"scan_interval": "Секунды между сканированиями"
},
"description": "Required *",
"title": "Alexa Media Player - Reconfiguration"
"description": "Необходимый *",
"title": "Alexa Media Player - Перенастройка"
}
}
},
Expand Down
12 changes: 6 additions & 6 deletions custom_components/alexa_media/.translations/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"extended_entity_discovery": "包括通过 Echo 连接的设备",
"hass_url": "Url to access Home Assistant",
"include_devices": "Included device (comma separated)",
"otp_secret": "内置 2FA App Key(自动生成 2FA 代码)。这不是六位数长",
"otp_secret": "内置 2FA 应用程序密钥(自动生成 2FA 代码)。该密钥长度不为六位数字",
"password": "密码",
"queue_delay": "Seconds to wait to queue commands together",
"scan_interval": "Seconds between scans",
Expand All @@ -62,8 +62,8 @@
"queue_delay": "Seconds to wait to queue commands together",
"scan_interval": "Seconds between scans"
},
"description": "Required *",
"title": "Alexa Media Player - Reconfiguration"
"description": "必需的 *",
"title": "Alexa 媒体播放器 - 重新配置"
}
}
},
Expand All @@ -72,7 +72,7 @@
"description": "清除每个 Alexa 帐户的 Alexa Voice 历史记录中的最后条目。",
"fields": {
"email": {
"description": "Accounts to clear. Empty will clear all.",
"description": "要清除的帐户。清空将清除所有帐户。",
"name": "电子邮件地址"
},
"entries": {
Expand All @@ -86,7 +86,7 @@
"description": "强制帐户注销。主要用于调试。",
"fields": {
"email": {
"description": "Accounts to clear. Empty will clear all.",
"description": "要清除的帐户。清空将清除所有帐户。",
"name": "电子邮件地址"
}
},
Expand All @@ -100,7 +100,7 @@
"name": "电子邮件地址"
}
},
"name": "Update Last Called Sensor"
"name": "更新上次呼叫传感器"
}
}
}
5 changes: 3 additions & 2 deletions custom_components/alexa_media/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ async def async_setup(hass, config, discovery_info=None):
hass.config_entries.async_update_entry(
entry,
data={
CONF_URL: account[CONF_URL],
CONF_EMAIL: account[CONF_EMAIL],
CONF_PASSWORD: account[CONF_PASSWORD],
CONF_URL: account[CONF_URL],
CONF_PUBLIC_URL: account[CONF_PUBLIC_URL],
CONF_INCLUDE_DEVICES: account[CONF_INCLUDE_DEVICES],
CONF_EXCLUDE_DEVICES: account[CONF_EXCLUDE_DEVICES],
CONF_SCAN_INTERVAL: account[
Expand Down Expand Up @@ -186,7 +187,7 @@ async def async_setup(hass, config, discovery_info=None):
CONF_URL: account[CONF_URL],
CONF_EMAIL: account[CONF_EMAIL],
CONF_PASSWORD: account[CONF_PASSWORD],
CONF_PUBLIC_URL: account[CONF_PUBLIC_URL],
CONF_PUBLIC_URL: account.get(CONF_PUBLIC_URL, ""),
CONF_INCLUDE_DEVICES: account[CONF_INCLUDE_DEVICES],
CONF_EXCLUDE_DEVICES: account[CONF_EXCLUDE_DEVICES],
CONF_SCAN_INTERVAL: account[CONF_SCAN_INTERVAL].total_seconds(),
Expand Down
2 changes: 1 addition & 1 deletion custom_components/alexa_media/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
PERCENTAGE,
)

__version__ = "4.13.7"
__version__ = "4.13.8"
PROJECT_URL = "https://github.com/alandtse/alexa_media_player/"
ISSUE_URL = f"{PROJECT_URL}issues"
NOTIFY_URL = f"{PROJECT_URL}wiki/Configuration%3A-Notification-Component#use-the-notifyalexa_media-service"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/alexa_media/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"issue_tracker": "https://github.com/alandtse/alexa_media_player/issues",
"loggers": ["alexapy", "authcaptureproxy"],
"requirements": ["alexapy==1.29.4", "packaging>=20.3", "wrapt>=1.14.0"],
"version": "4.13.7"
"version": "4.13.8"
}
6 changes: 3 additions & 3 deletions custom_components/alexa_media/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"debug": "Расширенные возможности отладки",
"email": "Адрес электронной почты",
"exclude_devices": "Исключенные устройства (через запятую)",
"extended_entity_discovery": "Include devices connected via Echo",
"extended_entity_discovery": "Включить устройства, подключенные через Echo",
"hass_url": "URL-адрес для доступа к Home Assistant",
"include_devices": "Включенные устройства (разделенное запятыми)",
"otp_secret": "Встроенный ключ приложения 2FA (автоматически генерирует коды 2FA). Это не шесть цифр.",
Expand Down Expand Up @@ -62,8 +62,8 @@
"queue_delay": "Секунды ожидания, чтобы выполнить команды вместе",
"scan_interval": "Секунды между сканированиями"
},
"description": "Required *",
"title": "Alexa Media Player - Reconfiguration"
"description": "Необходимый *",
"title": "Alexa Media Player - Перенастройка"
}
}
},
Expand Down
12 changes: 6 additions & 6 deletions custom_components/alexa_media/translations/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"extended_entity_discovery": "包括通过 Echo 连接的设备",
"hass_url": "Url to access Home Assistant",
"include_devices": "Included device (comma separated)",
"otp_secret": "内置 2FA App Key(自动生成 2FA 代码)。这不是六位数长",
"otp_secret": "内置 2FA 应用程序密钥(自动生成 2FA 代码)。该密钥长度不为六位数字",
"password": "密码",
"queue_delay": "Seconds to wait to queue commands together",
"scan_interval": "Seconds between scans",
Expand All @@ -62,8 +62,8 @@
"queue_delay": "Seconds to wait to queue commands together",
"scan_interval": "Seconds between scans"
},
"description": "Required *",
"title": "Alexa Media Player - Reconfiguration"
"description": "必需的 *",
"title": "Alexa 媒体播放器 - 重新配置"
}
}
},
Expand All @@ -72,7 +72,7 @@
"description": "清除每个 Alexa 帐户的 Alexa Voice 历史记录中的最后条目。",
"fields": {
"email": {
"description": "Accounts to clear. Empty will clear all.",
"description": "要清除的帐户。清空将清除所有帐户。",
"name": "电子邮件地址"
},
"entries": {
Expand All @@ -86,7 +86,7 @@
"description": "强制帐户注销。主要用于调试。",
"fields": {
"email": {
"description": "Accounts to clear. Empty will clear all.",
"description": "要清除的帐户。清空将清除所有帐户。",
"name": "电子邮件地址"
}
},
Expand All @@ -100,7 +100,7 @@
"name": "电子邮件地址"
}
},
"name": "Update Last Called Sensor"
"name": "更新上次呼叫传感器"
}
}
}

0 comments on commit 3d8addf

Please sign in to comment.