Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do user & pw have to be into brackets? #11

Open
makutene opened this issue Jan 10, 2022 · 11 comments
Open

Do user & pw have to be into brackets? #11

makutene opened this issue Jan 10, 2022 · 11 comments

Comments

@makutene
Copy link

when placing repsolluzygas folder into custom components and validate config in home assisnts it says 'integration not found' what am I missing? thnak you

@tslpre
Copy link
Collaborator

tslpre commented Jan 10, 2022

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?

@makutene
Copy link
Author

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

@tslpre
Copy link
Collaborator

tslpre commented Jan 10, 2022

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?

@makutene
Copy link
Author

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

@tslpre
Copy link
Collaborator

tslpre commented Jan 10, 2022

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?

@makutene
Copy link
Author

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

@ad-ha
Copy link

ad-ha commented Jan 10, 2022

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.

@bzzoiro
Copy link
Owner

bzzoiro commented Jan 11, 2022 via email

@makutene
Copy link
Author

makutene commented Jan 11, 2022

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

@tslpre
Copy link
Collaborator

tslpre commented Jan 11, 2022

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

@makutene
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants