Return 'None' for light attributes when off instead of removing them (#101946)
This commit is contained in:
parent
606b76c681
commit
c98c18f25e
25 changed files with 363 additions and 111 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue