config-template-card icon indicating copy to clipboard operation
config-template-card copied to clipboard

History-graph & Logbook are not updated inside config-template-card

Open ildar170975 opened this issue 2 years ago • 1 comments

Checklist:

  • [x ] I updated to the latest version available
  • [x ] I cleared the cache of my browser

Release with the issue: 2021.10.6

Last working release (if known):

Browser and Operating System: Chrome, Win10x64

Description of problem: History-graph & Logbook cards are not updated if placed inside config-template-card. The example contains:

  • entities card with input_boolean.flag
  • entity card inside config-template-card
  • history-graph inside config-template-card
  • history-graph
    mode: vertical
    cards:
      - type: entities
        state_color: true
        entities:
          - entity: input_boolean.flag

      - type: custom:config-template-card
        entities:
          - input_boolean.flag
        card:
          type: entity
          entity: input_boolean.flag

      - type: custom:config-template-card
        entities:
          - input_boolean.flag
        card:
          type: history-graph
          entities:
            - input_boolean.flag
          hours_to_show: 1
          refresh_interval: 0

      - type: history-graph
        entities:
          - input_boolean.flag
        hours_to_show: 1
        refresh_interval: 0

Change the input_boolean.flag value and see if graphs are updated.

image

The 2nd graph is updated, the 1st graph - not updated:

image

Javascript errors shown in the web inspector (if applicable):


Additional information:

ildar170975 avatar Oct 19 '21 01:10 ildar170975

I have the same problem. I have a picture card that refreshes automatically, but it does not work when using it inside the templating card.

Furegato avatar Dec 18 '21 23:12 Furegato

2023.3.1 Seems that the issue is resolved. Tested with this card. Closing.

ildar170975 avatar Mar 08 '23 05:03 ildar170975