Closed ildar170975 closed 2 years ago
Looks like there's a problem with custom cards. For me it's the custom:gauge-card.
- type: custom:state-switch
entity: sensor.e3dc_battery_power_stat
states:
Ladung:
type: custom:gauge-card
title: Batterie Ladung
entity: sensor.e3dc_battery_power
min: 0
max: 3100
scale: 37px
severity:
Entladung:
type: custom:gauge-card
title: Batterie Entladung
entity: sensor.e3dc_battery_power_neg2pos
min: 0
max: 3100
scale: 37px
Leer:
type: custom:gauge-card
title: Batterie
entity: sensor.e3dc_battery_power_neg2pos
min: 0
max: 3000
scale: 37px
None of the gauges are displayed. If i switch to the core gauge it works. Back to v8.
Hello,
I have the same issue with custom:mini-media-player, but also vertical-stack, and iframe, for exemple:
So i downgraded this addon to the version "8" (using HACS), and is working back properly:
Please try release 1.9.3.
Tested again: HA 2022.3 state-switch 1.9.3 swipe-card 4.0.0
The same code as above:
- type: entities
entities:
- input_boolean.test_boolean
- type: custom:state-switch
entity: input_boolean.test_boolean
states:
"on":
type: horizontal-stack
cards: &ref_horizontal_stack
- type: button
entity: sun.sun
- type: button
entity: binary_sensor.service_on_value
- type: button
entity: zone.home
"off":
type: custom:swipe-card
cards: *ref_horizontal_stack
swipe-card
works.state-switch
card works - it changes cards "swipe-card
<-> horizontal-stack
".state-switch
card is not displayed, it is displayed after some delay.@thomasloven Is it still a bug or a browser's issue?
Do not observe the issue with state-switch 1.9.4. Tested with HA 2022.5.4, Win10+Chrome, iOS 15.x
Let's display three buttons dependingly on some
input_boolean
:horizontal-stack
;swipe-card
.The code:
The output - no buttons is displayed:![3](https://user-images.githubusercontent.com/71872483/139346422-d6161ed2-06a0-4846-b000-53c9e82f8355.gif)
Separately both cards are displayed: