Coder Social home page Coder Social logo

Comments (10)

igloo32 avatar igloo32 commented on June 18, 2024 1

I suspect the issue is the current version of the card expects past/future entities to be provided even though it doesn't require them. I've just submitted a fix #37 to ensure they are optional. To fix in the mean time you can just provide them in the config.

from octopus-energy-rates-card.

andyblac avatar andyblac commented on June 18, 2024

same

type: custom:octopus-energy-rates-card
currentEntity: sensor.octopus_energy_electricity_xxxxxx_xxxxx_current_rate
cols: 2
showday: true
showpast: false

from octopus-energy-rates-card.

Mikescotland avatar Mikescotland commented on June 18, 2024

same

type: custom:octopus-energy-rates-card
currentEntity: sensor.octopus_energy_electricity_xxxxxx_xxxxx_current_rate
cols: 2
showday: true
showpast: false

Switch entity to event.xxx as per readme (activate them if not active)

from octopus-energy-rates-card.

andyblac avatar andyblac commented on June 18, 2024

do not have such entities,

Screenshot 2023-11-25 at 13 13 06

from octopus-energy-rates-card.

Mikescotland avatar Mikescotland commented on June 18, 2024

Did you upgrade the octopus integration (not card) to version 0.9.x? Please read the readme, there is clear instruction.

My case is different as I have these events and card is configured. Still throws an error

from octopus-energy-rates-card.

andyblac avatar andyblac commented on June 18, 2024

Did you upgrade the octopus integration (not card) to version 0.9.x? Please read the readme, there is clear instruction.

My case is different as I have these events and card is configured. Still throws an error

yes been running 9.0.x for a while now.

from octopus-energy-rates-card.

Ashpork avatar Ashpork commented on June 18, 2024

from octopus-energy-rates-card.

Mikescotland avatar Mikescotland commented on June 18, 2024

Have you enabled those event entities? That message is usually shown when they're not enabled.

On Sat, 25 Nov 2023 at 13:15, Andrew Blackburn @.> wrote: Did you upgrade the octopus integration (not card) to version 0.9.x? Please read the readme, there is clear instruction. My case is different as I have these events and card is configured. Still throws an error yes been running 9.0.x for a while now. — Reply to this email directly, view it on GitHub <#36 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3KT4IJ3IJQEBRUORUABLDYGHVOTAVCNFSM6AAAAAA72CFPTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGMYDKMRXGU . You are receiving this because you are subscribed to this thread.Message ID: @.>
Screenshot_20231125_133629

from octopus-energy-rates-card.

Mikescotland avatar Mikescotland commented on June 18, 2024

I suspect the issue is the current version of the card expects past/future entities to be provided even though it doesn't require them. I've just submitted a fix #37 to ensure they are optional. To fix in the mean time you can just provide them in the config.

You're a life saver. Didn't cross my mind I have to provide all three events as the documentation table says optional for previous and next.
Now working. Thank you very much!

So, in order to have it working you need to specify all three, currentEntity, pastEntity and futureEntity - info for people struggling with it.

from octopus-energy-rates-card.

lozzd avatar lozzd commented on June 18, 2024

#37 merged, will cut a release

from octopus-energy-rates-card.

Related Issues (20)

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.