Skip to content

Commit

Permalink
removes deprecated DEVICE_CLASS_HUMIDIFIER (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotvezz authored Jan 21, 2024
1 parent 2371ac9 commit faa2b8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions custom_components/dyson_local/humidifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .vendor.libdyson import MessageType

from homeassistant.components.humidifier import (
DEVICE_CLASS_HUMIDIFIER,
HumidifierDeviceClass,
HumidifierEntityFeature,
HumidifierEntity,
)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion custom_components/dyson_local/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit faa2b8b

Please sign in to comment.