Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jontofront committed Oct 9, 2024
1 parent aa6139b commit 5706fce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/econet300/binary_sensor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Econet binary sensor."""

from dataclasses import dataclass
import logging

from homeassistant.components.binary_sensor import (
Expand All @@ -27,7 +26,6 @@
_LOGGER = logging.getLogger(__name__)


@dataclass
class EconetBinarySensorEntityDescription(BinarySensorEntityDescription):
"""Describes Econet binary sensor entity."""

Expand All @@ -50,7 +48,7 @@ def __init__(
self.entity_description = entity_description
self.api = api
self._attr_is_on = None
super().__init__(coordinator)
super().__init__(coordinator, api, entity_description)
_LOGGER.debug(
"EconetBinarySensor initialized with unique_id: %s, entity_description: %s",
self.unique_id,
Expand Down

0 comments on commit 5706fce

Please sign in to comment.