mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Bump aioskybell to 22.6.0 (#73073)
* Bump aioskybell to 22.6.0 * uno mas
This commit is contained in:
parent
b1073fb362
commit
58d4ea0db9
@ -1,6 +1,8 @@
|
|||||||
"""Binary sensor support for the Skybell HD Doorbell."""
|
"""Binary sensor support for the Skybell HD Doorbell."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
from aioskybell.helpers import const as CONST
|
from aioskybell.helpers import const as CONST
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
@ -68,7 +70,9 @@ class SkybellBinarySensor(SkybellEntity, BinarySensorEntity):
|
|||||||
self._event: dict[str, str] = {}
|
self._event: dict[str, str] = {}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def extra_state_attributes(self) -> dict[str, str | int | tuple[str, str]]:
|
def extra_state_attributes(
|
||||||
|
self,
|
||||||
|
) -> dict[str, str | int | datetime | tuple[str, str]]:
|
||||||
"""Return the state attributes."""
|
"""Return the state attributes."""
|
||||||
attrs = super().extra_state_attributes
|
attrs = super().extra_state_attributes
|
||||||
if event := self._event.get(CONST.CREATED_AT):
|
if event := self._event.get(CONST.CREATED_AT):
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
"""Entity representing a Skybell HD Doorbell."""
|
"""Entity representing a Skybell HD Doorbell."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
from aioskybell import SkybellDevice
|
from aioskybell import SkybellDevice
|
||||||
|
|
||||||
from homeassistant.const import ATTR_CONNECTIONS
|
from homeassistant.const import ATTR_CONNECTIONS
|
||||||
@ -44,9 +46,11 @@ class SkybellEntity(CoordinatorEntity[SkybellDataUpdateCoordinator]):
|
|||||||
return self.coordinator.device
|
return self.coordinator.device
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def extra_state_attributes(self) -> dict[str, str | int | tuple[str, str]]:
|
def extra_state_attributes(
|
||||||
|
self,
|
||||||
|
) -> dict[str, str | int | datetime | tuple[str, str]]:
|
||||||
"""Return the state attributes."""
|
"""Return the state attributes."""
|
||||||
attr: dict[str, str | int | tuple[str, str]] = {
|
attr: dict[str, str | int | datetime | tuple[str, str]] = {
|
||||||
"device_id": self._device.device_id,
|
"device_id": self._device.device_id,
|
||||||
"status": self._device.status,
|
"status": self._device.status,
|
||||||
"location": self._device.location,
|
"location": self._device.location,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "SkyBell",
|
"name": "SkyBell",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/skybell",
|
"documentation": "https://www.home-assistant.io/integrations/skybell",
|
||||||
"requirements": ["aioskybell==22.3.0"],
|
"requirements": ["aioskybell==22.6.0"],
|
||||||
"codeowners": ["@tkdrob"],
|
"codeowners": ["@tkdrob"],
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["aioskybell"]
|
"loggers": ["aioskybell"]
|
||||||
|
@ -241,7 +241,7 @@ aiosenz==1.0.0
|
|||||||
aioshelly==2.0.0
|
aioshelly==2.0.0
|
||||||
|
|
||||||
# homeassistant.components.skybell
|
# homeassistant.components.skybell
|
||||||
aioskybell==22.3.0
|
aioskybell==22.6.0
|
||||||
|
|
||||||
# homeassistant.components.slimproto
|
# homeassistant.components.slimproto
|
||||||
aioslimproto==2.0.1
|
aioslimproto==2.0.1
|
||||||
|
@ -210,7 +210,7 @@ aiosenz==1.0.0
|
|||||||
aioshelly==2.0.0
|
aioshelly==2.0.0
|
||||||
|
|
||||||
# homeassistant.components.skybell
|
# homeassistant.components.skybell
|
||||||
aioskybell==22.3.0
|
aioskybell==22.6.0
|
||||||
|
|
||||||
# homeassistant.components.slimproto
|
# homeassistant.components.slimproto
|
||||||
aioslimproto==2.0.1
|
aioslimproto==2.0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user