zsarnett / slideshow-card

Slide Show Card for Home Assistant's UI LoveLace
28 stars 17 forks source link

History Graph Cards #1

Open rpitera opened 5 years ago

rpitera commented 5 years ago

This would be great for a use case I have with History Graph cards, but I have found that it only loads the graph data for the first card; others following it don't load any data unfortunately. Just thought I'd mention it in case it was something you weren't aware of or had plans for. I tried it with and without the auto_play option, just for the record.

EDIT: Adding config attempted on request from reddit thread

      - type: custom:slideshow-card
        fill: true
        arrow_color: White
        arrow_opacity: .5        
        cards:
          - type: history-graph
            title: apparent temperature
            hours_to_show: 24
            refresh_interval: 0
            entities:
              - entity: sensor.pws_feelslike_f
                name: WeatherUnderground
              - entity: sensor.dark_sky_apparent_temperature
                name: DarkSky 
          - type: history-graph
            title: actual temperature
            hours_to_show: 24
            refresh_interval: 0
            entities:
              - entity: sensor.pws_temp_f
                name: AcuRite WX Station
              - entity: sensor.west_of_east_one_temperature
                name: Bloomsky Station
          - type: history-graph
            title: barometric pressure
            hours_to_show: 24
            refresh_interval: 0
            entities:
              - entity: sensor.pws_pressure_in
                name: AcuRite WX Station
              - entity: sensor.west_of_east_one_pressure
                name: Bloomsky Station
          - type: history-graph
            title: humidity
            hours_to_show: 24
            refresh_interval: 0
            entities:
              - entity: sensor.pws_relative_humidity
                name: AcuRite WX Station
              - entity: sensor.west_of_east_one_humidity
                name: Bloomsky Station
          - type: history-graph
            title: probabilty of precip
            hours_to_show: 24
            refresh_interval: 0
            entities:
              - entity: sensor.pws_precip_1d
                name: WeatherUnderground
              - entity: sensor.dark_sky_precip_probability_1
                name: DarkSky
          - type: history-graph
            title: wind speed
            hours_to_show: 24
            refresh_interval: 0
            entities:
              - sensor.dark_sky_wind_speed

I just set this up again to provide the config and it just shows loading, then data for the first card only.