mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
Release v1.75.0
Promotion-only on top of v1.75.0-beta.1: seven version sources, the generated bundle snapshots and the release metadata. No product source code moves in this commit. The line aggregates from the stable v1.74.0 and carries one user-visible fix. The House Plan sidebar page could serve a previous version of the card for hours: the panel entry fetched it through `./houseplan-card.js`, a relative specifier, and relative resolution does not inherit the `?v=` a dashboard gets from its Lovelace resource, while the entry files carry no Cache-Control at all. The panel now imports the implementation by its content-hashed name, so either the matching card arrives or the panel says out loud that the page is stale (#535). Internal in the line: #536. Known contradiction, recorded rather than silenced: the release contract in scripts/release-contract.mjs requires the grouped "small fixes" bullet unconditionally, while `npm run release:notes -- v1.75.0 --verify` rejects it because every user-visible issue of the range is already itemised. The two rules deadlock any stable with a single user-visible issue. The bullet stays, because the contract is the automated gate that Validate enforces; the verifier's objection is written down in STATUS and will get its own issue. npm test 2532/2531/0 fail, release contract green on all seven sources, docs strict green. Issue: #535 User-Visible: yes Release: v1.75.0
This commit is contained in:
@@ -57,7 +57,7 @@ SCHEDULED_GRACE_S = 30 * 24 * 3600
|
||||
FILES_DIR = "houseplan/files"
|
||||
ASSETS_DIR = "houseplan/assets"
|
||||
CONF_ADMIN_ONLY = "admin_only"
|
||||
VERSION = "1.75.0-beta.1"
|
||||
VERSION = "1.75.0"
|
||||
DECOR_ASSETS_API_VERSION = 1
|
||||
SUMMARY_PANEL_API_VERSION = 1
|
||||
|
||||
|
||||
@@ -1,117 +1,117 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434",
|
||||
"fingerprint": "a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 287323,
|
||||
"initialViewGzipBytes": 287307,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 288847,
|
||||
"initialPanelGzipBytes": 288830,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2330,
|
||||
"initialPanelOnlyGzipBytes": 2326,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/de-DXQkfSq9.js",
|
||||
"houseplan-assets/editor-AlCJ01bj.js",
|
||||
"houseplan-assets/fr-CM1oO_To.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-fgKUHLHF.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CydxVyX1.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Brgd1XkC.js",
|
||||
"houseplan-assets/iso-scene-render-CRiQjWrR.js",
|
||||
"houseplan-assets/live-interaction-runtime-DwsMmPYz.js",
|
||||
"houseplan-assets/pdf-export-CuTSM2Xy.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BMSiGS2Q.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BiW5fF3W.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/de-DDbiqHtI.js",
|
||||
"houseplan-assets/editor-D0MHVWjz.js",
|
||||
"houseplan-assets/fr-DoaJHkAd.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BJvMhsap.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BeR0P-2r.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-7QRFYMqX.js",
|
||||
"houseplan-assets/iso-scene-render-1-ov_SAN.js",
|
||||
"houseplan-assets/live-interaction-runtime-Cnpztjm6.js",
|
||||
"houseplan-assets/pdf-export--FzEe67e.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-5QnCWIKS.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DfqOJmji.js"
|
||||
],
|
||||
"lazyGzipBytes": 417451,
|
||||
"lazyGzipBytes": 417415,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/editor-AlCJ01bj.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-fgKUHLHF.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/editor-D0MHVWjz.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BJvMhsap.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 205007,
|
||||
"lazyEditorGzipBytes": 204994,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CydxVyX1.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BeR0P-2r.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 13920,
|
||||
"lazyOnboardingGzipBytes": 13915,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-DXQkfSq9.js",
|
||||
"houseplan-assets/fr-CM1oO_To.js"
|
||||
"houseplan-assets/de-DDbiqHtI.js",
|
||||
"houseplan-assets/fr-DoaJHkAd.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 54827,
|
||||
"lazyLocaleGzipBytes": 54822,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/iso-scene-render-CRiQjWrR.js"
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/iso-scene-render-1-ov_SAN.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13461,
|
||||
"lazyIsometricGzipBytes": 13454,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/pdf-export-CuTSM2Xy.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/pdf-export--FzEe67e.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120125,
|
||||
"lazyPdfGzipBytes": 120124,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"sha256": "ac5e0897e94b25b9f0fda874031d9d8c5398e60244773b21572065b33be8cc36",
|
||||
"path": "houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"sha256": "b771cd949067487fb990760abe94e7a32ea5ddc490821e5bca609a3f94c1cd79",
|
||||
"rawBytes": 19956,
|
||||
"gzipBytes": 6881,
|
||||
"gzipBytes": 6878,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-DXQkfSq9.js",
|
||||
"sha256": "bd87b557e1f1241c425fcdb3956b5ddc7a64869e5d89e4c0a9a00c608623d39c",
|
||||
"path": "houseplan-assets/de-DDbiqHtI.js",
|
||||
"sha256": "0f62e4b1af983d9c1a4e57a4add238567fa0c97c8cfefdf64db6ae9af0f0d3fc",
|
||||
"rawBytes": 91402,
|
||||
"gzipBytes": 27697,
|
||||
"gzipBytes": 27695,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-AlCJ01bj.js",
|
||||
"sha256": "7d8bb9c49a2b3c709a96935d5ed99a4936a0145ce8b7def421ad6b3a7ae0bfa4",
|
||||
"path": "houseplan-assets/editor-D0MHVWjz.js",
|
||||
"sha256": "cfef9756fb683dd221ffaa7df022427f2ed311ba3344609d53af5f5387fd99a4",
|
||||
"rawBytes": 3832,
|
||||
"gzipBytes": 1586,
|
||||
"gzipBytes": 1584,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-CM1oO_To.js",
|
||||
"sha256": "0fcfc984eee7c4005732d04999b62d7bc91cc56d37992dff1213704723328c86",
|
||||
"path": "houseplan-assets/fr-DoaJHkAd.js",
|
||||
"sha256": "764f71545f6b4f29deaa839d4a265830b1d3ca7a5aa84fdc99932b2c6c922f32",
|
||||
"rawBytes": 93667,
|
||||
"gzipBytes": 27130,
|
||||
"gzipBytes": 27127,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"sha256": "82487bfda9d400d33a939f7e8ca64917df624e98987727e8ae45c6c1a599744d",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"sha256": "6b6ddba56e2b805e196350873d8ba261fd35eb578e09e84302d28add99141898",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10252,
|
||||
"isEntry": false,
|
||||
@@ -119,193 +119,193 @@
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-DJKZsv11.js",
|
||||
"sha256": "273b0fbd23206b4618234e63750dc1416d45dcd48018d7a9353ca0cd93f2ab37",
|
||||
"path": "houseplan-assets/guard-CfOsex3H.js",
|
||||
"sha256": "7239c49e6cc4a8d3d653ad62d08d72544f0601a6eefcc02c88d79a630c85218e",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 371,
|
||||
"gzipBytes": 369,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"sha256": "17c4fe3e77f0c9a6cfd66fa227e18748d55ab2d674b0ca903b97ccb8ad525d89",
|
||||
"rawBytes": 1021222,
|
||||
"gzipBytes": 286517,
|
||||
"path": "houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"sha256": "d08ef45c00d3fa0683261b0bfff815a3de9d81ad2a02097ccb76d32ed3d0ca69",
|
||||
"rawBytes": 1021215,
|
||||
"gzipBytes": 286504,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-DXQkfSq9.js",
|
||||
"houseplan-assets/editor-AlCJ01bj.js",
|
||||
"houseplan-assets/fr-CM1oO_To.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-fgKUHLHF.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CydxVyX1.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Brgd1XkC.js",
|
||||
"houseplan-assets/iso-scene-render-CRiQjWrR.js",
|
||||
"houseplan-assets/live-interaction-runtime-DwsMmPYz.js",
|
||||
"houseplan-assets/pdf-export-CuTSM2Xy.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BMSiGS2Q.js"
|
||||
"houseplan-assets/de-DDbiqHtI.js",
|
||||
"houseplan-assets/editor-D0MHVWjz.js",
|
||||
"houseplan-assets/fr-DoaJHkAd.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BJvMhsap.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BeR0P-2r.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-7QRFYMqX.js",
|
||||
"houseplan-assets/iso-scene-render-1-ov_SAN.js",
|
||||
"houseplan-assets/live-interaction-runtime-Cnpztjm6.js",
|
||||
"houseplan-assets/pdf-export--FzEe67e.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-5QnCWIKS.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-fgKUHLHF.js",
|
||||
"sha256": "2a0e17d5070a0d59ce9489c044a580ad8613327fec1d5f1e8db565599a1e940a",
|
||||
"rawBytes": 668820,
|
||||
"gzipBytes": 178489,
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-BJvMhsap.js",
|
||||
"sha256": "1aff2db3a9b086fe66cdb7c4fce595ffc9ae3b20414f4db050dbae975d574a78",
|
||||
"rawBytes": 668813,
|
||||
"gzipBytes": 178481,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-BiW5fF3W.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-DfqOJmji.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CydxVyX1.js",
|
||||
"sha256": "8f4e90a95d86e8e6f08e269a3b773053d92ea9d0f4a4790a5961d466c57134f2",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-BeR0P-2r.js",
|
||||
"sha256": "cde324210afcc003e3bcf41b94a30379e4c79b3f99c74a620cdc3e5b5562a088",
|
||||
"rawBytes": 28287,
|
||||
"gzipBytes": 7039,
|
||||
"gzipBytes": 7037,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-Brgd1XkC.js",
|
||||
"sha256": "e7559502c578608954dd7d0f0d5f37986be195d4f5482378704f5d4343877f20",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-7QRFYMqX.js",
|
||||
"sha256": "4c0f85f0374767147516a4805b7b9238b71f765b2671cade03b9781cf63fec1d",
|
||||
"rawBytes": 10756,
|
||||
"gzipBytes": 3684,
|
||||
"gzipBytes": 3682,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BiW5fF3W.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DfqOJmji.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-CRiQjWrR.js",
|
||||
"sha256": "28db416e756a24dd9f519ac455875cc42ecdd9d596b1b62385d15eb3f57e500e",
|
||||
"path": "houseplan-assets/iso-scene-render-1-ov_SAN.js",
|
||||
"sha256": "e16c62737a27f599fd830d8a5838d58828a28a027bf6af4703e50ecc2a34c632",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13090,
|
||||
"gzipBytes": 13085,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-DwsMmPYz.js",
|
||||
"sha256": "d2e30f3a1307339a011eb83a4b2da44aa2bce1d1ff06059e5aa9b12c0e11fa7c",
|
||||
"path": "houseplan-assets/live-interaction-runtime-Cnpztjm6.js",
|
||||
"sha256": "3ae9fc8c05ee41fe4b548d109858a2e3ade6178992c1f37476981dcf1cb9bb0b",
|
||||
"rawBytes": 6032,
|
||||
"gzipBytes": 2435,
|
||||
"gzipBytes": 2433,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-CuTSM2Xy.js",
|
||||
"sha256": "12992685f882a72f6366fafdefdd00dd2a2255aeca95c59d9e8e5a381872a333",
|
||||
"path": "houseplan-assets/pdf-export--FzEe67e.js",
|
||||
"sha256": "dd75e36f3b5e8b5e8a31e8a16e64884d9182adcd477755081152c3b15a1222a5",
|
||||
"rawBytes": 236244,
|
||||
"gzipBytes": 109873,
|
||||
"gzipBytes": 109872,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-CuJRJ1sK.js",
|
||||
"sha256": "01e7022dd28df2509b5b3ec9f18b8abe54f6ae81801bf0df55b40c24089e0445",
|
||||
"path": "houseplan-assets/summary-panel-editor-DQ5nl9aW.js",
|
||||
"sha256": "93e431486b7ced96c90beda72008f14ffd58d13da69e9b1a8736a603f916bd02",
|
||||
"rawBytes": 14824,
|
||||
"gzipBytes": 3404,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BMSiGS2Q.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-5QnCWIKS.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-BT_P8XGQ.js",
|
||||
"sha256": "5f29ca33bd8ca605c66f1950de7e5e7037dbf9cb18a9351d5c8dbb88191b86c9",
|
||||
"path": "houseplan-assets/summary-panel-metrics-Ye6kl-DC.js",
|
||||
"sha256": "5f6d3eff1b28863746bf264de1374e29b1d4b293ec36081b7dd91e0f94701562",
|
||||
"rawBytes": 2610,
|
||||
"gzipBytes": 1308,
|
||||
"gzipBytes": 1306,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-BMSiGS2Q.js",
|
||||
"sha256": "e0bcc760e475ee325d2ef450d46dd01c8be36199115c524f07786256a79b9004",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-5QnCWIKS.js",
|
||||
"sha256": "fdef33d2ece5d0c44a0325623a2abfd24699c95d613cb48877e2abd28a5be02c",
|
||||
"rawBytes": 72272,
|
||||
"gzipBytes": 19731,
|
||||
"gzipBytes": 19727,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-CuJRJ1sK.js",
|
||||
"houseplan-assets/summary-panel-metrics-BT_P8XGQ.js"
|
||||
"houseplan-assets/summary-panel-editor-DQ5nl9aW.js",
|
||||
"houseplan-assets/summary-panel-metrics-Ye6kl-DC.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-DqRTR7Hc.js",
|
||||
"sha256": "379a9d8b8693aa623adaa648e79e0d135c4166b93d18c86543437d4b0b017311",
|
||||
"path": "houseplan-assets/zigbee-topology-ICocMqfN.js",
|
||||
"sha256": "d3ec8cd1654bb38bce115a9e3d00ecd647372a873063ce72eb260e2821bfa98f",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7428,
|
||||
"gzipBytes": 7430,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BiW5fF3W.js",
|
||||
"sha256": "8864917ffffe701dca49ad77b101afa10e1c54302c36202952495de62698c8be",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DfqOJmji.js",
|
||||
"sha256": "2d4fbf95ea59dcce130108d99832f64e5a8dfbf9a656f52b5ee8414a4904ea36",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1765,
|
||||
"gzipBytes": 1763,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "b2e8054db0fe3273040d9a41756a436ee46542572cbe9577b5b4c926d6b0235e",
|
||||
"sha256": "87fa143886865581fffeef1798049f97e6078bc99ccb97806f25d44a7baf5549",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 806,
|
||||
"gzipBytes": 803,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "21ed6dc9b757c5dc74560f8c53e1ec35658850469cc817b7a3e3a6ad7efa35b9",
|
||||
"sha256": "050d28033a29670c5e135875d1b765db4067f96a486508e55a4468694acfe91a",
|
||||
"rawBytes": 6165,
|
||||
"gzipBytes": 2330,
|
||||
"gzipBytes": 2326,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
+6
-6
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{m as e,l as o,t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-D16ZAY2E.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{m as e,l as o,t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-CsCLBzeF.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
.hass=${this.hass}
|
||||
.data=${this._formData}
|
||||
.schema=${e}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{dS as r,dT as t,dU as s}from"./houseplan-card-CsCLBzeF.js";const e={},a=r(class extends t{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(r,[t,e]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return s}else if(this.ot===t)return s;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,e)}});export{a as i};
|
||||
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{dS as r,dT as t,dU as e}from"./houseplan-card-D16ZAY2E.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
+5
-5
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+30
-30
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{b as a,A as e}from"./houseplan-card-D16ZAY2E.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-BMSiGS2Q.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{b as a,A as e}from"./houseplan-card-CsCLBzeF.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-5QnCWIKS.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
|
||||
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
|
||||
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
|
||||
<input id="summary-local-show" data-summary-local-show type="checkbox"
|
||||
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{e9 as e,L as t,a2 as n,J as i,an as o,N as r,bo as s,bn as a,a1 as c,a0 as l,ax as u,ea as d,eb as f,bq as m,ec as g}from"./houseplan-card-D16ZAY2E.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,c="entity"===r?e.registry.entities?.[s]:null,l="device"===r?s:c?.device_id,u="device"===r?a?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===r&&n.liveEntities.has(s))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*b(c,l,u=_){try{let d=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/o;d+=a(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function p(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{e9 as e,L as t,a2 as n,J as i,an as o,N as r,bo as s,bn as a,a1 as c,a0 as l,ax as u,ea as d,eb as f,bq as m,ec as g}from"./houseplan-card-CsCLBzeF.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,c="entity"===r?e.registry.entities?.[s]:null,l="device"===r?s:c?.device_id,u="device"===r?a?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===r&&n.liveEntities.has(s))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(c,l,u=_){try{let d=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/o;d+=a(v)*_*_/1e4}return d}catch{return null}}function p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function b(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{n as t,b as n}from"./zigbee-topology-DqRTR7Hc.js";import{B as e}from"./houseplan-card-D16ZAY2E.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{n as t,b as n}from"./zigbee-topology-ICocMqfN.js";import{B as e}from"./houseplan-card-CsCLBzeF.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";try{await import("./houseplan-assets/houseplan-card-D16ZAY2E.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";try{await import("./houseplan-assets/houseplan-card-CsCLBzeF.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -20,5 +20,5 @@
|
||||
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
|
||||
"requirements": [],
|
||||
"single_config_entry": true,
|
||||
"version": "1.75.0-beta.1"
|
||||
"version": "1.75.0"
|
||||
}
|
||||
|
||||
Vendored
+141
-141
@@ -1,117 +1,117 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434",
|
||||
"fingerprint": "a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 287323,
|
||||
"initialViewGzipBytes": 287307,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 288847,
|
||||
"initialPanelGzipBytes": 288830,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2330,
|
||||
"initialPanelOnlyGzipBytes": 2326,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/de-DXQkfSq9.js",
|
||||
"houseplan-assets/editor-AlCJ01bj.js",
|
||||
"houseplan-assets/fr-CM1oO_To.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-fgKUHLHF.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CydxVyX1.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Brgd1XkC.js",
|
||||
"houseplan-assets/iso-scene-render-CRiQjWrR.js",
|
||||
"houseplan-assets/live-interaction-runtime-DwsMmPYz.js",
|
||||
"houseplan-assets/pdf-export-CuTSM2Xy.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BMSiGS2Q.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BiW5fF3W.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/de-DDbiqHtI.js",
|
||||
"houseplan-assets/editor-D0MHVWjz.js",
|
||||
"houseplan-assets/fr-DoaJHkAd.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BJvMhsap.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BeR0P-2r.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-7QRFYMqX.js",
|
||||
"houseplan-assets/iso-scene-render-1-ov_SAN.js",
|
||||
"houseplan-assets/live-interaction-runtime-Cnpztjm6.js",
|
||||
"houseplan-assets/pdf-export--FzEe67e.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-5QnCWIKS.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DfqOJmji.js"
|
||||
],
|
||||
"lazyGzipBytes": 417451,
|
||||
"lazyGzipBytes": 417415,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/editor-AlCJ01bj.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-fgKUHLHF.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/editor-D0MHVWjz.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BJvMhsap.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 205007,
|
||||
"lazyEditorGzipBytes": 204994,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CydxVyX1.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BeR0P-2r.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 13920,
|
||||
"lazyOnboardingGzipBytes": 13915,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-DXQkfSq9.js",
|
||||
"houseplan-assets/fr-CM1oO_To.js"
|
||||
"houseplan-assets/de-DDbiqHtI.js",
|
||||
"houseplan-assets/fr-DoaJHkAd.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 54827,
|
||||
"lazyLocaleGzipBytes": 54822,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/iso-scene-render-CRiQjWrR.js"
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/iso-scene-render-1-ov_SAN.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13461,
|
||||
"lazyIsometricGzipBytes": 13454,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/pdf-export-CuTSM2Xy.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/pdf-export--FzEe67e.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120125,
|
||||
"lazyPdfGzipBytes": 120124,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"sha256": "ac5e0897e94b25b9f0fda874031d9d8c5398e60244773b21572065b33be8cc36",
|
||||
"path": "houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"sha256": "b771cd949067487fb990760abe94e7a32ea5ddc490821e5bca609a3f94c1cd79",
|
||||
"rawBytes": 19956,
|
||||
"gzipBytes": 6881,
|
||||
"gzipBytes": 6878,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-DXQkfSq9.js",
|
||||
"sha256": "bd87b557e1f1241c425fcdb3956b5ddc7a64869e5d89e4c0a9a00c608623d39c",
|
||||
"path": "houseplan-assets/de-DDbiqHtI.js",
|
||||
"sha256": "0f62e4b1af983d9c1a4e57a4add238567fa0c97c8cfefdf64db6ae9af0f0d3fc",
|
||||
"rawBytes": 91402,
|
||||
"gzipBytes": 27697,
|
||||
"gzipBytes": 27695,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-AlCJ01bj.js",
|
||||
"sha256": "7d8bb9c49a2b3c709a96935d5ed99a4936a0145ce8b7def421ad6b3a7ae0bfa4",
|
||||
"path": "houseplan-assets/editor-D0MHVWjz.js",
|
||||
"sha256": "cfef9756fb683dd221ffaa7df022427f2ed311ba3344609d53af5f5387fd99a4",
|
||||
"rawBytes": 3832,
|
||||
"gzipBytes": 1586,
|
||||
"gzipBytes": 1584,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-CM1oO_To.js",
|
||||
"sha256": "0fcfc984eee7c4005732d04999b62d7bc91cc56d37992dff1213704723328c86",
|
||||
"path": "houseplan-assets/fr-DoaJHkAd.js",
|
||||
"sha256": "764f71545f6b4f29deaa839d4a265830b1d3ca7a5aa84fdc99932b2c6c922f32",
|
||||
"rawBytes": 93667,
|
||||
"gzipBytes": 27130,
|
||||
"gzipBytes": 27127,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"sha256": "82487bfda9d400d33a939f7e8ca64917df624e98987727e8ae45c6c1a599744d",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"sha256": "6b6ddba56e2b805e196350873d8ba261fd35eb578e09e84302d28add99141898",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10252,
|
||||
"isEntry": false,
|
||||
@@ -119,193 +119,193 @@
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-DJKZsv11.js",
|
||||
"sha256": "273b0fbd23206b4618234e63750dc1416d45dcd48018d7a9353ca0cd93f2ab37",
|
||||
"path": "houseplan-assets/guard-CfOsex3H.js",
|
||||
"sha256": "7239c49e6cc4a8d3d653ad62d08d72544f0601a6eefcc02c88d79a630c85218e",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 371,
|
||||
"gzipBytes": 369,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"sha256": "17c4fe3e77f0c9a6cfd66fa227e18748d55ab2d674b0ca903b97ccb8ad525d89",
|
||||
"rawBytes": 1021222,
|
||||
"gzipBytes": 286517,
|
||||
"path": "houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"sha256": "d08ef45c00d3fa0683261b0bfff815a3de9d81ad2a02097ccb76d32ed3d0ca69",
|
||||
"rawBytes": 1021215,
|
||||
"gzipBytes": 286504,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-DXQkfSq9.js",
|
||||
"houseplan-assets/editor-AlCJ01bj.js",
|
||||
"houseplan-assets/fr-CM1oO_To.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-fgKUHLHF.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CydxVyX1.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Brgd1XkC.js",
|
||||
"houseplan-assets/iso-scene-render-CRiQjWrR.js",
|
||||
"houseplan-assets/live-interaction-runtime-DwsMmPYz.js",
|
||||
"houseplan-assets/pdf-export-CuTSM2Xy.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BMSiGS2Q.js"
|
||||
"houseplan-assets/de-DDbiqHtI.js",
|
||||
"houseplan-assets/editor-D0MHVWjz.js",
|
||||
"houseplan-assets/fr-DoaJHkAd.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BJvMhsap.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BeR0P-2r.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-7QRFYMqX.js",
|
||||
"houseplan-assets/iso-scene-render-1-ov_SAN.js",
|
||||
"houseplan-assets/live-interaction-runtime-Cnpztjm6.js",
|
||||
"houseplan-assets/pdf-export--FzEe67e.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-5QnCWIKS.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-fgKUHLHF.js",
|
||||
"sha256": "2a0e17d5070a0d59ce9489c044a580ad8613327fec1d5f1e8db565599a1e940a",
|
||||
"rawBytes": 668820,
|
||||
"gzipBytes": 178489,
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-BJvMhsap.js",
|
||||
"sha256": "1aff2db3a9b086fe66cdb7c4fce595ffc9ae3b20414f4db050dbae975d574a78",
|
||||
"rawBytes": 668813,
|
||||
"gzipBytes": 178481,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-BiW5fF3W.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-DfqOJmji.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CydxVyX1.js",
|
||||
"sha256": "8f4e90a95d86e8e6f08e269a3b773053d92ea9d0f4a4790a5961d466c57134f2",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-BeR0P-2r.js",
|
||||
"sha256": "cde324210afcc003e3bcf41b94a30379e4c79b3f99c74a620cdc3e5b5562a088",
|
||||
"rawBytes": 28287,
|
||||
"gzipBytes": 7039,
|
||||
"gzipBytes": 7037,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-CyY8a1an.js",
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/backdrop-pick-D_jVDDwc.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-Brgd1XkC.js",
|
||||
"sha256": "e7559502c578608954dd7d0f0d5f37986be195d4f5482378704f5d4343877f20",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-7QRFYMqX.js",
|
||||
"sha256": "4c0f85f0374767147516a4805b7b9238b71f765b2671cade03b9781cf63fec1d",
|
||||
"rawBytes": 10756,
|
||||
"gzipBytes": 3684,
|
||||
"gzipBytes": 3682,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BiW5fF3W.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DfqOJmji.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-CRiQjWrR.js",
|
||||
"sha256": "28db416e756a24dd9f519ac455875cc42ecdd9d596b1b62385d15eb3f57e500e",
|
||||
"path": "houseplan-assets/iso-scene-render-1-ov_SAN.js",
|
||||
"sha256": "e16c62737a27f599fd830d8a5838d58828a28a027bf6af4703e50ecc2a34c632",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13090,
|
||||
"gzipBytes": 13085,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-DJKZsv11.js",
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/guard-CfOsex3H.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-DwsMmPYz.js",
|
||||
"sha256": "d2e30f3a1307339a011eb83a4b2da44aa2bce1d1ff06059e5aa9b12c0e11fa7c",
|
||||
"path": "houseplan-assets/live-interaction-runtime-Cnpztjm6.js",
|
||||
"sha256": "3ae9fc8c05ee41fe4b548d109858a2e3ade6178992c1f37476981dcf1cb9bb0b",
|
||||
"rawBytes": 6032,
|
||||
"gzipBytes": 2435,
|
||||
"gzipBytes": 2433,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-CuTSM2Xy.js",
|
||||
"sha256": "12992685f882a72f6366fafdefdd00dd2a2255aeca95c59d9e8e5a381872a333",
|
||||
"path": "houseplan-assets/pdf-export--FzEe67e.js",
|
||||
"sha256": "dd75e36f3b5e8b5e8a31e8a16e64884d9182adcd477755081152c3b15a1222a5",
|
||||
"rawBytes": 236244,
|
||||
"gzipBytes": 109873,
|
||||
"gzipBytes": 109872,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DznZ2Fx_.js",
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-ChIdtLxG.js",
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-CuJRJ1sK.js",
|
||||
"sha256": "01e7022dd28df2509b5b3ec9f18b8abe54f6ae81801bf0df55b40c24089e0445",
|
||||
"path": "houseplan-assets/summary-panel-editor-DQ5nl9aW.js",
|
||||
"sha256": "93e431486b7ced96c90beda72008f14ffd58d13da69e9b1a8736a603f916bd02",
|
||||
"rawBytes": 14824,
|
||||
"gzipBytes": 3404,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BMSiGS2Q.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-5QnCWIKS.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-BT_P8XGQ.js",
|
||||
"sha256": "5f29ca33bd8ca605c66f1950de7e5e7037dbf9cb18a9351d5c8dbb88191b86c9",
|
||||
"path": "houseplan-assets/summary-panel-metrics-Ye6kl-DC.js",
|
||||
"sha256": "5f6d3eff1b28863746bf264de1374e29b1d4b293ec36081b7dd91e0f94701562",
|
||||
"rawBytes": 2610,
|
||||
"gzipBytes": 1308,
|
||||
"gzipBytes": 1306,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-BMSiGS2Q.js",
|
||||
"sha256": "e0bcc760e475ee325d2ef450d46dd01c8be36199115c524f07786256a79b9004",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-5QnCWIKS.js",
|
||||
"sha256": "fdef33d2ece5d0c44a0325623a2abfd24699c95d613cb48877e2abd28a5be02c",
|
||||
"rawBytes": 72272,
|
||||
"gzipBytes": 19731,
|
||||
"gzipBytes": 19727,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-CuJRJ1sK.js",
|
||||
"houseplan-assets/summary-panel-metrics-BT_P8XGQ.js"
|
||||
"houseplan-assets/summary-panel-editor-DQ5nl9aW.js",
|
||||
"houseplan-assets/summary-panel-metrics-Ye6kl-DC.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-DqRTR7Hc.js",
|
||||
"sha256": "379a9d8b8693aa623adaa648e79e0d135c4166b93d18c86543437d4b0b017311",
|
||||
"path": "houseplan-assets/zigbee-topology-ICocMqfN.js",
|
||||
"sha256": "d3ec8cd1654bb38bce115a9e3d00ecd647372a873063ce72eb260e2821bfa98f",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7428,
|
||||
"gzipBytes": 7430,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BiW5fF3W.js",
|
||||
"sha256": "8864917ffffe701dca49ad77b101afa10e1c54302c36202952495de62698c8be",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DfqOJmji.js",
|
||||
"sha256": "2d4fbf95ea59dcce130108d99832f64e5a8dfbf9a656f52b5ee8414a4904ea36",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1765,
|
||||
"gzipBytes": 1763,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js",
|
||||
"houseplan-assets/zigbee-topology-DqRTR7Hc.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js",
|
||||
"houseplan-assets/zigbee-topology-ICocMqfN.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "b2e8054db0fe3273040d9a41756a436ee46542572cbe9577b5b4c926d6b0235e",
|
||||
"sha256": "87fa143886865581fffeef1798049f97e6078bc99ccb97806f25d44a7baf5549",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 806,
|
||||
"gzipBytes": 803,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "21ed6dc9b757c5dc74560f8c53e1ec35658850469cc817b7a3e3a6ad7efa35b9",
|
||||
"sha256": "050d28033a29670c5e135875d1b765db4067f96a486508e55a4468694acfe91a",
|
||||
"rawBytes": 6165,
|
||||
"gzipBytes": 2330,
|
||||
"gzipBytes": 2326,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-D16ZAY2E.js"
|
||||
"houseplan-assets/houseplan-card-CsCLBzeF.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
Vendored
+6
-6
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{m as e,l as o,t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-D16ZAY2E.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{m as e,l as o,t,e3 as s,A as a,e4 as i,e5 as l,e6 as n,dU as r,b as c}from"./houseplan-card-CsCLBzeF.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
.hass=${this.hass}
|
||||
.data=${this._formData}
|
||||
.schema=${e}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{dS as r,dT as t,dU as s}from"./houseplan-card-CsCLBzeF.js";const e={},a=r(class extends t{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(r,[t,e]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return s}else if(this.ot===t)return s;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,e)}});export{a as i};
|
||||
-1
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{dS as r,dT as t,dU as e}from"./houseplan-card-D16ZAY2E.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
Vendored
+5
-5
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+30
-30
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{b as a,A as e}from"./houseplan-card-D16ZAY2E.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-BMSiGS2Q.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{b as a,A as e}from"./houseplan-card-CsCLBzeF.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-5QnCWIKS.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
|
||||
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
|
||||
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
|
||||
<input id="summary-local-show" data-summary-local-show type="checkbox"
|
||||
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{e9 as e,L as t,a2 as n,J as i,an as o,N as r,bo as s,bn as a,a1 as c,a0 as l,ax as u,ea as d,eb as f,bq as m,ec as g}from"./houseplan-card-D16ZAY2E.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,c="entity"===r?e.registry.entities?.[s]:null,l="device"===r?s:c?.device_id,u="device"===r?a?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===r&&n.liveEntities.has(s))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*b(c,l,u=_){try{let d=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/o;d+=a(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function p(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{e9 as e,L as t,a2 as n,J as i,an as o,N as r,bo as s,bn as a,a1 as c,a0 as l,ax as u,ea as d,eb as f,bq as m,ec as g}from"./houseplan-card-CsCLBzeF.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,c="entity"===r?e.registry.entities?.[s]:null,l="device"===r?s:c?.device_id,u="device"===r?a?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===r&&n.liveEntities.has(s))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(c,l,u=_){try{let d=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/o;d+=a(v)*_*_/1e4}return d}catch{return null}}function p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function b(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";import{n as t,b as n}from"./zigbee-topology-DqRTR7Hc.js";import{B as e}from"./houseplan-card-D16ZAY2E.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";import{n as t,b as n}from"./zigbee-topology-ICocMqfN.js";import{B as e}from"./houseplan-card-CsCLBzeF.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="db6c6f74397f8a289b9b9f17e93918b2a256bec80eedc4062181514c5d795434";try{await import("./houseplan-assets/houseplan-card-D16ZAY2E.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a72517204d598013fbcfa170c7c642f4affcb1d9938180e46b9b0c4a31e04262";try{await import("./houseplan-assets/houseplan-card-CsCLBzeF.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -2,6 +2,16 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
## v1.75.0 — 2026-09-12
|
||||
|
||||
- The House Plan sidebar page no longer gets stuck on a previous version of the
|
||||
card: it fetched the card through the one address in the distribution that
|
||||
carries no version, and a browser was free to serve a cached copy for hours.
|
||||
The panel now asks for the implementation by its content-hashed name — either
|
||||
the card it was built with arrives, or the panel says out loud that the page
|
||||
needs a reload
|
||||
([#535](https://github.com/Matysh/houseplan-card/issues/535)).
|
||||
|
||||
## v1.75.0-beta.1 — 2026-09-12
|
||||
|
||||
- The House Plan sidebar page can no longer get stuck on a previous version of
|
||||
|
||||
@@ -8,6 +8,15 @@
|
||||
|
||||
## Не выпущено
|
||||
|
||||
## v1.75.0 — 2026-09-12
|
||||
|
||||
- Пункт меню House Plan больше не застревает на прошлой версии карточки: он
|
||||
тянул её по единственному адресу в дистрибутиве, у которого нет версии, и
|
||||
браузер был вправе часами отдавать копию из кэша. Теперь панель просит
|
||||
реализацию по имени с хешем содержимого — либо приезжает ровно та карточка, с
|
||||
которой она собрана, либо панель вслух говорит, что страницу надо перезагрузить
|
||||
([#535](https://github.com/Matysh/houseplan-card/issues/535)).
|
||||
|
||||
## v1.75.0-beta.1 — 2026-09-12
|
||||
|
||||
- Пункт меню House Plan больше не может застрять на прошлой версии карточки.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- release: v1.75.0-beta.1 -->
|
||||
<!-- release: v1.75.0 -->
|
||||
|
||||
## Основное
|
||||
|
||||
@@ -12,5 +12,5 @@
|
||||
|
||||
Сообщество / Community: [Telegram](https://t.me/ha_houseplan)
|
||||
|
||||
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.75.0-beta.1/docs/CHANGELOG.ru.md)
|
||||
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.75.0-beta.1/docs/CHANGELOG.md)
|
||||
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.75.0/docs/CHANGELOG.ru.md)
|
||||
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.75.0/docs/CHANGELOG.md)
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ metadata). Only an explicit owner-approved emergency hotfix may skip this gate.
|
||||
|
||||
| Item | State |
|
||||
|---|---|
|
||||
| Version | **v1.75.0-beta.1** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
|
||||
| Current local cycle | **Beta v1.75.0-beta.1** — the first beta of the line after the stable v1.74.0, published from `dev`; `main` stays on v1.74.0. One user-visible fix: the House Plan sidebar page could serve a previous version of the card for hours, because the panel entry fetched the card through `./houseplan-card.js` — a relative specifier, and relative resolution does not inherit the `?v=` a dashboard gets from its Lovelace resource, while the entry files carry no `Cache-Control` at all. The panel now imports the implementation by its content-hashed name, so either the matching card arrives or the panel says out loud that the page is stale (#535). Internal in the line: #536 — the version banner now asks the host to repaint when it drops the notice on disconnect, instead of relying on some unrelated update to remove it. The banner still offers only "reload the page", which cannot help when the frontend is newer than the backend (files updated, Home Assistant not yet restarted) — that distinction is not yet an issue. |
|
||||
| Version | **v1.75.0** everywhere (manifest, const.py, package.json, package-lock in both places, CARD_VERSION in the card and the editor runtime) |
|
||||
| Current local cycle | **Stable v1.75.0** — `main` is fast-forwarded to the tested `dev` SHA and the GitHub Release is public. The line aggregates from the stable v1.74.0 and carries one user-visible fix: the House Plan sidebar page could serve a previous version of the card for hours, because the panel entry fetched it through `./houseplan-card.js` — a relative specifier, and relative resolution does not inherit the `?v=` a dashboard gets from its Lovelace resource, while the entry files carry no `Cache-Control` at all. The panel now imports the implementation by its content-hashed name, so either the matching card arrives or the panel says out loud that the page is stale (#535). Internal in the line: #536 — the version banner asks the host to repaint when it drops the notice on disconnect, instead of relying on an unrelated update. Shipped as v1.75.0-beta.1 the same day; the stable is promotion-only on top of it. Known contradiction found while publishing: `scripts/release-contract.mjs` requires the grouped "small fixes" bullet unconditionally, while `npm run release:notes -- <tag> --verify` rejects it when every user-visible issue of the range is already itemised — the two rules deadlock any stable with a single user-visible issue. The contract won here because it is the automated gate; the verifier was run and its objection recorded rather than silenced. The banner still offers only "reload the page", which cannot help when the frontend is newer than the backend (files updated, Home Assistant not restarted) — not yet an issue. |
|
||||
| Hidden Alpha Stage | #89 Stage 1 ships in v1.63.0-beta.1, #122 Stage 2 in v1.64.0 and #160 Stage 3 in v1.73.0-beta.1. The same hidden `iso` view uses the fixed 4° camera, raised/tethered device-room-lock overlays, deeper openings and bounded theme materials; #471 removes the overlay plates from paint while retaining their safety geometry. Since #448 the experiment is enabled only through the single indefinite browser-local `hp_alpha` gate; it is not expiring and has no per-stage key. Flat remains default; editors, `houseplan-space-card`, floor effects, stored coordinates and HA actions remain unchanged. Stage 3 stays internal and is absent from public changelog/user documentation. |
|
||||
| Workflow | Superseded 2026-08-12: the pre-1.62 rule of "local edits without tests or commits" is **dead** — since release 1.62 every product change follows `PROCESS.md` (issue in `S5-ready`+, branch `issue/<NN>-slug`, trailers on every commit, review pipeline; `AGENTS.md` is the summary). Release mechanics below remain current. A requested pre-release gets a production build plus the smallest targeted unit/smoke set covering the changed surfaces, one tested `dev` commit/tag and a GitHub Release with `prerelease=true`; `main` stays untouched. The complete local frontend/backend/smoke gate runs only before a stable release, after which `main` is fast-forwarded to the exact tested `dev` SHA and the GitHub Release uses `prerelease=false`. Release bodies are short and bilingual (Russian first); every bullet links its GitHub issue (#NN) so the #328 rules stay machine-checkable. A STABLE body aggregates the changelog since the PREVIOUS STABLE release (never since the last beta): features/fixes described across the line's beta changelogs must appear, while bugs that were introduced and fixed strictly inside the beta line (never shipped in any stable) are excluded — draft with `npm run release:notes -- <tag>`, curate by hand, then `npm run release:notes -- <tag> --verify` must pass. `Мелкие исправления и улучшения` / `Small fixes and improvements` is allowed only when the range really contains user-visible work not itemised in the body; a single-issue hotfix ships without it (the verifier enforces this). Every body ends with separate links to the Russian and English changelogs. Open or partially delivered issues are never presented as shipped. Telegram announcements are sent only for stable releases; beta and RC publication is silent. `docs/RELEASE-NOTES.md` is the current canonical body instance; `npm run release:prerelease -- <tag> --issues=… --yes` is the primary local publication path and the manual `Publish prerelease` workflow is its GitHub-only equivalent once present on `main`. Nothing is copied to the home instance by hand |
|
||||
| GitHub | https://github.com/Matysh/houseplan-card — [Issues](https://github.com/Matysh/houseplan-card/issues) are the canonical task records; their labels carry priority and workflow status (`PROCESS.md` §9). GitHub Projects is no longer used. `main` carries stable releases; pre-release tags may point directly at `dev`. Work lands on `dev` and is merged into `main` for a stable release, so `dev` is normally equal to or ahead of `main`, never behind. Push via SSH key `ha_jb` (remote git@github.com:…); API releases via the fine-grained PAT in `~/.git-credentials` (Contents R/W, issued 2026-07-23) |
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "houseplan-card",
|
||||
"version": "1.75.0-beta.1",
|
||||
"version": "1.75.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "houseplan-card",
|
||||
"version": "1.75.0-beta.1",
|
||||
"version": "1.75.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"lit": "^3.1.3",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "houseplan-card",
|
||||
"version": "1.75.0-beta.1",
|
||||
"version": "1.75.0",
|
||||
"description": "Interactive house plan Lovelace card for Home Assistant",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
||||
@@ -417,7 +417,7 @@ import type { MarkerRoomReferenceSnapshot } from './room-reference-transaction';
|
||||
import { SummaryRuntimeSlot, summaryRuntimeLoader } from './summary-runtime-loader';
|
||||
import { displayVersion } from './card-version';
|
||||
|
||||
const CARD_VERSION = '1.75.0-beta.1';
|
||||
const CARD_VERSION = '1.75.0';
|
||||
const ENTRY_BUILD_FINGERPRINT = '__HOUSEPLAN_SOURCE_FINGERPRINT__';
|
||||
const EDITOR_RETRY_ASSET = '__HOUSEPLAN_EDITOR_RETRY_ASSET__';
|
||||
const ISO_RETRY_ASSET = '__HOUSEPLAN_ISO_RETRY_ASSET__';
|
||||
|
||||
@@ -388,7 +388,7 @@ import {
|
||||
rewriteMarkerRoomReferences, type MarkerRoomReferenceSnapshot,
|
||||
} from './room-reference-transaction';
|
||||
|
||||
const CARD_VERSION = '1.75.0-beta.1';
|
||||
const CARD_VERSION = '1.75.0';
|
||||
|
||||
// #474: the editor imports the furniture artwork statically and hands it to
|
||||
// the page runtime the moment this chunk evaluates — before the loader's
|
||||
|
||||
Reference in New Issue
Block a user