def _collect_state(hass: HomeAssistant, entity_id: str) -> None:
    entity_collect = hass.data.get(_RENDER_INFO)
    if (entity_collect is not None):
        entity_collect.entities.add(entity_id)
def _collect_state(hass: HomeAssistant, entity_id: str) -> None:
    entity_collect = hass.data.get(_RENDER_INFO)
    if (entity_collect is not None):
        entity_collect.entities.add(entity_id)