(self, entity_id: str, attr: str)
return self._data[STORE_CACHE_ATTRS][entity_id].get(attr)
Return a cached value of attribute for entity.
Return a cached value of attribute for entity.
Return a cached value of attribute for entity .
def get_attr_value(self, entity_id: str, attr: str) -> Any | None:
        """Return a cached value of attribute for entity."""
        if entity_id not in self._data[STORE_CACHE_ATTRS]:
            return None

        return self._data[STORE_CACHE_ATTRS][entity_id].get(attr)
def get_attr_value ( self , entity_id : str , attr : str ) -> Any | None : if entity_id not in self . _data [ STORE_CACHE_ATTRS ] : return None return self . _data [ STORE_CACHE_ATTRS ] [ entity_id ] . get ( attr )