Bump HAWS to 7.0.3 (#12358)

This commit is contained in:
Paulus Schoutsen 2022-04-19 10:50:18 -07:00 committed by GitHub
parent f648317206
commit aa129aa123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -108,7 +108,7 @@
"fuse.js": "^6.0.0",
"google-timezones-json": "^1.0.2",
"hls.js": "^1.1.5",
"home-assistant-js-websocket": "^7.0.1",
"home-assistant-js-websocket": "^7.0.3",
"idb-keyval": "^5.1.3",
"intl-messageformat": "^9.9.1",
"js-yaml": "^4.1.0",

View File

@ -384,7 +384,7 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) {
for (const entry of filteredEntities) {
const entity = this.hass.states[entry.entity_id];
const unavailable = entity?.state === UNAVAILABLE;
const restored = entity?.attributes.restored;
const restored = entity?.attributes.restored === true;
const areaId = entry.area_id ?? deviceLookup[entry.device_id!]?.area_id;
const area = areaId ? areaLookup[areaId] : undefined;

View File

@ -9128,7 +9128,7 @@ fsevents@^1.2.7:
gulp-rename: ^2.0.0
gulp-zopfli-green: ^3.0.1
hls.js: ^1.1.5
home-assistant-js-websocket: ^7.0.1
home-assistant-js-websocket: ^7.0.3
html-minifier: ^4.0.0
husky: ^1.3.1
idb-keyval: ^5.1.3
@ -9198,10 +9198,10 @@ fsevents@^1.2.7:
languageName: unknown
linkType: soft
"home-assistant-js-websocket@npm:^7.0.1":
version: 7.0.1
resolution: "home-assistant-js-websocket@npm:7.0.1"
checksum: c9a87f11222571226adff43f022008d35df1f78799efae43e9a36f768eef10d21aed99886c905086c42c24d85d47c78e328c1be9593c117b397a18ee86b2fe64
"home-assistant-js-websocket@npm:^7.0.3":
version: 7.0.3
resolution: "home-assistant-js-websocket@npm:7.0.3"
checksum: f2647fab4599069a6422b53661de0c8c5177408e297e89f35b442c5d8e65d31d7f607e6e6a813f4ec8af9d581b45a20b88b44bfedbe25b6c3f01fcc38d0e396e
languageName: node
linkType: hard