def _collect_all(self) -> None:
    render_info = self._hass.data.get(_RENDER_INFO)
    if (render_info is not None):
        render_info.all_states = True
def _collect_all(self) -> None:
    render_info = self._hass.data.get(_RENDER_INFO)
    if (render_info is not None):
        render_info.all_states = True