diff --git a/miio/identifiers.py b/miio/identifiers.py index 2844640f1..d1bd11b50 100644 --- a/miio/identifiers.py +++ b/miio/identifiers.py @@ -30,6 +30,17 @@ class VacuumId(StandardIdentifier): Battery = "battery:level" +class FanId(StandardIdentifier): + """Standard identifiers for fans.""" + + On = "fan:on" + Oscillate = "fan:horizontal-swing" + Angle = "fan:horizontal-angle" + Speed = "fan:speed-level" + Preset = "fan:mode" + Toggle = "fan:toggle" + + class LightId(StandardIdentifier): """Standard identifiers for lights."""