Skip to content

Commit

Permalink
Fix water_plant
Browse files Browse the repository at this point in the history
Version 1.0.3
  • Loading branch information
bergdahl committed Nov 4, 2024
1 parent ecf3cd7 commit 7b1d169
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/growcube/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"requirements": [
"growcube-client==1.2.3"
],
"version": "1.0.2"
"version": "1.0.3"
}
2 changes: 1 addition & 1 deletion custom_components/growcube/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def async_call_delete_watering_service(service_call: ServiceCall) -> None:

async def _async_handle_water_plant(hass: HomeAssistant, data: Mapping[str, Any]) -> None:

coordinator = _get_coordinator(hass, data)
coordinator, device = _get_coordinator(hass, data)

if coordinator is None:
_LOGGER.warning(f"Unable to find coordinator for {data[ATTR_DEVICE_ID]}")
Expand Down

0 comments on commit 7b1d169

Please sign in to comment.