Browser and Operating System:
MacOS Catalina, Chrome v83, Safari 13
Description of problem:
Just to explain this a bit, I have 12 (13, including one embedded) cards in this vertical/horizontal stack. All the entity buttons are also custom button cards and self-explanatory. It's only the top row (icon, label, and toggle) I'm having a challenge with.
The top row is a custom button card with a custom field that is an embedded custom button card (the toggle on the top row is the custom field).
The embedded card is deriving the state (using javascript templates) based on all the switches/lights below. All this works when I load the card or refresh it. However, it's not dynamic; when I turn a switch/light on/off, the toggle doesn't update.
I'm trying to use triggers_update with the list of all the switches/lights. I've tried using triggers_update on the entire card and the embedded card. Nothing seems to work.
I'm using templates to generate these and I have replicated the issue with and without the template.
Javascript errors shown in the web inspector (if applicable):
No errors in the Javascript, but I have added console.log() messages and seen they only fire on refresh but not on state changes.
Checklist:
Release with the issue: 3.3.0
Last working release (if known): n/a
Browser and Operating System: MacOS Catalina, Chrome v83, Safari 13
Description of problem:
Just to explain this a bit, I have 12 (13, including one embedded) cards in this vertical/horizontal stack. All the entity buttons are also custom button cards and self-explanatory. It's only the top row (icon, label, and toggle) I'm having a challenge with.
The top row is a custom button card with a custom field that is an embedded custom button card (the toggle on the top row is the custom field).
The embedded card is deriving the state (using javascript templates) based on all the switches/lights below. All this works when I load the card or refresh it. However, it's not dynamic; when I turn a switch/light on/off, the toggle doesn't update. I'm trying to use
triggers_update
with the list of all the switches/lights. I've tried usingtriggers_update
on the entire card and the embedded card. Nothing seems to work.I'm using templates to generate these and I have replicated the issue with and without the template.
Javascript errors shown in the web inspector (if applicable):
Additional information: