diff --git a/custom_components/dyson_local/humidifier.py b/custom_components/dyson_local/humidifier.py index e464cb6..1d26d24 100644 --- a/custom_components/dyson_local/humidifier.py +++ b/custom_components/dyson_local/humidifier.py @@ -5,7 +5,7 @@ from .vendor.libdyson import MessageType from homeassistant.components.humidifier import ( - DEVICE_CLASS_HUMIDIFIER, + HumidifierDeviceClass, HumidifierEntityFeature, HumidifierEntity, ) @@ -36,7 +36,7 @@ class DysonHumidifierEntity(DysonEntity, HumidifierEntity): _MESSAGE_TYPE = MessageType.STATE - _attr_device_class = DEVICE_CLASS_HUMIDIFIER + _attr_device_class = HumidifierDeviceClass.HUMIDIFIER _attr_available_modes = AVAILABLE_MODES _attr_max_humidity = 70 _attr_min_humidity = 30 diff --git a/custom_components/dyson_local/manifest.json b/custom_components/dyson_local/manifest.json index 26186b6..31e5e92 100644 --- a/custom_components/dyson_local/manifest.json +++ b/custom_components/dyson_local/manifest.json @@ -8,5 +8,5 @@ "iot_class": "local_push", "issue_tracker": "https://github.com/libdyson-wg/ha-dyson/issues", "requirements": ["paho-mqtt"], - "version": "1.3.9" + "version": "1.3.10" }