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
@@ -18,6 +18,7 @@ import type { Building } from "./model.ts";
|
||||
import { roomsOnly } from "./rooms-only.ts";
|
||||
import { colorSchemeOf, controls, readableStyles, tokens } from "./styles.ts";
|
||||
import type { HomeAssistant } from "./types.ts";
|
||||
import { withCoverControls } from "./entities/cover-controls.ts";
|
||||
import type { WallMode } from "./viewer/viewer3d.ts";
|
||||
import { lookNow } from "./themes.ts";
|
||||
|
||||
@@ -313,7 +314,7 @@ export class NextFloorCard extends LitElement {
|
||||
};
|
||||
const eye = c?.controls_hidden !== undefined || (c?.controls_hide_after ?? 0) > 0;
|
||||
return html`<nf-view3d
|
||||
.hass=${this.hass}
|
||||
.hass=${withCoverControls(this.hass, b.floors)}
|
||||
.building=${b}
|
||||
.packs=${this.data.packs}
|
||||
.floorId=${s.floorId}
|
||||
@@ -392,7 +393,7 @@ export class NextFloorCard extends LitElement {
|
||||
return html`<nf-room-panel
|
||||
.building=${this.plan() ?? null}
|
||||
class="nf-card-panel"
|
||||
.hass=${this.hass}
|
||||
.hass=${withCoverControls(this.hass, b.floors)}
|
||||
.room=${b.floors.flatMap((f) => f.rooms).find((r) => r.id === this._roomId) ?? null}
|
||||
.floor=${b.floors.find((f) => f.rooms.some((r) => r.id === this._roomId)) ?? null}
|
||||
.outside=${this._roomId === OUTSIDE ? outsideEntities(this.hass, b.floors) : null}
|
||||
|
||||
Reference in new issue
Block a user