DNDMixin

class meross_iot.controller.mixins.dnd.SystemDndMixin
async async_get_dnd_mode(timeout: float | None = None, *args, **kwargs) DNDMode

Polls the device and retrieves its DO-NOT-DISTURB mode. This method will actually refresh the cached DNDMode by issuing a MQTT message to the broker. You should avoid using this method when not strictly needed and rely on the cached DNDMode available via get_dnd_mode(). :param timeout: :param args: :param kwargs: :return:

async set_dnd_mode(mode: DNDMode, timeout: float | None = None, *args, **kwargs) None

Controls the DND Mode setting on this device. When “Do not disturb” mode is enabled, the device will turn off its ambient led. :param mode: :param timeout: :param args: :param kwargs: :return: