Skip to content

Commit 3469f45

Browse files
committed
v1.0.4
1 parent 087ad74 commit 3469f45

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

custom_components/growcube/coordinator.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,21 @@
1616
CheckOutletLockedGrowcubeReport,
1717
)
1818
from growcube_client import WateringModeCommand, SyncTimeCommand, PlantEndCommand, ClosePumpCommand
19-
from homeassistant.core import HomeAssistant
19+
from homeassistant.core import HomeAssistant, ServiceCall
20+
from homeassistant.exceptions import HomeAssistantError
2021
from homeassistant.const import (
2122
STATE_UNAVAILABLE,
23+
STATE_OK,
24+
STATE_PROBLEM,
25+
STATE_OPEN,
26+
STATE_CLOSED,
2227
)
2328
import logging
2429

2530
from homeassistant.helpers.device_registry import DeviceInfo
2631
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
2732

28-
from .const import DOMAIN
33+
from .const import DOMAIN, CHANNEL_NAME
2934

3035
_LOGGER = logging.getLogger(__name__)
3136

0 commit comments

Comments
 (0)