mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Import operation modes from air humidifier (#13908)
This commit is contained in:
parent
2bff03836b
commit
2f26b0084f
@ -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