(self)
return {"repositories": data}
Return attributes for the sensor.
Return attributes for the sensor.
Return attributes for the sensor .
def device_state_attributes(self):
        """Return attributes for the sensor."""
        data = []
        for repository in self.repositories:
            data.append(
                {
                    "name": repository.information.full_name,
                    "installed version": repository.display_installed_version,
                    "available version": repository.display_available_version,
                }
            )
        return {"repositories": data}
def device_state_attributes ( self ) : data = [ ] for repository in self . repositories : data . append ( { "name" : repository . information . full_name , "installed version" : repository . display_installed_version , "available version" : repository . display_available_version , } ) return { "repositories" : data }