Skip to content

Commit

Permalink
change type from bool to None
Browse files Browse the repository at this point in the history
  • Loading branch information
jontofront committed Oct 11, 2024
1 parent fef6d09 commit be3a827
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/econet300/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def _sync_state(self, value):
async def async_set_limits_values(self):
"""Async Sync number limits."""
limits = await self.api.get_param_limits(self.entity_description.key)
alarms = await self.api.get_alarms(self)
_LOGGER.debug("Number limits retrieved: %s", limits)
if limits is None:
_LOGGER.warning(
Expand Down Expand Up @@ -145,7 +146,7 @@ async def async_setup_entry(
hass: HomeAssistant,
entry: ConfigEntry,
async_add_entities: AddEntitiesCallback,
) -> bool:
) -> None:
"""Set up the sensor platform."""

coordinator = hass.data[DOMAIN][entry.entry_id][SERVICE_COORDINATOR]
Expand Down

0 comments on commit be3a827

Please sign in to comment.