yes, I do, and replacing it next with the options offered by the @DBuit card, since that was my original (and first ) popup card .
I do find the horizontal swiping to frustrate the horizontal brightness and color sliders, so took out the swipe card, and place them directly in a vertical stack, which works much better, and still offers the swiping feel, albeit vertical.
only styling thing for now is the icon and percentage number of the light-popup-card are half way hidden behind the top bar of the popup:
should be:
using style:
style:
# position: fixed
# z-index: 999
top: 20
# left: 0
height: 85%
width: 30%
display: block
align-items: center
justify-content: center
background: rgba(0, 0, 0, 0.8)
color: 'var(--primary-color)'
flex-direction: column
margin: 0
"--iron-icon-fill-color": "#FFF"
any thoughts on the setting to prevent that?
Iâve tried the original styling I used when only this card I popup, but that doesnât help. This is my popup for now:
type: vertical-stack
cards:
# - type: custom:swipe-card
# cards:
# - type: custom:light-entity-card
# entity: '[[[ return entity.entity_id ]]]'
# persist_features: true
# show_slider_percent: true
# smooth_color_wheel: true
- type: entities
style: |
ha-card {
--ha-card-background: transparant;
background: transparant;
box-shadow: none;
margin-top: -15px;
}
entities:
- type: custom:light-popup-card
entity: '[[[ return entity.entity_id ]]]'
fullscreen: false
sliderColoredByLight: true
sliderThumbColor: grey
brightnessWidth: 150px
brightnessHeight: 400px
switchWidth: 150px
switchHeight: 400px
# supportedFeaturesTreshold: {{ _global.lights_popup.supportedFeaturesTreshold|default('9') }}
- type: custom:button-card
template: vertical-filler
- type: 'custom:rgb-light-card'
entity: '[[[ return entity.entity_id ]]]'
colors:
- color_temp: 153
transition: 2
icon_color: 'rgb(166, 209, 255)'
- color_temp: 227
transition: 2
icon_color: 'rgb(191, 222, 255)'
- color_temp: 300
transition: 2
icon_color: 'rgb(224, 239, 255)'
justify: center
- type: custom:rgb-light-card
entity: '[[[ return entity.entity_id ]]]'
colors:
- color_temp: 360
transition: 2
icon_color: 'rgb(255, 202, 112)'
- color_temp: 440
transition: 2
icon_color: 'rgb(255, 188, 74)'
- color_temp: 500
transition: 2
icon_color: 'rgb(255, 160, 0)'
justify: center
- type: entities
style: |
ha-card {
--ha-card-background: transparant;
background: transparant;
box-shadow: none;
--paper-slider-knob-color: white;
--paper-slider-knob-start-color: white;
--paper-slider-pin-color: white;
--paper-slider-active-color: white;
color: white !important;
--primary-text-color: white !important;
}
entities:
- type: custom:more-info-card
style: |
ha-card {
border-radius: none;
box-shadow: none;
margin-top: -40px;
}
entity: '[[[ return entity.entity_id ]]]'
and the button calling it:
hold_action:
haptic: heavy
action: call-service
service: browser_mod.popup
service_data:
title: >
[[[ return entity.attributes.friendly_name ]]]
card: !include /config/lovelace/includes/include_light_button_popup.yaml
deviceID:
- this