From 1e704c4abe0b5c19109ce0fff05a5252dbd91dbd Mon Sep 17 00:00:00 2001 From: RenierM26 <66512715+RenierM26@users.noreply.github.com> Date: Fri, 14 Jul 2023 19:27:41 +0200 Subject: [PATCH] Address Ezviz select entity late review (#96525) * Ezviz Select Entity * Update IR description --- homeassistant/components/ezviz/select.py | 4 ++-- homeassistant/components/ezviz/strings.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/ezviz/select.py b/homeassistant/components/ezviz/select.py index 0f6a52ef578..ef1dd785392 100644 --- a/homeassistant/components/ezviz/select.py +++ b/homeassistant/components/ezviz/select.py @@ -53,14 +53,14 @@ async def async_setup_entry( ] async_add_entities( - EzvizSensor(coordinator, camera) + EzvizSelect(coordinator, camera) for camera in coordinator.data for switch in coordinator.data[camera]["switches"] if switch == SELECT_TYPE.supported_switch ) -class EzvizSensor(EzvizEntity, SelectEntity): +class EzvizSelect(EzvizEntity, SelectEntity): """Representation of a EZVIZ select entity.""" _attr_has_entity_name = True diff --git a/homeassistant/components/ezviz/strings.json b/homeassistant/components/ezviz/strings.json index 1b244182059..f3e76c67480 100644 --- a/homeassistant/components/ezviz/strings.json +++ b/homeassistant/components/ezviz/strings.json @@ -77,7 +77,7 @@ "step": { "confirm": { "title": "[%key:component::ezviz::issues::service_deprecation_alarm_sound_level::title%]", - "description": "Ezviz Alarm sound level service is deprecated and will be removed in Home Assistant 2024.2.\nTo set the Alarm sound level, you can instead use the `select.select_option` service targetting the Warning sound entity.\n\nPlease remove the use of this service from your automations and scripts and select **submit** to close this issue." + "description": "Ezviz Alarm sound level service is deprecated and will be removed.\nTo set the Alarm sound level, you can instead use the `select.select_option` service targetting the Warning sound entity.\n\nPlease remove the use of this service from your automations and scripts and select **submit** to close this issue." } } }