Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adobrotvorskiy authored Nov 16, 2024
1 parent 6858f18 commit 451db67
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/dahua/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,6 @@ def get_event_list(self) -> list:

def is_infrared_light_on(self) -> bool:
""" returns true if the infrared light is on """
_LOGGER.info("is_infrared_on_channel=%s", self._channel)
# _LOGGER.info("infrared_state=%s", self.data.get("table.Lighting[{0}][0].Mode".format(self._channel),""))
return self.data.get("table.Lighting[{0}][0].Mode".format(self._channel),"") == "Manual"

def get_infrared_brightness(self) -> int:
Expand Down

0 comments on commit 451db67

Please sign in to comment.