github zachowj/node-red-contrib-home-assistant-websocket v0.84.0

2 hours ago

0.84.0 (2026-12-05)

Home Assistant node state now uses Node-RED context storage instead of lowdb. Select a store from the Home Assistant sidebar; this choice affects only Home Assistant integration data. Existing data is imported automatically, and the lowdb file is retained as a backup. To preserve node enabled states, entity last values, and hidden issue settings across restarts, choose a persistent store such as localfilesystem.

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/#context-storage

⚠ BREAKING CHANGES

  • Entity update failures are now reported as node errors instead of being silently logged. Sensor and binary sensor nodes will enter an error state when Home Assistant rejects an update or the connection is lost. Flows relying on these nodes remaining green after failed updates may need to be updated. Failed updates are no longer stored for automatic resend.

Features

  • add haBooleans support to TypedInputService and update createControllerDependencies (54310f6), closes #1933
  • add StatesUpdated event to ClientEvent enum and update Websocket state handling (d60905d), closes #2085 #1908
  • enhance label filtering logic in GetEntitiesController and add integration tests (d3972da), closes #2004
  • export input schemas for various nodes and add comprehensive tests (86f8b8e)
  • implement subscribeRegistryUpdates function for streamlined registry updates and add unit tests for entity registry (fe371c3), closes #2086 #2042
  • storage: use Node-RED context for persistent state (24f28c0)
  • value versions and Available for number, text, select and time (#2131) (5a9cceb)

Bug Fixes

  • action: keep the selected action when the server changes (#2121) (af0891a)
  • deps: update dependency jsonata to v2.2.1 [security] (#2092) (5a2a577)
  • deps: update dependency jsonata to v2.2.2 (#2111) (ca1f69c)
  • deps: update dependency ws to ^8.23.0 (#2113) (4355dd7)
  • get-history: enhance GetHistoryController to support message date overrides and add unit tests (e8efe30), closes #2016
  • renovate: add minimum release age rule for npm packages (568d32b)
  • report entity updates Home Assistant rejects (#2112) (ff4dd46)
  • sensor-base: implement inputOverride handling in SensorBaseController and add unit tests (3d09e39), closes #900
  • server: update migration functions to preserve configured values during schema migration (f43e1eb), closes #2024
  • ValueEntityIntegration: handle errors in updateValue and add unit tests (f5a4bf6), closes #1287
  • wait-until: prevent early return in onInput when inactive and add test for overlapping events (6f6d884), closes #1797
  • wait-until: update entity handling in WaitUntilController and add unit tests (d6cf41d), closes #1781
  • websocket: don't crash on invalid JSON during auth (#2122) (3f92b80)

Code Refactoring

  • tests: update assertions to use 'toHaveBeenCalledExactlyOnceWith' for consistency (ca2336f)
  • update TypeScript eslint rules and improve tests (83480f4)
  • use the entity state names from home-assistant-js-websocket (#2141) (a42d46c)

Tests

  • GetHistory: update outputLocationType to use ContextLocation and add ClientState import (be9ee90)

Miscellaneous Chores

  • add dependencyDashboard setting to renovate configuration (a28ec67)
  • add exclude option for test directory in tsconfig (b962b58)
  • deps: replace dependency eslint-plugin-vitest with @vitest/eslint-plugin ^1.0.1 (#2099) (0f87675)
  • deps: update axios, geolib, home-assistant-js-websocket, joi, and ws to latest versions (8076cff)
  • deps: update dependency @types/jqueryui to ^1.12.25 (#2100) (b1b26aa)
  • deps: update dependency @types/lodash to ^4.17.27 (#2102) (a9eb7a6)
  • deps: update dependency @types/lodash to ^4.17.28 (#2138) (d36aa00)
  • deps: update dependency @types/node to ^22.20.7 (#2132) (950a73b)
  • deps: update dependency @vitest/eslint-plugin to ^1.6.28 (#2103) (d3e08ea)
  • deps: update dependency @vuepress/bundler-vite to ^2.0.0-rc.32 (#2115) (b447e3d)
  • deps: update dependency @vuepress/bundler-vite to ^2.0.0-rc.33 (#2133) (c2cef12)
  • deps: update dependency @vuepress/plugin-copy-code to ^2.0.0-rc.138 (#2116) (b81ced3)
  • deps: update dependency @vuepress/plugin-copy-code to ^2.0.0-rc.139 (#2123) (2819e6c)
  • deps: update dependency @vuepress/plugin-copy-code to ^2.0.0-rc.142 (#2134) (e186ea9)
  • deps: update dependency @vuepress/plugin-markdown-include to v2.0.0-rc.137 (#2104) (2796f6d)
  • deps: update dependency @vuepress/plugin-markdown-include to v2.0.0-rc.138 (#2117) (867fd71)
  • deps: update dependency @vuepress/plugin-markdown-include to v2.0.0-rc.139 (#2124) (560cd9f)
  • deps: update dependency @vuepress/plugin-markdown-include to v2.0.0-rc.142 (#2135) (b54df8b)
  • deps: update dependency @vuepress/plugin-prismjs to ^2.0.0-rc.138 (#2118) (561790c)
  • deps: update dependency @vuepress/plugin-prismjs to ^2.0.0-rc.139 (#2125) (477d553)
  • deps: update dependency @vuepress/plugin-prismjs to ^2.0.0-rc.142 (#2136) (c98ea4c)
  • deps: update dependency autoprefixer to ^10.6.2 (#2105) (760024b)
  • deps: update dependency autoprefixer to ^10.7.0 (#2130) (cb4c28c)
  • deps: update dependency eslint-config-prettier to ^10.1.9 (#2139) (2d1a3d2)
  • deps: update dependency lint-staged to ^17.6.1 (#2119) (cab0347)
  • deps: update dependency lint-staged to ^17.6.2 (#2126) (4691a68)
  • deps: update dependency node to v24.22.3 (#2114) (9903fea)
  • deps: update dependency node-red to ^5.0.10 (#2127) (46c3857)
  • deps: update dependency node-red to ^5.0.9 (#2106) (75cf424)
  • deps: update dependency postcss to ^8.5.32 (#2107) (b5ba8f4)
  • deps: update dependency postcss to ^8.5.33 (#2120) (d678f8b)
  • deps: update dependency prettier to ^3.9.10 (#2108) (424196c)
  • deps: update dependency vue to ^3.5.45 (#2109) (9d7d264)
  • deps: update dependency vue to ^3.5.46 (#2128) (b15a18a)
  • deps: update vuepress monorepo (#2129) (854e1b0)
  • deps: update vuepress monorepo (#2137) (a76fbd8)

Don't miss a new node-red-contrib-home-assistant-websocket release

NewReleases is sending notifications on new releases.