Open CoryAlbrecht opened 1 month ago
You have plenty of custom cards inside state-switch
- and yet open an issue for state-switch
...
Suggest to replace inner cards with simple stock cards & re-test.
You have plenty of custom cards inside
state-switch
- and yet open an issue forstate-switch
... Suggest to replace inner cards with simple stock cards & re-test.
It makes no difference with only standard cards.
It makes no difference with only standard cards.
Try to understand that people who will look at your problem (plugin author, other volunteers) may want to reproduce your issue. That is why it is CUSTOMARY to post a MINIMAL code which demonstrates the problem, not a >100 lines code with custom stuff.
I have a similar problem on my config... my card do not show at first load, i have to refresh manually (sometimes several times) i tried with stock cards: here's the code:
type: custom:state-switch
entity: input_boolean.test
states:
'on':
type: entities
entities:
- sun.sun
'off':
type: entities
entities:
- sun.sun
- sun.sun
- sun.sun
Set a default
– see the docs.
Set a
default
– see the docs.
This fixed the issue perfectly. Thanks!
Cool, I ran into the same issue after my HA upgrade.
In a web browser (Chrome, Ubuntu) the card does not appear when the dashboard is loaded but will appear on a manual page refresh (e.g. Ctrl+R). If you go to another tab on the same dashboard and return, it is gone again and you have to refresh to get it back.
In the companion app (Samsung Galaxy Tab S6 Lite, Google Pixel 8) the card does not appear and the app cannot be refreshed by swiping down.
I have multiple cards like this to show if there are any active alarms or timers on any of the Google/Nest Minis throughout my home, and they all act like this.