GithubHelp home page GithubHelp logo

mindergas-for-home-assistant's People

Contributors

dynasticorpheus avatar ernst79 avatar nelbs avatar squixx avatar xerox1988 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

xerox1988

mindergas-for-home-assistant's Issues

No attribution

The constant ATTRIBUTION is defined but never assigned to any of the entities

Error while setting up mindergas platform

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.