Bump Reolink_aio to 0.7.7 (#98425)

This commit is contained in:
starkillerOG 2023-08-15 10:43:19 +02:00 committed by Franck Nijhof
parent a66e308857
commit 9bbf855a7d
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
5 changed files with 8 additions and 4 deletions

View File

@ -5,6 +5,7 @@ from collections.abc import Callable
from dataclasses import dataclass
from reolink_aio.api import (
DUAL_LENS_DUAL_MOTION_MODELS,
FACE_DETECTION_TYPE,
PERSON_DETECTION_TYPE,
PET_DETECTION_TYPE,
@ -128,6 +129,9 @@ class ReolinkBinarySensorEntity(ReolinkChannelCoordinatorEntity, BinarySensorEnt
super().__init__(reolink_data, channel)
self.entity_description = entity_description
if self._host.api.model in DUAL_LENS_DUAL_MOTION_MODELS:
self._attr_name = f"{entity_description.name} lens {self._channel}"
self._attr_unique_id = (
f"{self._host.unique_id}_{self._channel}_{entity_description.key}"
)

View File

@ -18,5 +18,5 @@
"documentation": "https://www.home-assistant.io/integrations/reolink",
"iot_class": "local_push",
"loggers": ["reolink_aio"],
"requirements": ["reolink-aio==0.7.6"]
"requirements": ["reolink-aio==0.7.7"]
}

View File

@ -2278,7 +2278,7 @@ renault-api==0.1.13
renson-endura-delta==1.5.0
# homeassistant.components.reolink
reolink-aio==0.7.6
reolink-aio==0.7.7
# homeassistant.components.idteck_prox
rfk101py==0.0.1

View File

@ -1674,7 +1674,7 @@ renault-api==0.1.13
renson-endura-delta==1.5.0
# homeassistant.components.reolink
reolink-aio==0.7.6
reolink-aio==0.7.7
# homeassistant.components.rflink
rflink==0.0.65