"""Constants for the lawn mower integration.""" from enum import IntFlag, StrEnum class LawnMowerActivity(StrEnum): """Activity state of lawn mower devices.""" ERROR = "error" """Device is in error state, needs assistance.""" PAUSED = "paused" """Paused during activity.""" MOWING = "mowing" """Device is mowing.""" DOCKED = "docked" """Device is docked.""" RETURNING = "returning" """Device is returning.""" class LawnMowerEntityFeature(IntFlag): """Supported features of the lawn mower entity.""" START_MOWING = 1 PAUSE = 2 DOCK = 4 DOMAIN = "lawn_mower" SERVICE_START_MOWING = "start_mowing" SERVICE_PAUSE = "pause" SERVICE_DOCK = "dock"