1 parent
78a3c01f27
commit
384f63dd1d
23 files changed
+33
-21
No files matched your search
@@ -96,7 +96,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
class ComfoConnectSensor(Entity):
|
||||
"""Representation of a ComfoConnect sensor."""
|
||||
|
||||
def __init__(self, hass, name, ccb: ComfoConnectBridge, sensor_type):
|
||||
def __init__(self, hass, name, ccb: ComfoConnectBridge,
|
||||
sensor_type) -> None:
|
||||
"""Initialize the ComfoConnect sensor."""
|
||||
self._ccb = ccb
|
||||
self._sensor_type = sensor_type
|
||||
|
||||
@@ -57,7 +57,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
class DaikinClimateSensor(Entity):
|
||||
"""Representation of a Sensor."""
|
||||
|
||||
def __init__(self, api, monitored_state, units: UnitSystem, name=None):
|
||||
def __init__(self, api, monitored_state, units: UnitSystem,
|
||||
name=None) -> None:
|
||||
"""Initialize the sensor."""
|
||||
self._api = api
|
||||
self._sensor = SENSOR_TYPES.get(monitored_state)
|
||||
|
||||
@@ -62,7 +62,7 @@ class IHCSensor(IHCDevice, Entity):
|
||||
"""Implementation of the IHC sensor."""
|
||||
|
||||
def __init__(self, ihc_controller, name, ihc_id: int, info: bool,
|
||||
unit, product: Element=None):
|
||||
unit, product: Element=None) -> None:
|
||||
"""Initialize the IHC sensor."""
|
||||
super().__init__(ihc_controller, name, ihc_id, info, product)
|
||||
self._state = None
|
||||
|
||||
Reference in new issue
Block a user