markgdev / home-assistant_OctopusAgile

Octopus Agile custom component for Home Assistant
Apache License 2.0
86 stars 33 forks source link

Blank Custom Card #12

Closed MJP-76 closed 3 years ago

MJP-76 commented 4 years ago

Hi Mark

Not actually sure when it started as I have not switch to Agile yet but I had the custom component running "installed" and had the rates card displying

However, now I am just getting a blank screen after putting in the latest custom omponent and card

I know it not much to go on and am going to try from a backup and replace with an older component and card but thought you might have an idea?

I am running on a PI with the latest build of hassio and other custom components are working fine

MJP-76 commented 4 years ago

So, I have now downloaded my backup copy of the custom component and all working fine.

Did a fresh download from the web and not working. Blank card, well, its just doe not show in my lovelace

MJP-76 commented 4 years ago

Has anything changed in the config/setup as the latest version give me errors. I read about the mpan, auth etc so have added in and used !secrets

The following integrations and platforms could not be set up:

OctopusAgile OctopusAgile.sensor Please check your config.

But when I revert, it works absolutely fine

this is my current config:

` OctopusAgile: mpan: !secret octopus_mpan serial: !secret octopus_serial auth: !secret octopus_auth region_code: !secret octopus_region showunits: false moneymakers:

sensor:

tbutcher365 commented 4 years ago

I think the readme.md has a typo with paramms: null.

MJP-76 commented 4 years ago

I think the readme.md has a typo with paramms: null.

Thanks, I have changed in my config, but still getting a blank card with the latest component, but when I roll back I get the custom-card with the Green, Red, Orange and Blue sections so its not the card

Must be either my config and the changes made or the component but as others have it working, must be in my config

Question on the config, when it mention's auth: i assume this is the Octopus API key?

tbutcher365 commented 4 years ago

Correct on the key. Have you checked home-assistant.log for errors? Try deleting octopusagile.json from your config folder as well.

markgdev commented 4 years ago

Hi @matthewjporter, did you manage to get it going? Sorry for the delayed response, I’ve not had as much chance to work on this recently as I’d like. If the component isn’t loading then there should be something in the home assistant log relating to octopusagile, it’d be helpful to see anything from there.

markgdev commented 3 years ago

I think this is sorted? Going to close but feel free to reopen if not!

Kosh42 commented 2 years ago

I'm getting this exact same issue here, but for me it's never worked (I only installed it yesterday). The entity is getting data fine, but the custom card is just coming back blank. Had poke in the logs and it doesn't see to have anything related to this integration.

Silly Q: I installed the integration via HACS, but the custom card manually (WGET the js from he terminal, then added to resources). Is this right, or have I caused it brain ache?

blank custom card populated entity

Either way, even without the card it's excellent work. Many thanks!

Kosh42 commented 2 years ago

@matthewjporter - Is yours still behaving of has a more recent update caused you issues again?

markgdev commented 2 years ago

I'm getting this exact same issue here, but for me it's never worked (I only installed it yesterday). The entity is getting data fine, but the custom card is just coming back blank. Had poke in the logs and it doesn't see to have anything related to this integration.

Silly Q: I installed the integration via HACS, but the custom card manually (WGET the js from he terminal, then added to resources). Is this right, or have I caused it brain ache?

blank custom card populated entity

Either way, even without the card it's excellent work. Many thanks!

Have you cleared the cache in your browser? I seem to recall that causing me issues in the past.

Kosh42 commented 2 years ago

Works a treat! Many thanks.

Have you cleared the cache in your browser? I seem to recall that causing me issues in the past.