Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
    * custom_components/daikin_residential_altherma/sensor.py:
  • Loading branch information
jwillemsen committed Dec 11, 2023
1 parent d9f32fb commit 68825cf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/daikin_residential_altherma/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
if mode == "cooling":
icon = "mdi:snowflake"
for period in cdve[mode]:
#periods = {'d', 'w', 'm'}
#for period in periods:
# if cdvem.get(period):
_LOGGER.info("Device '%s:%s' provides mode %s %s supports period %s", device.name, embedded_id, management_point_type, mode, period)
periodName = SENSOR_PERIODS[period]
sensor = f"{device.name} {management_point_type} {mode} {periodName}"
Expand All @@ -118,7 +115,6 @@ class DaikinSensor(SensorEntity):
def __init__(self, device: Appliance, monitored_state: str, type) -> None:
"""Initialize the sensor."""
self._device = device
#self._name = f"{self._sensor[CONF_NAME]}"
self._device_attribute = monitored_state
_LOGGER.info("Device '%s' supports sensor '%s'", device.name, self._name)

Expand Down

0 comments on commit 68825cf

Please sign in to comment.