1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-28 12:43:44 +01:00

Add support for white to light groups (#55082)

This commit is contained in:
Erik Montnemery
2021-08-23 18:29:44 +02:00
committed by GitHub
parent 21806115ee
commit ee3e27c82a
3 changed files with 62 additions and 0 deletions

View File

@@ -66,3 +66,5 @@ class MockLight(MockToggleEntity, LightEntity):
"white_value",
]:
setattr(self, key, value)
if key == "white":
setattr(self, "brightness", value)