Comments (6)
Can you please check your Home Assistant log and let me know if you have any errors from the fordpass Integration
from fordpass-ha.
Yes I am. My car (I guess) doesn't support GPS?
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
sstate = self.state
File "/config/custom_components/fordpass/sensor.py", line 199, in state
return self.get_value("state")
File "/config/custom_components/fordpass/sensor.py", line 51, in get_value
return self.coordinator.data[self.sensor]["gpsState"]
TypeError: 'NoneType' object is not subscriptable
from fordpass-ha.
Also device tracker
Error adding entities for domain device_tracker with platform fordpass
Error while setting up fordpass platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
sstate = self.state
File "/usr/src/homeassistant/homeassistant/components/device_tracker/config_entry.py", line 103, in state
if self.latitude is not None:
File "/config/custom_components/fordpass/device_tracker.py", line 28, in latitude
return float(self.coordinator.data[self.sensor]["latitude"])
TypeError: 'NoneType' object is not subscriptable
from fordpass-ha.
Looks like it. Will add in a check to mark the sensor as unavailable in the next release.
from fordpass-ha.
I have fixed the two above errors so it now checks to see if your car supports GPS before adding the tracker entity. Let me know if this doesn't fix the odometer issue but hoping now the tracker issue is resolved the script should be fine.
from fordpass-ha.
This solved it! Thanks
from fordpass-ha.
Related Issues (20)
- Warning from Temp Sensor Ford Focus HOT 1
- Unable to refresh vehicle status with specific VIN
- Getting error showing truck image
- PHEV Battery percentage HOT 2
- Fail Setup Error
- BEV - DC Fast Charging kW Not Appearing HOT 12
- Vin not found for given account
- Anyone else got things reset today? HOT 3
- Ford blocking my access for this intergration HOT 2
- Fordpass returning 403 for login today? HOT 1
- Can't login: 403 Client Error: Forbidden for url: https://login.ford.com HOT 223
- Authentication error after HA Update HOT 12
- SyntaxWarning on regex in 1.68 release HOT 1
- can't refresh, service is not there anymore HOT 2
- 401 Client Error: Unauthorized for url HOT 10
- 403 Client Error: Forbidden for url (Redirecting U.S. sign-ins to Australia?) HOT 13
- 403 Client Error: Forbidden for url: https://login.ford.com.au/ HOT 2
- Failed setup, will retry Issue HOT 4
- sensor.fordpass_fuel Does not update anymore HOT 2
- Creditals not working after reinstalling integration HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fordpass-ha.