Closed danielbrunt57 closed 10 months ago
Thanks, that's much better! Not perfect yet but you'd likely want it as a new FR.
- type: custom:slider-button-card
slider:
direction: right-left
background: solid
use_state_color: false
use_percentage_bg_opacity: true
toggle_on_click: false
show_track: true
force_square: false
invert: false
action_button:
mode: toggle
show: false
icon:
icon: ''
show: false
use_state_color: false
entity: cover.south_patio_door
show_state: true
compact: false
name: Patio Door
show_name: false
At lease Open-Percentage Open-Closed matches the state of the device now.
It would be nice not have a black foreground for the curtain. A forground: striped
option would be nice!!
I don't use the solid background option myself. I recommend the gradient one instead. See the photo attached to https://github.com/custom-cards/slider-button-card/issues/48#issuecomment-1676088480
type: custom:slider-button-card
entity: light.office_lights
slider:
direction: right-left
background: gradient
use_state_color: true
use_percentage_bg_opacity: false
show_track: false
toggle_on_click: false
force_square: false
show_name: true
show_state: true
name: Right to Left
Okay, that;s nicer, but the foregound does not indicate vertical slas across the opening!
As for venetian slats, it would be nice if the display was an indicator of how much they are open/closed with 50% being an extremely thin striped pattern and 50% to 99% or 0% being thicker lines as they move to 0 or 99%!!!
I know, I know, easier said than done! Food for thought. with perfection being the goal!!
Is your feature request related to a problem? Please describe. My vertical slat binds open from right to left. I am currently using left-right (the only option) and also invert: true and this gives me the correct visual representation of the blind opening from right to left. The problem then becomes the percentage open is reversed 70% open shows as 30% in the card.
Describe the solution you'd like I think there needs to be two invert options - one for the blind visual and another for the entity values, if necessary. In HA my entity shows closed at 100%. In your card with invert: true, it shows closed at 0% and every percentage in between is reversed.
Describe alternatives you've considered I have played with the settings to no avail and I've searched for other custom cards also to no avail.
Additional context
![image](https://user-images.githubusercontent.com/49846893/178625274-bf294f89-7555-435b-a59c-0682c031c097.png)