We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dff1675 commit 34aeadcCopy full SHA for 34aeadc
plugwise_usb/__init__.py
@@ -94,10 +94,7 @@ def cache_enabled(self, enable: bool = True) -> None:
94
@property
95
def channel(self) -> int | None:
96
"""Zigbee channel number."""
97
- if (
98
- not self._controller.is_connected
99
- or self._network is None
100
- ):
+ if not self._controller.is_connected or self._network is None:
101
return None
102
return self._network.channel
103
0 commit comments