mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 08:07:45 +00:00
Import operation modes from air humidifier (#13908)
This commit is contained in:
parent
652063537b
commit
fadff1855f
@ -708,7 +708,7 @@ class XiaomiAirHumidifier(XiaomiGenericDevice):
|
||||
|
||||
def __init__(self, name, device, model, unique_id):
|
||||
"""Initialize the plug switch."""
|
||||
from miio.airpurifier import OperationMode
|
||||
from miio.airhumidifier import OperationMode
|
||||
|
||||
super().__init__(name, device, model, unique_id)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user