mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Add hide attribute support to attribute selector (#77072)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
@@ -458,6 +458,11 @@ def test_select_selector_schema_error(schema):
|
||||
("friendly_name", "device_class"),
|
||||
(None,),
|
||||
),
|
||||
(
|
||||
{"entity_id": "sensor.abc", "hide_attributes": ["friendly_name"]},
|
||||
("device_class", "state_class"),
|
||||
(None,),
|
||||
),
|
||||
),
|
||||
)
|
||||
def test_attribute_selector_schema(schema, valid_selections, invalid_selections):
|
||||
|
||||
Reference in New Issue
Block a user