Skip to content

Commit

Permalink
NumberMode.AUTO
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Nov 6, 2024
1 parent d160ff2 commit 86b4736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_miot/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=


class NumberEntity(XEntity, RestoreNumber):
_attr_mode = NumberMode.BOX
_attr_mode = NumberMode.AUTO

def on_init(self):
if self._miot_property:
Expand Down

0 comments on commit 86b4736

Please sign in to comment.