diff --git a/homeassistant/components/tuya/event.py b/homeassistant/components/tuya/event.py index b12d7dfec44..8ebd6befef8 100644 --- a/homeassistant/components/tuya/event.py +++ b/homeassistant/components/tuya/event.py @@ -8,8 +8,8 @@ from typing import Any from tuya_device_handlers.device_wrapper.base import DeviceWrapper from tuya_device_handlers.device_wrapper.common import DPCodeTypeInformationWrapper from tuya_device_handlers.device_wrapper.event import ( - Base64Utf8RawWrapper, - Base64Utf8StringWrapper, + Base64Utf8RawEventWrapper, + Base64Utf8StringEventWrapper, SimpleEventEnumWrapper, ) from tuya_sharing import CustomerDevice, Manager @@ -44,13 +44,13 @@ EVENTS: dict[DeviceCategory, tuple[TuyaEventEntityDescription, ...]] = { key=DPCode.ALARM_MESSAGE, device_class=EventDeviceClass.DOORBELL, translation_key="doorbell_message", - wrapper_class=Base64Utf8StringWrapper, + wrapper_class=Base64Utf8StringEventWrapper, ), TuyaEventEntityDescription( key=DPCode.DOORBELL_PIC, device_class=EventDeviceClass.DOORBELL, translation_key="doorbell_picture", - wrapper_class=Base64Utf8RawWrapper, + wrapper_class=Base64Utf8RawEventWrapper, ), ), DeviceCategory.WXKG: ( diff --git a/homeassistant/components/tuya/manifest.json b/homeassistant/components/tuya/manifest.json index 679f610a58b..a311f5e8e11 100644 --- a/homeassistant/components/tuya/manifest.json +++ b/homeassistant/components/tuya/manifest.json @@ -44,7 +44,7 @@ "iot_class": "cloud_push", "loggers": ["tuya_sharing"], "requirements": [ - "tuya-device-handlers==0.0.12", + "tuya-device-handlers==0.0.13", "tuya-device-sharing-sdk==0.2.8" ] } diff --git a/requirements_all.txt b/requirements_all.txt index 23647874840..bf12118fa6d 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -3139,7 +3139,7 @@ ttls==1.8.3 ttn_client==1.2.3 # homeassistant.components.tuya -tuya-device-handlers==0.0.12 +tuya-device-handlers==0.0.13 # homeassistant.components.tuya tuya-device-sharing-sdk==0.2.8 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index aed7573b51c..f59cf04fd9a 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -2642,7 +2642,7 @@ ttls==1.8.3 ttn_client==1.2.3 # homeassistant.components.tuya -tuya-device-handlers==0.0.12 +tuya-device-handlers==0.0.13 # homeassistant.components.tuya tuya-device-sharing-sdk==0.2.8