Skip to content

Commit

Permalink
Bump deebot-client to 10.0.1 (home-assistant#133634)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus authored Dec 23, 2024
1 parent cf3d4eb commit c5fe25a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/ecovacs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/ecovacs",
"iot_class": "cloud_push",
"loggers": ["sleekxmppfs", "sucks", "deebot_client"],
"requirements": ["py-sucks==0.9.10", "deebot-client==9.4.0"]
"requirements": ["py-sucks==0.9.10", "deebot-client==10.0.1"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/ecovacs/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async def async_setup_entry(


class EcovacsNumberEntity(
EcovacsDescriptionEntity[CapabilitySet[EventT, int]],
EcovacsDescriptionEntity[CapabilitySet[EventT, [int]]],
NumberEntity,
):
"""Ecovacs number entity."""
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/ecovacs/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def async_setup_entry(


class EcovacsSelectEntity(
EcovacsDescriptionEntity[CapabilitySetTypes[EventT, str]],
EcovacsDescriptionEntity[CapabilitySetTypes[EventT, [str], str]],
SelectEntity,
):
"""Ecovacs select entity."""
Expand All @@ -77,7 +77,7 @@ class EcovacsSelectEntity(
def __init__(
self,
device: Device,
capability: CapabilitySetTypes[EventT, str],
capability: CapabilitySetTypes[EventT, [str], str],
entity_description: EcovacsSelectEntityDescription,
**kwargs: Any,
) -> None:
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/ecovacs/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async def async_added_to_hass(self) -> None:
await super().async_added_to_hass()

async def on_event(event: EnableEvent) -> None:
self._attr_is_on = event.enable
self._attr_is_on = event.enabled
self.async_write_ha_state()

self._subscribe(self._capability.event, on_event)
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ debugpy==1.8.11
# decora==0.6

# homeassistant.components.ecovacs
deebot-client==9.4.0
deebot-client==10.0.1

# homeassistant.components.ihc
# homeassistant.components.namecheapdns
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ dbus-fast==2.24.3
debugpy==1.8.11

# homeassistant.components.ecovacs
deebot-client==9.4.0
deebot-client==10.0.1

# homeassistant.components.ihc
# homeassistant.components.namecheapdns
Expand Down

0 comments on commit c5fe25a

Please sign in to comment.