mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Bump simplisafe-python
to 2022.11.2 (#82943)
This commit is contained in:
parent
197e71203b
commit
43c8adc5ec
@ -298,7 +298,7 @@ def _async_register_base_station(
|
||||
device_registry = dr.async_get(hass)
|
||||
device_registry.async_get_or_create(
|
||||
config_entry_id=entry.entry_id,
|
||||
identifiers={(DOMAIN, system.system_id)},
|
||||
identifiers={(DOMAIN, str(system.system_id))},
|
||||
manufacturer="SimpliSafe",
|
||||
model=system.version,
|
||||
name=system.address,
|
||||
@ -731,7 +731,7 @@ class SimpliSafeEntity(CoordinatorEntity):
|
||||
manufacturer="SimpliSafe",
|
||||
model=model,
|
||||
name=device_name,
|
||||
via_device=(DOMAIN, system.system_id),
|
||||
via_device=(DOMAIN, str(system.system_id)),
|
||||
)
|
||||
|
||||
self._attr_unique_id = serial
|
||||
|
@ -224,9 +224,7 @@ class SimpliSafeAlarm(SimpliSafeEntity, AlarmControlPanelEntity):
|
||||
self._attr_extra_state_attributes.update(
|
||||
{
|
||||
ATTR_ALARM_DURATION: self._system.alarm_duration,
|
||||
ATTR_ALARM_VOLUME: self._system.alarm_volume.name.lower(),
|
||||
ATTR_BATTERY_BACKUP_POWER_LEVEL: self._system.battery_backup_power_level,
|
||||
ATTR_CHIME_VOLUME: self._system.chime_volume.name.lower(),
|
||||
ATTR_ENTRY_DELAY_AWAY: self._system.entry_delay_away,
|
||||
ATTR_ENTRY_DELAY_HOME: self._system.entry_delay_home,
|
||||
ATTR_EXIT_DELAY_AWAY: self._system.exit_delay_away,
|
||||
@ -234,12 +232,20 @@ class SimpliSafeAlarm(SimpliSafeEntity, AlarmControlPanelEntity):
|
||||
ATTR_GSM_STRENGTH: self._system.gsm_strength,
|
||||
ATTR_LIGHT: self._system.light,
|
||||
ATTR_RF_JAMMING: self._system.rf_jamming,
|
||||
ATTR_VOICE_PROMPT_VOLUME: self._system.voice_prompt_volume.name.lower(),
|
||||
ATTR_WALL_POWER_LEVEL: self._system.wall_power_level,
|
||||
ATTR_WIFI_STRENGTH: self._system.wifi_strength,
|
||||
}
|
||||
)
|
||||
|
||||
for key, volume_prop in (
|
||||
(ATTR_ALARM_VOLUME, self._system.alarm_volume),
|
||||
(ATTR_CHIME_VOLUME, self._system.chime_volume),
|
||||
(ATTR_VOICE_PROMPT_VOLUME, self._system.voice_prompt_volume),
|
||||
):
|
||||
if not volume_prop:
|
||||
continue
|
||||
self._attr_extra_state_attributes[key] = volume_prop.name.lower()
|
||||
|
||||
self._set_state_from_system_data()
|
||||
|
||||
@callback
|
||||
|
@ -3,7 +3,7 @@
|
||||
"name": "SimpliSafe",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/simplisafe",
|
||||
"requirements": ["simplisafe-python==2022.07.1"],
|
||||
"requirements": ["simplisafe-python==2022.11.2"],
|
||||
"codeowners": ["@bachya"],
|
||||
"iot_class": "cloud_polling",
|
||||
"dhcp": [
|
||||
|
@ -2282,7 +2282,7 @@ simplehound==0.3
|
||||
simplepush==2.1.1
|
||||
|
||||
# homeassistant.components.simplisafe
|
||||
simplisafe-python==2022.07.1
|
||||
simplisafe-python==2022.11.2
|
||||
|
||||
# homeassistant.components.sisyphus
|
||||
sisyphus-control==3.1.2
|
||||
|
@ -1579,7 +1579,7 @@ simplehound==0.3
|
||||
simplepush==2.1.1
|
||||
|
||||
# homeassistant.components.simplisafe
|
||||
simplisafe-python==2022.07.1
|
||||
simplisafe-python==2022.11.2
|
||||
|
||||
# homeassistant.components.slack
|
||||
slackclient==2.5.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user