diff --git a/custom_components/growcube/manifest.json b/custom_components/growcube/manifest.json index 3c33e6b..c50c988 100644 --- a/custom_components/growcube/manifest.json +++ b/custom_components/growcube/manifest.json @@ -10,5 +10,5 @@ "requirements": [ "growcube-client==1.2.3" ], - "version": "1.0.2" + "version": "1.0.3" } diff --git a/custom_components/growcube/services.py b/custom_components/growcube/services.py index f43c20b..9d54ef0 100644 --- a/custom_components/growcube/services.py +++ b/custom_components/growcube/services.py @@ -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]}")