-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tire pressure entities unavailable even though they are provided in diagnostics #83
Comments
hmm..weird. Did these work for you before? I don't see |
Nope, never worked. I am new to the integration (and Subaru). First week or so I used the HA integration but that lacked all of the functionality I was looking for. Switched to HACS version last night and tire pressure never worked. Battery voltage and external temperature are also not working, but likely Subaru issue from what I can tell? |
Gotcha. Yeah the Subaru HA Core integration is lagging behind. I keep putting PRs in to add more features, but there's a huge backlog I guess. It looks like for your year/model they just don't provide recommended tire pressures for some reason. I'll push a fix soon to make it not break for you (i.e. you'll get last measured tire pressures for all 4 tires, but no additional attribute for the recommended tire pressures). 12V battery voltage and ext temp were unfortunately removed from the data set that the Subaru API returns. Hopefully it'll come back in the future. |
Great. Thanks for the quick fix. Much appreciated. |
v0.7.7 is released and should fix the issue for you. |
It is working now. Thanks |
Tire pressure entities are unavailable in Home Assistant. I'm also seeing the following errors in the logs that may point to a script failure during tire processing.
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 823, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 568, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 635, in _async_write_ha_state attr.update(self.extra_state_attributes or {}) File "/config/custom_components/subaru/sensor.py", line 284, in extra_state_attributes "Recommended pressure": info[ KeyError: 'FRONT_TIRES'
config_entry-subaru-1e404d34d787bf760c63ae31d7204b7a.json.txt
The text was updated successfully, but these errors were encountered: