Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "transition" hides states with custom:mini-graph-card #91

Open
arboeh opened this issue Sep 27, 2022 · 2 comments
Open

Using "transition" hides states with custom:mini-graph-card #91

arboeh opened this issue Sep 27, 2022 · 2 comments

Comments

@arboeh
Copy link

arboeh commented Sep 27, 2022

I have a strange problem which I discovered solving another issue: Turning on transition hides the state-switch-card completely if using mini-graph-cards. I tried with quotes also. Without transition or with simple entities as states it works:

type: custom:state-switch
entity: sensor.power_mode
transition: flip
states:
  import:
    type: custom:mini-graph-card
    entities:
      - entity: sensor.shelly_3em_channel_a_power
  export:
    type: custom:mini-graph-card
    entities:
      - entity: sensor.shelly_3em_channel_a_power
@shift-del1
Copy link

shift-del1 commented Dec 15, 2022

I tried state-switch with a picture glance and a thermostat entity, using transition with 1.9.5 resulted in the same "disappeared cards" effect. Rolling back to 1.9.3 I can still use transition with any cards.

UPDATE: embedding the state-switch card in a horizontal-stack card solved the issue. So I'm on 1.9.5, transition and box shadow both work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants