From 504d77eb350723c458eefcff45f809e238f233c3 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Tue, 11 Mar 2025 21:58:19 +0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: AbĂ­lio Costa --- homeassistant/components/reolink/binary_sensor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/reolink/binary_sensor.py b/homeassistant/components/reolink/binary_sensor.py index 39b2bead222..8c06d99d757 100644 --- a/homeassistant/components/reolink/binary_sensor.py +++ b/homeassistant/components/reolink/binary_sensor.py @@ -46,11 +46,11 @@ class ReolinkBinarySensorEntityDescription( @dataclass(frozen=True, kw_only=True) -class ReolinkSmartBinarySensorEntityDescription( +class ReolinkSmartAIBinarySensorEntityDescription( BinarySensorEntityDescription, ReolinkEntityDescription, ): - """A class that describes smart binary sensor entities.""" + """A class that describes Smart AI binary sensor entities.""" ai_type: str = "" value: Callable[[Host, int, int], bool] @@ -137,7 +137,7 @@ BINARY_SENSORS = ( ), ) -BINARY_SMART_SENSORS = ( +BINARY_SMART_AI_SENSORS = ( ReolinkSmartBinarySensorEntityDescription( key="crossline", ai_type="people",