Closed scooper1 closed 2 years ago
The same error (new installation): Traceback (most recent call last): File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 383, in async_add_entities await asyncio.gather(*tasks) File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 588, in _async_add_entity await entity.add_to_platform_finish() File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 615, in add_to_platform_finish self.async_write_ha_state() File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 368, in async_write_ha_state self._async_write_ha_state() File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 409, in _async_write_ha_state extra_state_attributes = self.device_state_attributes File "/home/homeassistant/.homeassistant/custom_components/google_fit/sensor.py", line 247, in device_state_attributes return self._attributes AttributeError: 'GoogleFitWeightSensor' object has no attribute '_attributes'
I will have a look
After a few days the problem disappeared.
I am having the same issue.
Just added this integration tonight and experiencing the same error.
Stale issue, please update to latest version and (re)open ticket if needed.
i was using your integration from about a year ago - because hacs lost the custom directory i think i re-added the integration and this updated it and has broken please advise on how to fix