Open makutene opened 2 years ago
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?
I just copied the folder of your repo into /config/custom_components and added a sensor in HA as you explained
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?
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
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?
Basically I just pasted
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.
Hi all,
I think that Alvaro is right, you need to install in the following order:
After that, if it's not working, I recommend deleting everything and installing the components using HACS.
Cheers Adriano
El mar, 11 ene 2022 a las 0:03, Alvaro Duarte @.***>) escribió:
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 on the sensors.yaml, check the configuration and restart again.
— Reply to this email directly, view it on GitHub https://github.com/bzzoiro/repsolluzygas/issues/11#issuecomment-1009431251, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFV7VHLD26P2QSKR4KYBWTUVNQULANCNFSM5LT7AMHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Adriano Almeida
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
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
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
when placing repsolluzygas folder into custom components and validate config in home assisnts it says 'integration not found' what am I missing? thnak you