Fix yeelight inheritance order (#26706)

pull/26736/head
zewelor 2019-09-18 19:07:07 +02:00 committed by Paulus Schoutsen
parent 9cd5c5471d
commit ce42b46ccd
1 changed files with 2 additions and 2 deletions

View File

@ -822,7 +822,7 @@ class YeelightWhiteTempLightsupport:
class YeelightWhiteTempWithoutNightlightSwitch(
YeelightGenericLight, YeelightWhiteTempLightsupport
YeelightWhiteTempLightsupport, YeelightGenericLight
):
"""White temp light, when nightlight switch is not set to light."""
@ -831,7 +831,7 @@ class YeelightWhiteTempWithoutNightlightSwitch(
return "current_brightness"
class YeelightWithNightLight(YeelightGenericLight, YeelightWhiteTempLightsupport):
class YeelightWithNightLight(YeelightWhiteTempLightsupport, YeelightGenericLight):
"""Representation of a Yeelight with nightlight support.
It represents case when nightlight switch is set to light.