home-assistant / ui-schema

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

State history chart changes to wrong entity graph after some seconds #231

Closed braegel closed 5 years ago

braegel commented 5 years ago

After clicking on an entity badge I get this correct "state history graph":

image

After some seconds (or maybe after some mouse movements) the graph changes to a wrong entity:

image

Relevant extract from my configuration.yaml:

- platform: template
    sensors:
      eddw_crosswind_270:                                                                               
        friendly_name: "Crosswind EDDW 270"                                                             
        unit_of_measurement: 'kt'                                                                       
        value_template: " {{ sin( (states('sensor.dark_sky_wind_bearing')|float - 270) * pi / 180) * states('sensor.dark_sky_wind_speed')|float * 1.9438 }}"                                                   

- platform: mqtt
  state_topic: phoh/temperature
  name: "Familienraum temperature (BME280)"                                                           
  unit_of_measurement: '°C'                                                                           
  device_class: temperature                                                                           

Home Assistant 0.86.3

VDRainer commented 5 years ago

There already an open issue about this in home-assistant-polymer https://github.com/home-assistant/home-assistant-polymer/issues/2438 Add your thump up there please.

braegel commented 5 years ago

Thanks! I'll do that.