2024年11月21日星期四 下午4:41:47

DEEBOT X5 PRO to HA via ecovacs integration

5 天 前
#50772 引用
Details:
Robot Model: Recognized by the system.
Map: Working and dynamically updated.
Sensors: Most are working, except for the IP address, WiFi SSID, WiFi RSSI and Last Work.
Settings Changes: The robot receives and applies changes such as water level, clean count, true detect, and continuous cleaning.
Commands:
Working: "Find my position" is the only command that currently works.
Not Working: Start, stop, pause, and send_command do not function.
What version of Home Assistant Core has the issue?
core-2024.8.2
0
5 天 前
#50773 引用
types=(
                WaterAmount.LOW,
                WaterAmount.MEDIUM,
                WaterAmount.HIGH,
                WaterAmount.ULTRAHIGH,
            ),
0
5 天 前
#50774 引用
types=(
                FanSpeedLevel.QUIET,
                FanSpeedLevel.NORMAL,
                FanSpeedLevel.MAX,
                FanSpeedLevel.MAX_PLUS,
            ),
0
5 天 前
#50775 引用
from deebot_client.events import (
    AdvancedModeEvent,
    AvailabilityEvent,
    BatteryEvent,
    CachedMapInfoEvent,
    CarpetAutoFanBoostEvent,
    CleanCountEvent,
    CleanLogEvent,
    CleanPreferenceEvent,
    ContinuousCleaningEvent,
    CustomCommandEvent,
    ErrorEvent,
    FanSpeedEvent,
    FanSpeedLevel,
    LifeSpan,
    LifeSpanEvent,
    MajorMapEvent,
    MapChangedEvent,
    MapTraceEvent,
    MultimapStateEvent,
    NetworkInfoEvent,
    PositionsEvent,
    ReportStatsEvent,
    RoomsEvent,
    StateEvent,
    StatsEvent,
    TotalStatsEvent,
    TrueDetectEvent,
    VolumeEvent,
    WaterAmount,
    WaterInfoEvent,
)
0
5 天 前
#50776 引用
class State(IntEnum):
    """State representation."""

    IDLE = 1
    CLEANING = 2
    RETURNING = 3
    DOCKED = 4
    ERROR = 5
    PAUSED = 6
0
5 天 前
#50777 引用
class CleanAction(StrEnum):
    """Enum class for all possible clean actions."""

    START = "start"
    PAUSE = "pause"
    RESUME = "resume"
    STOP = "stop"
0
5 天 前
#50778 引用
class CleanMode(StrEnum):
    """Enum class for all possible clean modes."""

    AUTO = "auto"
    SPOT_AREA = "spotArea"
    CUSTOM_AREA = "customArea"
0
5 天 前
#50779 引用
COUNTRY_CHINA = "CN"
0
5 天 前
#50780 引用
from .events import (
    MajorMapEvent,
    MapSetEvent,
    MapSetType,
    MapSubsetEvent,
    MapTraceEvent,
    MinorMapEvent,
    Position,
    PositionsEvent,
    PositionType,
    RoomsEvent,
0
5 天 前
#50781 引用
class State(IntEnum):
    """State representation."""

    IDLE = 1
    CLEANING = 2
    RETURNING = 3
    DOCKED = 4
    ERROR = 5
    PAUSED = 6
0