Skip to content

Commit 7b1d169

Browse files
committed
Fix water_plant
Version 1.0.3
1 parent ecf3cd7 commit 7b1d169

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom_components/growcube/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"requirements": [
1111
"growcube-client==1.2.3"
1212
],
13-
"version": "1.0.2"
13+
"version": "1.0.3"
1414
}

custom_components/growcube/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async def async_call_delete_watering_service(service_call: ServiceCall) -> None:
7878

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

81-
coordinator = _get_coordinator(hass, data)
81+
coordinator, device = _get_coordinator(hass, data)
8282

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

0 commit comments

Comments
 (0)