mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 14:30:22 +00:00
Return 'None' for light attributes when off instead of removing them (#101946)
This commit is contained in:
@@ -270,6 +270,11 @@ async def test_config_entry(
|
||||
"friendly_name": "Koogeek-LS1-20833F Light Strip",
|
||||
"supported_color_modes": ["hs"],
|
||||
"supported_features": 0,
|
||||
"brightness": None,
|
||||
"color_mode": None,
|
||||
"hs_color": None,
|
||||
"rgb_color": None,
|
||||
"xy_color": None,
|
||||
},
|
||||
"entity_id": "light.koogeek_ls1_20833f_light_strip",
|
||||
"last_changed": ANY,
|
||||
@@ -541,6 +546,11 @@ async def test_device(
|
||||
"friendly_name": "Koogeek-LS1-20833F Light Strip",
|
||||
"supported_color_modes": ["hs"],
|
||||
"supported_features": 0,
|
||||
"brightness": None,
|
||||
"color_mode": None,
|
||||
"hs_color": None,
|
||||
"rgb_color": None,
|
||||
"xy_color": None,
|
||||
},
|
||||
"entity_id": "light.koogeek_ls1_20833f_light_strip",
|
||||
"last_changed": ANY,
|
||||
|
||||
Reference in New Issue
Block a user