feat: improve Symcon controls, device readings and designer help
This commit is contained in:
1 parent
ff54f4461a
commit
00fca890de
50 files changed
+2447
-1840
No files matched your search
@@ -17,6 +17,7 @@ export function coverTiltEntity(hass: HomeAssistant, floors: readonly Floor[], i
|
||||
}
|
||||
|
||||
export function coverWithTilt(hass: HomeAssistant, st: HassEntity, tilt: string | null | undefined): HassEntity {
|
||||
if (st.attributes.nf_cover_control) return st;
|
||||
if (!tilt) return st;
|
||||
const a = hass.states[tilt]?.attributes;
|
||||
const position = a?.current_tilt_position ?? a?.current_position;
|
||||
|
||||
Reference in new issue
Block a user