mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-06 22:49:16 +00:00
Release v1.62.0-beta.6 candidate
This commit is contained in:
@@ -339,7 +339,11 @@ export function activeRegistryHass(hass: any, snapshot = haRegistrySnapshot(hass
|
||||
}
|
||||
for (const [eid, state] of Object.entries<any>(hass?.states || {})) {
|
||||
const entity = snapshot.entities?.[eid];
|
||||
if (snapshot.authoritative && !entity) continue;
|
||||
// A complete Entity Registry is not a complete list of HA states: YAML
|
||||
// entities without unique_id and core runtime entities such as sun.sun can
|
||||
// legitimately have a live state without any registry row. Absence is
|
||||
// therefore not evidence of disablement. Explicit disabled entity/device
|
||||
// rows below remain authoritative and are still removed.
|
||||
if (entity && !isRegistryEntryEnabled(entity)) continue;
|
||||
const parent = entity?.device_id ? snapshot.devices?.[entity.device_id] : null;
|
||||
if (snapshot.authoritative && entity?.device_id && !parent) continue;
|
||||
|
||||
@@ -183,7 +183,7 @@ import {
|
||||
import { renderOpeningTunnelFills } from './render/opening-tunnels';
|
||||
import { safeStoredColor } from './color';
|
||||
|
||||
const CARD_VERSION = '1.62.0-beta.5';
|
||||
const CARD_VERSION = '1.62.0-beta.6';
|
||||
/** Keeps every previously valid scale at the maximum 20 cm grid scale lossless. */
|
||||
const DECOR_TEXT_CM_MAX = 2000;
|
||||
const CELL_CM_MIN = 0.1;
|
||||
|
||||
Reference in New Issue
Block a user