Releases: zachowj/node-red-contrib-home-assistant-websocket
v0.57.2
v0.57.1
v0.57.0
0.57.0 (2023-10-02)
Always recommend doing a backup of your flows before upgrading.
⚠ BREAKING CHANGES
Exposure As:
We've completely overhauled the "expose as" system! Now, it uses a switch entity config, allowing a single switch entity to control multiple event nodes. Please note that this is a breaking change. To continue using the expose as functionality, make sure to update the node schema from the Node-RED UI.
Trigger Service:
We've simplified the trigger service. It now accepts only two optional data properties: output_path
and message
.
output_path
: Specify a comma-separated list of paths to send the message to. Use '0' to send the message to all paths.message
: Define the message object to be sent to the next node.
Device Node:
In the companion integration, we've updated the endpoints. To ensure proper functionality, you'll need version 3.0.0+ for this node.
- Rename websocket type for device action/trigger
- Message type change for device actions. Requires updated companion component.
- device: Expose as won't work until manually converted in the Node-RED UI. Device node requires minimum 2.2.1 of hass-node-red.
- poll-state: drop support for entity.timeSinceChanged
- events-state: Change expose as to use entity config
- events-state: Expose as won't work until manually converted in the Node-RED UI
- zone: Expose as won't work until manually converted in the Node-RED UI
- Expose as trigger no longer handles condition validation. It will only pass on the message sent through the service call and which outputs are selected.
Features
- Add expose as (8c7991c)
- Add expose as controller (a50590c)
- poll-state: Add output properties (13de0d7)
- webhook: Add expose as (8ee8ba4)
Bug Fixes
- binary-sensor: Handle async for attributes (240de61), closes #1079
- Change evaluateJSONataExpression to use callback (#1063) (5e74756), closes #898
- Default isEnable to true (39c8b03)
- Fix duplication of nodes when converting expose as (39c8b03)
- Fix isTranslationKey to include __ (ae14702)
- Fix trigger service so zero sends to all paths (a2697b2)
- get-entities: Handle async reduce (2652acb)
- Handle translation keys that aren't strings (da96c65)
- Only render expose as when necessary (6fbe53d)
- Only translate when it is looks like a key (a6f0f36)
- scrubber: Add all current HA nodes to scrubber (4b12a49)
- sensor: Handle async for attributes (240de61)
- sentence: Sentence node requires hass-node-red v2.2+ (4449d9b)
- Show the correct error message not unknown (e598b92)
- tag: Listen for correct event (0fc163d)
- time: Handle onStateChanged errors (8365b5a)
- time: Stop status message from getting cut off (855de64)
- trigger-state: Fix migrations for version 3 (4cbbb46)
- trigger-state: Only output custom ouputs with valid conditions (7d123fd)
Miscellaneous Chores
Code Refactoring
- device: Change expose as to use entity config (67756d1)
- events-state: Change expose as to use entity config (2013080)
- events-state: Convert controller to Typescript (2013080)
- Expose as trigger only passes on a message payload (#1019) (3774f8c)
- poll-state: Convert controller to typescript (13de0d7)
- zone: Convert controller to Typescript (16bd3eb)
0.57.0 beta 3
0.57.0 beta 2
0.57.0 beta 1
Welcome to the Home Assistant WebSocket Node-RED Beta Release Notes
Always recommend doing a backup of your flows before upgrading.
Breaking Changes
Exposure As:
We've completely overhauled the "expose as" system! Now, it uses a switch entity config, allowing a single switch entity to control multiple event nodes. Please note that this is a breaking change. To continue using the expose as functionality, make sure to update the node schema from the Node-RED UI.
Trigger Service:
We've simplified the trigger service. It now accepts only two optional data properties: output_path
and message
.
output_path
: Specify a comma-separated list of paths to send the message to. Use '0' to send the message to all paths.message
: Define the message object to be sent to the next node.
Device Node:
In the companion integration, we've updated the endpoints. To ensure proper functionality, you'll need version 3.0.0+ for this node.
Installation
Bare Metal / Docker
To install or update, use npm inside the config directory:
npm install node-red-contrib-home-assistant-websocket@beta
or
Upload the attached file using the palette manager in Node-RED.
Home Assistant Add-on
Add the beta release to the npm_packages
config option.
npm_packages:
- node-red-contrib-home-assistant-websocket@beta
init_commands:
- (cd /config/node-red/ && npm uninstall node-red-contrib-home-assistant-websocket)
The full changelog change can be found in the release pull request #1070
v0.56.1
v0.56.0
v0.55.1
v0.55.0
0.55.0 (2023-07-18)
Breaking Change
Requires a minimum version of Home Assistant 2023.3.0
Features
- time-entity: Add time entity node (ae190fd)
Bug Fixes
- number: Fix removing of entity listeners (3cad0da)
- select: Fix removing of entity listeners (3cad0da)
- text: Fix removing of entity listeners (3cad0da)
- time-entity: Fix mislabeled locale strings (e898c6d)
Performance Improvements
- Use entity registry for display it has smaller payload (d630751)