from enum import IntFlag


class FritzhomeDeviceFeatures(IntFlag):
    ALARM = 0x0010
    UNKNOWN = 0x0020
    BUTTON = 0x0020
    THERMOSTAT = 0x0040
    POWER_METER = 0x0080
    TEMPERATURE = 0x0100
    SWITCH = 0x0200
    DECT_REPEATER = 0x0400
    MICROPHONE = 0x0800
    HANFUN = 0x2000
    SWITCHABLE = 0x8000
    DIMMABLE = 0x10000
    LIGHTBULB = 0x20000
