Skip to content

Commit

Permalink
Rename flo coordinator module (home-assistant#117438)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored May 14, 2024
1 parent eca67eb commit 3f4fd41
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/flo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from homeassistant.helpers.aiohttp_client import async_get_clientsession

from .const import CLIENT, DOMAIN
from .device import FloDeviceDataUpdateCoordinator
from .coordinator import FloDeviceDataUpdateCoordinator

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/flo/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from .const import DOMAIN as FLO_DOMAIN
from .device import FloDeviceDataUpdateCoordinator
from .coordinator import FloDeviceDataUpdateCoordinator
from .entity import FloEntity


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from .const import DOMAIN as FLO_DOMAIN, LOGGER


class FloDeviceDataUpdateCoordinator(DataUpdateCoordinator): # pylint: disable=hass-enforce-coordinator-module
class FloDeviceDataUpdateCoordinator(DataUpdateCoordinator):
"""Flo device object."""

_failure_count: int = 0
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/flo/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from homeassistant.helpers.entity import Entity

from .const import DOMAIN as FLO_DOMAIN
from .device import FloDeviceDataUpdateCoordinator
from .coordinator import FloDeviceDataUpdateCoordinator


class FloEntity(Entity):
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/flo/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from .const import DOMAIN as FLO_DOMAIN
from .device import FloDeviceDataUpdateCoordinator
from .coordinator import FloDeviceDataUpdateCoordinator
from .entity import FloEntity


Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/flo/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from .const import DOMAIN as FLO_DOMAIN
from .device import FloDeviceDataUpdateCoordinator
from .coordinator import FloDeviceDataUpdateCoordinator
from .entity import FloEntity

ATTR_REVERT_TO_MODE = "revert_to_mode"
Expand Down
2 changes: 1 addition & 1 deletion tests/components/flo/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from freezegun.api import FrozenDateTimeFactory

from homeassistant.components.flo.const import DOMAIN as FLO_DOMAIN
from homeassistant.components.flo.device import FloDeviceDataUpdateCoordinator
from homeassistant.components.flo.coordinator import FloDeviceDataUpdateCoordinator
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, STATE_UNAVAILABLE
from homeassistant.core import HomeAssistant
from homeassistant.setup import async_setup_component
Expand Down

0 comments on commit 3f4fd41

Please sign in to comment.