miio.integrations.lumi.gateway.alarm module
Xiaomi Gateway Alarm implementation.
- class miio.integrations.lumi.gateway.alarm.Alarm(parent: Gateway | None = None)[source]
Bases:
GatewayDevice
Class representing the Xiaomi Gateway Alarm.
- arming_time() int [source]
Return time in seconds the alarm stays ‘oning’ before transitioning to ‘on’.
- set_triggering_light(seconds)[source]
Set the time the gateway light blinks when the alarm is triggerd.
- set_triggering_time(seconds)[source]
Set the time in seconds the alarm is going off when triggered.