Giter Site home page Giter Site logo

Comments (11)

tslpre avatar tslpre commented on July 22, 2024 1

I think that this issue is being worked in #9 as the gas sensors have not been created yet. You probably just need to wait a bit longer until the new version comes out, but I will leave the final comment to @bzzoiro

from repsolluzygas.

tslpre avatar tslpre commented on July 22, 2024

Hello! Both username and password do not need brackets. However, your error message indicates an incorrect installation or configuration.
Can you post the relevant configuration for this component and a list of the files in the /config/custom_components/repsolluzygas folder?
Finally, did you install it by manually copying the folder under custom_components and rebooted or through HACS?

from repsolluzygas.

makutene avatar makutene commented on July 22, 2024

I just copied the folder of your repo into /config/custom_components and added a sensor in HA as you explained

from repsolluzygas.

tslpre avatar tslpre commented on July 22, 2024

Hello, this is not my repository, but I am happy to help. The instructions are correct, so there might be some little copy/paste error during the installation or configuration. I would tend to look at the installation first, as HA cannot find it.

Are you able to share the list of files and folders in the /config/custom_components/repsolluzygas folder?

from repsolluzygas.

makutene avatar makutene commented on July 22, 2024

yes sure. Three python files (init, repsol_api, sensor ) and manifest.json. Let say I didnt place the sensor code al config.yaml. I have a sensors.yaml which it include from config.yaml

from repsolluzygas.

tslpre avatar tslpre commented on July 22, 2024

Ok, it might be a copy/paste issue. Can you paste the relevant configuration in your sensors.yaml, please?
finally, which version of HA are you using and on which platform?

from repsolluzygas.

makutene avatar makutene commented on July 22, 2024

Basically I just pasted

  • platform: repsolluzygas
    username:
    password:
    into sensors.yaml.
    Im running 1.19.1 HACS version and my HA is running on raspberrypi

from repsolluzygas.

ad-ha avatar ad-ha commented on July 22, 2024

Hi,

So you have to first remove the data that you entered on sensors.yaml and restart HA.

Once you restart, HA can already detect the Custom Component and you can then enter the data back on the sensors.yaml, check the configuration and restart again.

It should start working afterwards.

from repsolluzygas.

bzzoiro avatar bzzoiro commented on July 22, 2024

from repsolluzygas.

makutene avatar makutene commented on July 22, 2024

Thank you both of you. Finally its working but it only retrieves last bill amount payed.
I have gas contract with repsol not light.
All the sensors re at 0 value except as I said last bill amount payed that matches with the amount Ive payed

from repsolluzygas.

makutene avatar makutene commented on July 22, 2024

I think that this issue is being worked in #9 as the gas sensors have not been created yet. You probably just need to wait a bit longer until the new version comes out, but I will leave the final comment to @bzzoiro

Ok Ill wait anxiously till u make gas sensor works. Ty

from repsolluzygas.

Related Issues (16)

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.