Skip to content

Commit

Permalink
Philips: use self.debug instead of LOGGER.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fholzer committed Aug 27, 2023
1 parent e28fef8 commit 3f1bb74
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions zhaquirks/philips/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

PHILIPS = "Philips"
SIGNIFY = "Signify Netherlands B.V."
_LOGGER = logging.getLogger(__name__)

HUE_REMOTE_DEVICE_TRIGGERS = {
(SHORT_PRESS, TURN_ON): {COMMAND: "on_press"},
Expand Down Expand Up @@ -166,7 +165,7 @@ def handle_cluster_request(
] = None,
):
"""Handle the cluster command."""
_LOGGER.debug(
self.debug(
"%s - handle_cluster_request tsn: [%s] command id: %s - args: [%s]",
self.__class__.__name__,
hdr.tsn,
Expand All @@ -187,7 +186,7 @@ def handle_cluster_request(
}

def send_press_event(click_count):
_LOGGER.debug(
self.debug(
"%s - send_press_event click_count: [%s]",
self.__class__.__name__,
click_count,
Expand Down

0 comments on commit 3f1bb74

Please sign in to comment.