nelbs / mindergas-for-home-assistant Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED Custom component to scrape data from mindergas.nl
DEPRECATED Custom component to scrape data from mindergas.nl
Hello,
Is it correct that I am not able to find it in HACS?
The constant ATTRIBUTION is defined but never assigned to any of the entities
Hey,
Trying to set this up, bumping into this error:
2021-03-07 20:01:45 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up mindergas platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 200, in async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/mindergas/sensor.py", line 35, in setup_platform
add_entities([GasPrognose(username, password, name)], True)
File "/config/custom_components/mindergas/sensor.py", line 47, in init
self.update()
File "/config/custom_components/mindergas/sensor.py", line 109, in update
div = data.find_all("div", class="table_cell")[9]
IndexError: list index out of range
I only have two entries in mindergas. Maybe this has something to do with it? When I go into the site itself it also mensions this:
Prognose gasverbruik 2021
Er zijn te weinig verbruiksgegevens of het energieverbruik voor verwarming is te laag om een prognose te kunnen geven.
I guess the code needs an extra line or two.
One more thing. In the installation guide underneath Manual Installation you mention:
In the custom_components directory (folder) create a new folder called ziggonext.
I guess it shouldn't be ziggonext ;)
Thanks and keep up the good work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.