fix: restrict blind direction reversal to 3D appearance
This commit is contained in:
1 parent
b9a095bc6e
commit
7a9b2c0a38
19 files changed
+721
-629
No files matched your search
@@ -137,7 +137,7 @@ function markerFor(hass: HomeAssistant, floor: Floor, placed: Placement): Device
|
||||
ownName: placed.name || undefined,
|
||||
showName: !!placed.show_name,
|
||||
text: [stateText(hass, st), deviceValuesText(hass, placed.values)].filter(Boolean).join(" · "),
|
||||
active: isActive(st),
|
||||
active: kind === "cover" && (!!placed.cover_inverted !== (!!placed.position && !!placed.position_inverted)) && !isUnavailable(st) ? !isActive(st) : isActive(st),
|
||||
unavailable: isUnavailable(st),
|
||||
glow: kind === "light" ? scaleGlow(lightGlow(st), placed.glow_scale) : null,
|
||||
effect: kind === "light" ? lightAnimation(placed, st) : undefined,
|
||||
|
||||
Reference in new issue
Block a user