Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
starkillerOG authored Jun 15, 2020
1 parent baa7116 commit 8320f6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions miio/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -1311,8 +1311,6 @@ class AqaraSmartBulbE27(SubDevice):
_zigbee_model = "lumi.light.aqcn02"
_model = "ZNLDP12LM"
_name = "Smart bulb E27"
_ctt_min = 153
_ctt_max = 500

@attr.s(auto_attribs=True)
class props:
Expand All @@ -1321,8 +1319,8 @@ class props:
status: str = None # 'on' / 'off'
brightness: int = None # in %
color_temp: int = None # cct value from _ctt_min to _ctt_max
cct_min: int = self._ctt_min
cct_max: int = self._ctt_max
cct_min: int = 153
cct_max: int = 500

@command()
def update(self):
Expand Down

0 comments on commit 8320f6f

Please sign in to comment.