Skip to content

Commit fa77bf7

Browse files
committed
Fix _LOGGER
1 parent 2bea66d commit fa77bf7

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

custom_components/plugwise_usb/binary_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def async_add_binary_sensor(node_event: NodeEvent, mac: str) -> None:
8181
if entity_description.node_feature not in node_duc.node.features:
8282
continue
8383
entities.append(PlugwiseUSBBinarySensor(node_duc, entity_description))
84-
LOGGER.debug(
84+
_LOGGER.debug(
8585
"Add %s binary sensor for node %s",
8686
entity_description.translation_key,
8787
node_duc.node.name,

custom_components/plugwise_usb/button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async def async_add_button(node_event: NodeEvent, mac: str) -> None:
8080
if entity_description.node_feature not in node_duc.node.features:
8181
continue
8282
entities.append(PlugwiseUSBButtonEntity(node_duc, entity_description))
83-
LOGGER.debug(
83+
_LOGGER.debug(
8484
"Add %s button for node %s",
8585
entity_description.translation_key,
8686
node_duc.node.name,

custom_components/plugwise_usb/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async def async_add_event(node_event: NodeEvent, mac: str) -> None:
8787
if entity_description.node_feature not in node_duc.node.features:
8888
continue
8989
entities.append(PlugwiseUSBEventEntity(node_duc, entity_description))
90-
LOGGER.debug(
90+
_LOGGER.debug(
9191
"Add %s event for node %s",
9292
entity_description.translation_key,
9393
node_duc.node.name,

custom_components/plugwise_usb/number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ async def async_add_number(node_event: NodeEvent, mac: str) -> None:
117117
if entity_description.node_feature not in node_duc.node.features:
118118
continue
119119
entities.append(PlugwiseUSBNumberEntity(node_duc, entity_description))
120-
LOGGER.debug(
120+
_LOGGER.debug(
121121
"Add %s number for node %s",
122122
entity_description.translation_key,
123123
node_duc.node.name,

custom_components/plugwise_usb/select.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async def async_add_select(node_event: NodeEvent, mac: str) -> None:
6161
if entity_description.node_feature not in node_duc.node.features:
6262
continue
6363
entities.append(PlugwiseUSBSelectEntity(node_duc, entity_description))
64-
LOGGER.debug(
64+
_LOGGER.debug(
6565
"Add %s select for node %s",
6666
entity_description.translation_key,
6767
node_duc.node.name,

custom_components/plugwise_usb/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ async def async_add_sensor(node_event: NodeEvent, mac: str) -> None:
181181
if entity_description.node_feature not in node_duc.node.features:
182182
continue
183183
entities.append(PlugwiseUSBSensorEntity(node_duc, entity_description))
184-
LOGGER.debug(
184+
_LOGGER.debug(
185185
"Add %s sensor for node %s",
186186
entity_description.translation_key,
187187
node_duc.node.name,

custom_components/plugwise_usb/switch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async def async_add_switch(node_event: NodeEvent, mac: str) -> None:
9090
if entity_description.node_feature not in node_duc.node.features:
9191
continue
9292
entities.append(PlugwiseUSBSwitchEntity(node_duc, entity_description))
93-
LOGGER.debug(
93+
_LOGGER.debug(
9494
"Add %s switch for node %s",
9595
entity_description.translation_key,
9696
node_duc.node.name,

0 commit comments

Comments
 (0)