Skip to content

Commit

Permalink
#553 chore(zigbee): Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TWilkin committed Dec 7, 2024
1 parent 57d8912 commit eaccce4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion controllers/zigbee/zigbee_controller/device/zigbee_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@


# pylint: disable=too-many-ancestors
class ZigbeeLight(AdditionalStateDevice, PollableMixin, CapabilityMixin, ZigbeeMixin, ZigbeeOnOffMixin):
class ZigbeeLight(
AdditionalStateDevice,
PollableMixin,
CapabilityMixin,
ZigbeeMixin,
ZigbeeOnOffMixin
):
'''
Adds support for ZigBee RGB/temperature/brightness lights.
'''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from zigbee_controller.zigbee import DeviceJoinListener


# pylint: disable=too-many-ancestors
class ZigbeePairingDevice(Device, InitialisableMixin):
'''
Device to allow new devices to be paired to the ZigBee controller managed by this service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from zigbee_controller.zigbee.constants import OnOff


# pylint: disable=too-many-ancestors
class ZigbeeSocket(Device, PollableMixin, ZigbeeMixin, ZigbeeOnOffMixin):
# pylint: disable=too-many-ancestors
'''
Add support for ZigBee sockets.
'''
Expand Down

0 comments on commit eaccce4

Please sign in to comment.