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
@@ -21,6 +21,7 @@ import { panelStyles } from "./panel/styles.ts";
|
||||
import { colorSchemeOf, controls, readableStyles, tokens } from "./styles.ts";
|
||||
import { LOOKS, lookNow, type Look } from "./themes.ts";
|
||||
import type { HomeAssistant } from "./types.ts";
|
||||
import { withCoverControls } from "./entities/cover-controls.ts";
|
||||
import { allOffPlan, floorSwitchables, type ServiceCall } from "./live/all-off.ts";
|
||||
import type { FloorStack, Quality, WallMode } from "./viewer/viewer3d.ts";
|
||||
|
||||
@@ -580,7 +581,7 @@ export class NextFloorPanel extends LitElement {
|
||||
<div class="nf-stage-wrap ${this._roomId ? "nf-room-open" : ""}">
|
||||
<nf-view3d
|
||||
class="nf-body"
|
||||
.hass=${this.hass}
|
||||
.hass=${withCoverControls(this.hass, building.floors)}
|
||||
.building=${building}
|
||||
.packs=${this.data.packs}
|
||||
.floorStack=${p.floorStack}
|
||||
@@ -631,7 +632,7 @@ export class NextFloorPanel extends LitElement {
|
||||
? html`<nf-room-panel
|
||||
.building=${this.data.building ?? null}
|
||||
class="nf-room-panel"
|
||||
.hass=${this.hass}
|
||||
.hass=${withCoverControls(this.hass, building.floors)}
|
||||
.room=${room}
|
||||
.floor=${building.floors.find((f) => f.rooms.some((r) => r.id === this._roomId)) ?? null}
|
||||
.confirmEntities=${confirmEntities(this.hass, building.floors)}
|
||||
@@ -644,7 +645,7 @@ export class NextFloorPanel extends LitElement {
|
||||
? html`<nf-room-panel
|
||||
.building=${this.data.building ?? null}
|
||||
class="nf-room-panel"
|
||||
.hass=${this.hass}
|
||||
.hass=${withCoverControls(this.hass, building.floors)}
|
||||
.room=${null}
|
||||
.outside=${this.outsideIds(building)}
|
||||
.confirmEntities=${confirmEntities(this.hass, building.floors)}
|
||||
|
||||
Reference in new issue
Block a user