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)