Skip to content

Commit

Permalink
fixing devices
Browse files Browse the repository at this point in the history
  • Loading branch information
jkhalil committed Aug 23, 2023
1 parent 0c256ac commit 9866602
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions custom_components/eheim_digital/devices.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
"""EHEIM Device representation."""
from .const import (
LOGGER,
DEVICE_VERSIONS,
DEVICE_GROUPS,
FILTER_PUMP_MODES,
DEVICE_TYPES,
)
from .const import LOGGER, DEVICE_VERSIONS, DEVICE_GROUPS, FILTER_PUMP_MODES


class EheimDevice:
Expand Down Expand Up @@ -213,6 +207,7 @@ def device_group(self) -> str:

def __repr__(self):
"""String representation of the EheimDevice."""
# return f"EheimDevice(title={self._title}, name={self.name}, mac={self._mac}, device_type={self.device_type}, device_group={self.device_group})"
return f"EheimDevice(title={self._title}, name={self.name}, mac={self._mac}, aqname={self.aq_name}, mode={self.mode}, version={self._version}, language={self._language}, timezone={self._timezone}, tankid={self._tank_id}, dst={self._dst}, tankconfig={self._tank_config}, power={self._power}, netmode={self._net_mode}, host={self._host}, groupid={self._group_id}, meshing={self._meshing}, firststart={self._first_start}, remote={self._remote}, revision={self._revision}, latestavailablerevision={self._latest_available_revision}, firmwareavailable={self._firmware_available}, emailaddress={self._email_address}, livetime={self._live_time}, username={self._user_name}, unit={self._unit}, demouse={self._demo_use}, sysled={self._sys_led}, device_type={self.device_type}, device_group={self.device_group})"

def update(self, data: dict) -> None:
Expand Down

0 comments on commit 9866602

Please sign in to comment.