From a3d58017b4b1fe463b69a62e32fab53839799623 Mon Sep 17 00:00:00 2001 From: Nathan Spencer Date: Tue, 25 Nov 2025 16:40:41 +0000 Subject: [PATCH] Address nitpick comments --- custom_components/oasis_mini/coordinator.py | 1 + custom_components/oasis_mini/pyoasiscontrol/device.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/oasis_mini/coordinator.py b/custom_components/oasis_mini/coordinator.py index 605b9d6..6159b08 100644 --- a/custom_components/oasis_mini/coordinator.py +++ b/custom_components/oasis_mini/coordinator.py @@ -139,6 +139,7 @@ class OasisDeviceCoordinator(DataUpdateCoordinator[list[OasisDevice]]): if removed_serials: device_registry = dr.async_get(self.hass) for serial in removed_serials: + self._initialized_serials.discard(serial) _LOGGER.info( "Oasis device %s removed from account; cleaning up in HA", serial, diff --git a/custom_components/oasis_mini/pyoasiscontrol/device.py b/custom_components/oasis_mini/pyoasiscontrol/device.py index 14a78bf..260df30 100644 --- a/custom_components/oasis_mini/pyoasiscontrol/device.py +++ b/custom_components/oasis_mini/pyoasiscontrol/device.py @@ -496,7 +496,7 @@ class OasisDevice: _LOGGER.exception("Error in update listener") async def async_get_status(self) -> None: - """Request the device update it's current status.""" + """Request that the device update its current status.""" client = self._require_client() await client.async_get_status(self)