Comments (10)
Ignore me. I’m dumb. The sensor exists I just didn’t see it listed under the integration so it confused me, but when I search entities I see it.
from hass-fpl.
are u using the last version ?
from hass-fpl.
I downloaded it on Saturday Feb 8th.
from hass-fpl.
I removed my integration and deleted the files in my custom_components and then reinstalled through HACS today. Setting up the integration was successful, but still get this same error.
Log Details (ERROR)
Tue Feb 11 2020 14:10:05 GMT-0500 (Eastern Standard Time)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 424, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
state = self.state
File "/config/custom_components/fpl/sensor.py", line 66, in state
return self._data["bill_to_date"]
TypeError: 'NoneType' object is not subscriptable
from hass-fpl.
is your account a "Time of Use" one ?
sorry for the inconvenient, but fpl doesn't provide a public api so am trying to reverse engineering this.
from hass-fpl.
I completely understand the reverse engineering no problem. I hope I can help.
I am not sure how to know if I am "time of use", but I am enrolled in net metering because I have solar panels.
from hass-fpl.
I'm sorry @boblisky but i cannot figure out what's going on, i don't have enough data to test
from hass-fpl.
I had a similar issue but I'm not seeing anything in the logs. I was able to test out your code locally by cloning the repo and was able to make the API calls successfully, which makes me think it has something to do with the sensor integration.
Do you know if the fact that my local instance does not have SSL may be causing an issue with the requests?
from hass-fpl.
I dont think so, i dont have SSL neither.
from hass-fpl.
The sensor is now listed in the integration view, please test it.
from hass-fpl.
Related Issues (20)
- Recent Update Broke Integration in HACS HOT 12
- Card question HOT 2
- Latest commits cause error in DailyUsageSensor
- Feature - configure update interval
- State class of this entity " is not supported HOT 2
- Energy stats are collected/saved twice in a day HOT 1
- Unable to add Integration (no territory available) HOT 15
- Entity Name and Value UX
- Setup HOT 10
- no terrytory issues when setting up integration HOT 8
- Missing details in the readme file for HACS usage HOT 4
- Minor - Setting last_reset for entities with state_class other than 'total' is not supported.
- Minor logging issue - "Getting appliance usage data" is used twice HOT 2
- Invalid password but it's not HOT 2
- Current kWh cost HOT 2
- DEBT does not exist
- Integration uses deprecated constants HOT 2
- Daily Delivered and Daily Received not able to be set in Energy Grid HOT 9
- Timeout when calling self.session.post/get
- Hourly data not available
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 hass-fpl.