Hey guys. I’m working on moving my project over to an integration. Presently, I have all of the custom sensors I use in a HA group. One of the needs I have is to match a group member’s browser id attribute to the browser id on the device itself. I am able to do that like this:
var_assistsat_entity: |-
[[[
try {
return hass.states['group.viewassist'].attributes.entity_id
.find((eid) => hass.states[eid].attributes.browser_id === localStorage.getItem("browser_mod-browser-id")) ?? variables.default_satellite;
} catch { return ""}
]]]
I am trying to find a way to search devices that are members of the integration domain ‘view_assist’ . Can anyone tell me how to modify the above to accomplish this? I would like to no longer need to have these in a group.