mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 20:39:01 +00:00
Add color_mode support to group light (#50165)
* Add color_mode support to group light * Lint * Update tests
This commit is contained in:
@@ -748,9 +748,9 @@ async def test_light_brightness_step(hass):
|
||||
)
|
||||
|
||||
_, data = entity0.last_call("turn_on")
|
||||
assert data["brightness"] == 126 # 100 + (255 * 0.10)
|
||||
assert data["brightness"] == 116 # 90 + (255 * 0.10)
|
||||
_, data = entity1.last_call("turn_on")
|
||||
assert data["brightness"] == 76 # 50 + (255 * 0.10)
|
||||
assert data["brightness"] == 66 # 40 + (255 * 0.10)
|
||||
|
||||
|
||||
async def test_light_brightness_pct_conversion(hass):
|
||||
|
||||
Reference in New Issue
Block a user