home-assistant / ui-schema

A schema to define a user interface for Home Assistant.
Apache License 2.0
41 stars 6 forks source link

History graph plotting incorrect element #149

Closed shortbloke closed 6 years ago

shortbloke commented 6 years ago

Following on from issues #135 I've updated to 0.75.1 and things have improved but it's still not right. Ahead of the fix for 135 I had a real mess of graphs not working, now it seems more limited. I have the following in one of my views:

      - type: history-graph
        title: Temperature
        entities:
          - entity: sensor.aeotec_zw100_multisensor_6_temperature
            name: 'Temperature'
      - type: history-graph
        title: Humidity
        entities:
          - entity: sensor.aeotec_zw100_multisensor_6_relative_humidity
            name: 'Humidity'

When it's rendered by lovelace I end up with two graphs, both of which are showing humidity, not one for humidity and one for temperature. image

shortbloke commented 6 years ago

Testing with 0.76.2 and the graphs are now working correctly.