Open RoboMagus opened 8 months ago
My Home Assistant version: 2024.2.1 (I believe this was still working prior to the Feb update, but unsure)
My lovelace configuration method (GUI or yaml): Yaml
What I am doing: Inverting the render direction of a slider
What I expected to happen: The slider to show Right to Left. E.g.:
What happened instead: It stays Left to Right
Minimal steps to reproduce:
- entity: cover.livingroom_curtain_front_right name: rechts - entity: cover.livingroom_curtain_front_right_inverted type: custom:slider-entity-row full_row: true hide_state: true step: 5 dir: rtl
Error messages from the browser console: None
Resulting HTML: (Note that dir here states ltr instead of rtl)
dir
ltr
rtl
<div class="wrapper"> <!--?lit$654776852$--> <!--?lit$654776852$--> <ha-slider labeled="" pin="" ignore-bar-touch="" dir="ltr" class="full" role="presentation"></ha-slider> <!--?lit$654776852$--> <!--?lit$654776852$--> </div>
By putting an X in the boxes ([X]) below, I indicate that I:
It appears that this change overrides the ha-slider direction that's set by the slider-entity-row config.
My Home Assistant version: 2024.2.1 (I believe this was still working prior to the Feb update, but unsure)
My lovelace configuration method (GUI or yaml): Yaml
What I am doing: Inverting the render direction of a slider
What I expected to happen: The slider to show Right to Left. E.g.:
What happened instead: It stays Left to Right
Minimal steps to reproduce:
Error messages from the browser console: None
Resulting HTML: (Note that
dir
here statesltr
instead ofrtl
)By putting an X in the boxes ([X]) below, I indicate that I: