Coder Social home page Coder Social logo

Comments (7)

rgc99 avatar rgc99 commented on August 15, 2024

It almost looks like you are not recording the history. Try putting in a history card and see what you get.

type: logbook
entities:
  - binary_sensor.irrigation_unlimited_c1_z1
  - binary_sensor.irrigation_unlimited_c1_z2
hours_to_show: 144
title: History

from irrigation_unlimited.

Kurisutian avatar Kurisutian commented on August 15, 2024

Actually I do record history and it's working fine which is why I opened the bug. I checked for the sensors and everything should actually work which makes it weird.

Here's a screenshot of the whole part of it:

image

Thanks!

from irrigation_unlimited.

rgc99 avatar rgc99 commented on August 15, 2024

Please double check the version of mini-graph-card. I get the same result as you if I install v0.10.0. It must be v0.11.0-dev.3 or later where support for reading an attribute rather than the state was introduced.

from irrigation_unlimited.

Kurisutian avatar Kurisutian commented on August 15, 2024

Checked it again but it's the correct version (>v0.10.0):

image

from irrigation_unlimited.

rgc99 avatar rgc99 commented on August 15, 2024

Still feel it has something to do with the mini-graph-card. Let's try another graph card I have been experimenting with apexcharts-card

type: 'custom:apexcharts-card'
header:
  show: true
  title: Watering history
graph_span: 7d
all_series_config:
  type: column
  attribute: today_total
  group_by:
    duration: 1d
    func: last
    fill: zero
  show:
    as_duration: minute
span:
  start: day
  offset: '-7day'
series:
  - entity: binary_sensor.irrigation_unlimited_c1_z1
  - entity: binary_sensor.irrigation_unlimited_c1_z2
apex_config:
  tooltip:
    enabled: true
    x:
      format: dd MMM
  yaxis:
    title:
      text: minutes

from irrigation_unlimited.

balagev avatar balagev commented on August 15, 2024

Same issue, but apexcharts works!
Thx!

from irrigation_unlimited.

Kurisutian avatar Kurisutian commented on August 15, 2024

Actually I made both cards work. It seems that it was an issue with reloading the frontend after the mini graph card was installed. With the reload after the apexcharts card was installed, both cards started working fine. Thanks for the help!

from irrigation_unlimited.

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.