Simplify color mode logic in Tuya light (#110327)
* Simplify color mode logic in Tuya light * Remove exclusion from LightEntity.__should_report_light_issue * Fix test
This commit is contained in:
parent
c8f39911cc
commit
770e48d512
3 changed files with 20 additions and 15 deletions
|
@ -2791,7 +2791,7 @@ def test_report_invalid_color_mode(
|
|||
(
|
||||
light.ColorMode.ONOFF,
|
||||
{light.ColorMode.ONOFF, light.ColorMode.BRIGHTNESS},
|
||||
"tuya", # We don't log issues for tuya
|
||||
"philips_js", # We don't log issues for philips_js
|
||||
False,
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue