diff --git a/homeassistant/helpers/entity.py b/homeassistant/helpers/entity.py index 4a967e50995d39..78db0890ab1e93 100644 --- a/homeassistant/helpers/entity.py +++ b/homeassistant/helpers/entity.py @@ -235,10 +235,10 @@ def async_update_ha_state(self, force_refresh=False): if not self._slow_reported and end - start > 0.4: self._slow_reported = True - _LOGGER.warning("Updating state for %s took %.3f seconds. " + _LOGGER.warning("Updating state for %s (%s) took %.3f seconds. " "Please report platform to the developers at " "https://goo.gl/Nvioub", self.entity_id, - end - start) + type(self), end - start) # Overwrite properties that have been set in the config file. if DATA_CUSTOMIZE in self.hass.data: