Hello, running into a bit of a problem trying to list out an attribute with auto entities. I'm using adaptive lighting https://github.com/basnijholt/adaptive-lighting
and one of the attributes it lists is manual_control which will tell you if a light is not set to automatically adjust based on time of day. I'm trying to populate a list of entities that have the attribute set but I can't seem to figure out how to get it to display.
If I go into the templates section of developer tools and run the following:
{{ state_attr('switch.adaptive_lighting_office_lamp', 'manual_control') }}
It returns
[
"light.office_floor_lamp_light"
]
If I go right into the states page of the developer tools and look at that entity it is listed like this
manual_control: light.office_floor_lamp_light
I've tried a ton of combinations, and the only one that I was able to get to return anything was the following:
which will do what I want, but I'd like to be able to filter it a little bit better. If my filter is
manual_control: $$light* or manual_control: $$[*light* nothing shows up, so I can't tell what it's actually looking for. Does it want the brackets, or no? If so how would I handle an attribute that returns an array like that? In the end I just want it to display a result if the manual_control attribute is not empty.
Hello, running into a bit of a problem trying to list out an attribute with auto entities. I'm using adaptive lighting https://github.com/basnijholt/adaptive-lighting and one of the attributes it lists is manual_control which will tell you if a light is not set to automatically adjust based on time of day. I'm trying to populate a list of entities that have the attribute set but I can't seem to figure out how to get it to display.
If I go into the templates section of developer tools and run the following:
{{ state_attr('switch.adaptive_lighting_office_lamp', 'manual_control') }}
It returns
If I go right into the states page of the developer tools and look at that entity it is listed like this
manual_control: light.office_floor_lamp_light
I've tried a ton of combinations, and the only one that I was able to get to return anything was the following:
which will do what I want, but I'd like to be able to filter it a little bit better. If my filter is
manual_control: $$light*
ormanual_control: $$[*light*
nothing shows up, so I can't tell what it's actually looking for. Does it want the brackets, or no? If so how would I handle an attribute that returns an array like that? In the end I just want it to display a result if the manual_control attribute is not empty.