'Initialize the XiaomiDoorSensor.'

def __init__(self, device, xiaomi_hub):

    self._open_since = 0
    XiaomiBinarySensor.__init__(self, device, 'Door    Window    Sensor', xiaomi_hub, 'status', 'opening')
