Skip to content

Commit e8f5b77

Browse files
authored
Drop useless constructor (#101)
1 parent ba60b10 commit e8f5b77

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

switchbot/devices/bulb.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@
2525
class SwitchbotBulb(SwitchbotSequenceBaseLight):
2626
"""Representation of a Switchbot bulb."""
2727

28-
def __init__(self, *args: Any, **kwargs: Any) -> None:
29-
"""Switchbot bulb constructor."""
30-
super().__init__(*args, **kwargs)
31-
self._state: dict[str, Any] = {}
32-
3328
@property
3429
def color_modes(self) -> set[ColorMode]:
3530
"""Return the supported color modes."""

switchbot/devices/ceiling_light.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
class SwitchbotCeilingLight(SwitchbotBaseLight):
2323
"""Representation of a Switchbot bulb."""
2424

25-
def __init__(self, *args: Any, **kwargs: Any) -> None:
26-
"""Switchbot bulb constructor."""
27-
super().__init__(*args, **kwargs)
28-
self._state: dict[str, Any] = {}
29-
3025
@property
3126
def color_modes(self) -> set[ColorMode]:
3227
"""Return the supported color modes."""

switchbot/devices/light_strip.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
class SwitchbotLightStrip(SwitchbotSequenceBaseLight):
2323
"""Representation of a Switchbot light strip."""
2424

25-
def __init__(self, *args: Any, **kwargs: Any) -> None:
26-
"""Switchbot light strip constructor."""
27-
super().__init__(*args, **kwargs)
28-
self._state: dict[str, Any] = {}
29-
3025
@property
3126
def color_modes(self) -> set[ColorMode]:
3227
"""Return the supported color modes."""

0 commit comments

Comments
 (0)