question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

hiding the first entity breaks the graph entity options

See original GitHub issue

i am trying to create a graph that uses 2 sensors of my electric installation. one for the low tarif and the other for the high tarif.

the high tarif only shows current watts on monday-friday from 8:00-21:000 the low ony shows current watts in the other timerange.

that is why i would like to use a third sensor that displays current watts all the time. but when i use it as first entity to only display state the legend color/name isnt displayed correctly anymore

see below code:

  - type: custom:mini-graph-card
    entities:
      # only show state of consumption (watts) no graph
      - entity: sensor.dsmrreader
        name: hidden
        show_line: false
        show_fill: false
        show_legend: false
        show_points: false
        show_indicator: false
     # High tarif sensor consumption (watts)
      - entity: sensor.dsmr_pwr_high
        name: High
     # Lowtarif sensor consumption (watts)
      - entity: sensor.dsmr_pwr_low
        name: Low

alt text as you can see the entity options are kind of mixed. and the label names seemd to move one position hidden should not be visible and had color orange?! and the Low entity isnt visible in the labels.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Proxxcommented, Aug 19, 2019

Yes its working great! thanks again 😄

0reactions
kalkihcommented, Aug 20, 2019

Btw, Instead of this

show_line: false
show_fill: false
show_legend: false
show_points: false
show_indicator: false

you should be able to just do

show_graph: false
show_legend: false

…should work better overall 😄

EDIT: You might not even need show_legend: false actually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lovelace: mini graph card - Dashboards ...
Deprecated: entity option, use new entities , accepts string or list ... Removed: hide options, use new show option (Breaking change).
Read more >
Federated schema design best practices
Entities are the core building blocks of a federated graph, so the adoption of any schema design best practice must be approached with...
Read more >
RomRider/apexcharts-card: 📈 A Lovelace card to display ...
A Lovelace card to display advanced graphs and charts based on ApexChartsJS for Home Assistant ... It accepts the same options as a...
Read more >
8 Entity Framework Gotchas
8 Entity Framework Gotchas · 1. Runtime LINQ Query Failures · 2. Modified SSDL Gotcha · 3. Function Mapping to Stored Procedures in...
Read more >
Debug screen - Minecraft Wiki - Fandom
May previously have been the number of entities removed due to hidden chunks. ... The first pair represents normal sounds like breaking or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found