All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.74.2 (2024-10-24)
- release 0.74.2 (cb4eb60)
0.74.1 (2024-10-09)
0.74.0 (2024-10-07)
- slovak translation (623d75b)
- action: preserve domain and service while addressing deprecated notice (613e505), closes #1622
- api: Await websocket send in ApiController (3319bf4)
- fire-event: Handle errors when sending events via websocket (38167fc)
- integration: Handle errors when sending and unregistering entities (cb72c3f)
- time: Improve handling of cronjobs creation (680227a), closes #1490
0.73.0 (2024-09-19)
- time: Added option to allow past date inputs without throwing errors (a1e16ee)
0.72.4 (2024-09-16)
- socialbar: replace Discord button link with permanent invite code (a1a4016)
- socialbar: update Discord button link to new URL (3adc8c5)
0.72.3 (2024-09-16)
- comms: update stateChanged handling to use HassEntity and prevent null entries (fc62241)
- diagnostics: correctly fetch and display addon version (c26c7ee)
0.72.2 (2024-09-12)
- Update virtual-select.ts to handle null attributes in createSelectOptions function (557271c)
0.72.1 (2024-09-12)
- ensure comms throttle works as intended (4065746)
0.72.0 (2024-09-11)
- sentence: Add support for custom responses in the sentence node (bdfcd95)
0.71.0 (2024-09-09)
- number: Promote number node from beta to stable (f235081)
- select: Promote select node from beta to stable (f235081)
- text: Promote text node from beta to stable (f235081)
- time-entity: Promote time-entity node from beta to stable (f235081)
- get-entities: Add timeSinceChangedMs to the states before condition checks (5036246)
0.70.0 (2024-09-09)
- action: Add option to block input overrides in action nodes (8dd947f), closes #1489
- number: Add "Expose as" option for Listening mode in number node (e7441e1)
- select: Add "Expose as" option for Listening mode in select node (8dfffb3)
- text: Add "Expose as" option for Listening mode in text node (60d69d2)
- time-entity: Add "Expose as" option for Listening mode in time-entity node (7ae8c09)
0.69.1 (2024-09-06)
- issues: gracefully skip unparseable data (f6e192d)
0.69.0 (2024-09-06)
- issues: Validate entity_id placement within the correct property for the action node (eef3717)
0.68.10 (2024-09-05)
- issues: Target "all" for an entity id valid (3e31f65)
0.68.9 (2024-09-01)
- issues: Ignore nodes when in a disabled tab (85589ba)
0.68.8 (2024-08-30)
- Add null check for new_state in TriggerStateController and ZoneController (5258e4a)
- wait-until: Handle undefined entity in timeSinceChangedMs calculation (0512e1f), closes #1519
0.68.7 (2024-08-29)
- wait-until: Add null check for new_state in WaitUntilController (b526b00)
0.68.6 (2024-08-28)
- action: Ensure label displays only once (37c143d)
0.68.5 (2024-08-28)
- action: Fix target labels to include device/area labels (23f0c72)
0.68.4 (2024-08-28)
- issues: Fix possible memory leak from event listeners (929a309)
0.68.3 (2024-08-28)
- issues: Wait until HA is in running state to check issues (fdda4fd)
0.68.2 (2024-08-27)
0.68.1 (2024-08-27)
- action: correctly apply bitmask for supported features (e4d4e97)
- issues: Ignore all disabled nodes (526504a)
0.68.0 (2024-08-26)
- Dropping support for node v16
- issues: Implement issue detection for Home Assistant nodes (61eb103)
- Fix ID selector to include state only entities (8057dd7)
- Update node version to 18 (f0c5f3d)
0.67.2 (2024-08-18)
0.67.1 (2024-08-18)
0.67.0 (2024-08-17)
- action: Add filters to ID selectors (8d34e43)
0.66.1 (2024-08-17)
- Move entity_id from target field to data field (1ae771d)
0.66.0 (2024-08-16)
- Entity IDs incorrectly placed in
targets.entity_id
instead ofdata.entity_id
will now trigger errors. - wait-until: If a wait-until node times out and the entity selector has multiple entities, the output property 'entity' will have an undefined value.
- device: Fix device action to send entity to HA
- action: The call-service node has been renamed to the action node. The domain and service input properties are deprecated and will be removed in version 1.0. Please use the action property instead.
- action: Add selector for floor and label (20e08ab)
- Add support for floors and labels (36c2c9d)
- api: Add DELETE and PUT methods to the API node (7bba5af), closes #1435
- events-state: Update event state listener to allow listening to multiple types (57a8ab7)
- get-entities: Add device/area/floor/label conditions (b194eb0)
- trigger-state: Update listener to allow listening to multiple types at once (a14a7f3)
- wait-until: Update wait-until listener to allow listening to multiple types (d24b604), closes #919
- action: Fix sent data to output sent data and not the data field only (30b15a7)
- device: Fix device action to send entity to HA (48cfa54)
- device: Fix device node losing trigger id (48cfa54)
- trigger-state: Use post migrated config for event triggers (b841734)
- "fix(call-service): Merge target data into service data before sending to HA" (5960d09)
0.65.1 (2024-06-26)
- Add event listeners for entity type selection for NR 4.0 (9ea63cf)
0.65.0 (2024-06-03)
- fire-event: Mustache templates or JSONata expression being passed into the fire-event node will no longer be rendered
- fire-event: Only render templates/expressions when not from message input (16e8e22)
0.64.0 (2024-04-12)
- sentence: Add device id to output properties (8f1ccd9)
- Fix diagnostics info to not show undefined for addon version (1fda39f)
0.63.2 (2024-04-08)
- sensor: Fix options mapping in sensor node (15f2920)
0.63.1 (2024-03-15)
- Fix diagnostics fetch to use relative url (127e4f8)
0.63.0 (2024-02-10)
- calendar: Implement Calendar Event Trigger Node (f5a183c)
0.62.3 (2024-01-09)
- call-service: Allow call service to work prior to HA 2023.12 (92c7a3f)
- call-service: Allow the call-service input to accept strings in target properties (f86e2c6), closes #1247
- call-service: Don't throw error if mergeContext is undefined (7388c45)
- call-service: Fix merge context merge order (e2f2ac8)
- call-service: Merge target data into service data before sending to HA (60f55f2), closes #1248 #1245
- Fix TS types (b805cf8)
- get-history: Fix input validation so relativeTime can be empty (05e519f), closes #1239
- sidebar: Use correct editor type for config node (007627f), closes #1237
- time: Fix breaking changes from cron package (5cf6d5b)
0.62.2 (2023-12-13)
- Throw error if HA version doesn't meet requirement (6d84f0c)
0.62.1 (2023-12-13)
- Add a version file for diagnostics (ad9f694)
- Use the correct package.json file for node version (11abb05)
0.62.0 (2023-12-12)
- sidebar: Add Home Assistant sidebar (2da26cb)
0.61.1 (2023-12-11)
0.61.0 (2023-12-10)
- Require Node-RED version 3.1.1+
- Require Node-RED version 3.1.1+ (78fdb35)
0.60.1 (2023-12-10)
0.60.0 (2023-12-09)
- Require Home Assistant 2023.12+
- call-service: Requests Home Assistant 2023.12+
- get-history: All message inputs are required to be under msg.payload others have been removed. Current ones have been changed to camelcase to follow other nodes. Message ouputs msg.startdate, msg.enddate, msg.entity_id have been removed.
0.59.0 (2023-11-11)
- Add area and device helpers to JSONata (8875d0f)
0.58.2 (2023-11-10)
0.58.1 (2023-11-07)
- get-entities: Only include entities that meet all the conditions (1c69dd3)
0.58.0 (2023-11-07)
- switch: When use the service nodered.trigger the message object will to merge at the top level. Before it was added at msg.payload
- get-entities: Handle JSONata error in rules (cbc1f48), closes #1130
- Remove config from entity category (19e16f2)
- switch: Insert trigger message in top level not in payload (5762f49)
- wait-until: Handle non existent entities (a524e45), closes #1127
0.57.4 (2023-10-11)
- trigger-state: Fix migration from 2 to 3 to use correct state type value (af6664f)
0.57.3 (2023-10-09)
- event-state: Handle errors through for initial connection (e460713), closes #1102
- poll-state: Handle errors through for initial connection (e460713)
- trigger-state: Handle errors through for initial connection (e460713)
0.57.2 (2023-10-06)
- number: Save changes made in HA (9975266)
- select: Save changes made in HA (9975266), closes #1100
- text: Save changes made in HA (9975266)
- time-entity: Save changes made in HA (9975266)
0.57.1 (2023-10-03)
0.57.0 (2023-10-02)
- 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.
- Add expose as (8c7991c)
- Add expose as controller (a50590c)
- poll-state: Add output properties (13de0d7)
- webhook: Add expose as (8ee8ba4)
- 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)
- 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.56.1 (2023-08-22)
0.56.0 (2023-08-09)
- sentence: Add response data for wildcards (3f31af6)
- sentense: Add customizable response field (c395a3f)
- Fix duplication of expose as trigger events (53ac02e)
- Use error handler for event class (#1018) (b009362)
0.55.1 (2023-07-18)
0.55.0 (2023-07-18)
- time-entity: Add time entity node (ae190fd)
- 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)
- Use entity registry for display it has smaller payload (d630751)
0.54.0 (2023-07-16)
- Only log connected closed once (59bae23)
0.53.1 (2023-07-12)
0.53.0 (2023-07-12)
- webhook: Add allowed methods to webhooks (48ebdd8)
- sentence: Catch error from custom outputs (867289a)
0.52.0 (2023-07-12)
- sentence: Add sentence trigger node (1ebf3a8)
0.51.1 (2023-07-06)
- Fix integration not sending previous state when registering entity (3cbe491), closes #973
- Handle promise rejections (7c28dc7), closes #757
0.51.0 (2023-07-05)
- select: Add select entity node (e892060)
- text: Fix schema for the input to allow strings (32a5c4d)
0.50.0 (2023-07-03)
- number: Add number node (64d3ce6)
- number: Add output to node when value changes in HA (ec51cab)
- text: Add output to node when value changes in HA (ec51cab)
- text: Add text node (2474a44)
0.49.1 (2023-04-07)
0.49.0 (2023-03-13)
- Add entity picture to entity config (132547f)
0.48.1 (2023-01-30)
- api: Allow data field to empty (4e51506)
- api: Check for the type property (e117475)
- api: Don't render data when the source is from the message (6a1c7df)
- Fix slow opening nodes and other issues with select2 (ec97ddd)
- time: Fix usage of toDate, luxon doesn't support it (ca9a81a)
0.48.0 (2022-12-25)
- Enable message coalescing (d235c35)
0.47.2 (2022-12-21)
- throttle registry lookups to 500 ms (9fa2177)
0.47.1 (2022-12-08)
- server: Catch exception when access token is invalid (3d3cf8d), closes #770
- wait-until: Fix typo in timed out status (d46005c), closes #755
0.47.0 (2022-11-13)
- Add water device class to entity config (4e05721), closes #733
- entity-config: Added Giga Joule as an energy unit (#735) (4e8514c)
- entity-config: Add missing moisture and wind speed device classes to entity config (4e05721)
- Fix "show debug information" for all nodes (65181f6)
- wait-until: Catch errors thrown during timeout (eab4c19)
0.46.2 (2022-10-31)
0.46.1 (2022-10-19)
- Changes so devcontainer works (bddfde3)
- sensor: Expose sent data to output properties (1dd6fb0), closes #702
- change url for device-config.md (#697) (60a9bb9)
- Fix JSONata Example links (#666) (46ee50f)
- Fix sidebar links for guides (9422b63)
- More changes for contributing (4711413)
- trigger-state: Remove reference to mustache template for entity id (#699) (35e40fe)
- trigger-state: Update config settings and input (09250fe)
- Update contriubting and set up environment (9422b63), closes #511
- Update vuepress (2a5b5f8)
- update-config: Fix links to other config nodes (7ad62ee)
0.46.0 (2022-10-09)
- Dropping support for Node 12 and NR v1 and v2
- Drop support for Node 12 and NR v1 and v2 (5dbe2f5)
0.45.10 (2022-10-07)
- release 0.45.10 (1fc5689)
0.45.9 (2022-10-03)
- Remove entity from HA when entity config is deleted (d78851b)
0.45.8 (2022-10-03)
0.45.7 (2022-10-02)
0.45.6 (2022-10-01)
0.45.5 (2022-10-01)
- wait-until: Allow validation to accept a number or an empty string (87a8846)
0.45.4 (2022-09-30)
0.45.3 (2022-09-30)
- Listen for the correct event states_loaded to publish entities (ef48a68), closes #672
- Make sure old style node using comparator service has access to states (f25bebe)
0.45.2 (2022-09-29)
- Remove validation for sensor attributes (27a3ecb)
0.45.1 (2022-09-29)
- Fix spelling in node list (cde607f)
0.45.0 (2022-09-26)
- Entity node is being deprecated. Use the individual entity nodes.
- In the get-entities node "starts with" and "contains" will no longer return true for an empty string
- config-server: HA global context data can be enable/disabled (053be16)
- Create devices in HA that entities can be added to (6c64212)
- events:all: Add event data comparison (d8e3840)
- update-config: New node to update HA entity config dynamically (7a70f43)
- Add entity node back to group after importing (73f8fcf)
- Catch all onEvent errors (533c094)
- device: Fix type for html option element (58672e6)
- device: Use correct server id (9cc4c75)
- Integration event trigger (3ec43c9)
- Remove correct event listener when node is closed (b1311b9)
- Remove event listeners on node close (21fbdeb)
- sensor: Fix validation of state value and remove default output properties (b03f1b4)
- Trigger Node Custom Output Comparators #580 (#665) (7e22233)
- trigger-state: Throw error when id is missing (65b62fe)
- websocket: Stop device lookups call to HA when there's no connection (f165659)
- Add documentation for the new entity nodes (36bb956)
- Remove sidebar length (7f65fec)
- restore entity node page (2d4616a)
- spelling fixes (0d20801)
- update-config: Fix spelling (d70c836)
0.44.0 (2022-07-20)
- time: The status text format of the node changed. Could breaking things if the status node was used to monitor the time node status text.
- Add configurable display option to the id selector (c491806)
- Make datetime string in the status text configurable (c6b2ecd)
- call-service: Allow any input for the entity id field (1d4f486), closes #615
- config-server: Stop reporting base url error when node-red env var (eb972b6)
- device: Catch promise rejection from WS send (28ff1d9)
- get-history: Catch invalid relative time string (32a0389)
- Make sure fractionalSecondDigits is a number (43d7b8e)
- render-template: Add mode type to editor so it works with NR 3.0 (6fb4de1), closes #647
- Set status date migration month to short (43d7b8e)
- status: Fix import paths (d894b98)
- Remove unnecessary style from legacy label class (685c2b1)
- time: Change time node to use formatDate (e88abaf)
- Add button node link to node list (a89f048)
- Change code copy plugin (6272a91)
- config changes for vuepress v2 (0dd2f68)
- cookbook: Fix JSONata example to use $number on entity state as it is a string (ae751fc)
- Fix plugin config setting (95f89f0)
- Migrate docs to vuepress v2 (cf890fa)
- poll-state: Fix output location information (a4dcc28), closes #617
- Update getting started prerequisites (f002d04)
0.43.1 (2022-03-07)
- current-state: Provide the message object so it can be used to look of msg properties (62c4a39)
0.43.0 (2022-02-24)
- Custom strings can be used in select2 selectors by using a # as the suffix (e23ab9c)
0.42.8 (2022-02-20)
- call-service: Don't add id to select2 if it is an empty string (86e7551)
0.42.7 (2022-02-18)
- release 0.42.7 (62203c6)
0.42.6 (2022-02-18)
- call-service: Check that select2 initialized before trying to read data (07df6ca)
0.42.5 (2022-02-17)
- call-service: Send targets in the data field so HA doesn't automatically convert them to arrays (d085ef4), closes #584 #582
- entity: Select correct attribute type value (581992b), closes #583
- cookbook: Update actionable notification subflow (b28415e)
0.42.4 (2022-02-13)
- call-service: Allow "all" to used in entity field (c3bd333)
- Add reference to minimum version of HA needed (7a9865c)
0.42.3 (2022-02-12)
- events-state: Fix html issue for the if state row (227faa3)
- time: Use correct check when no matches are found (7590bf0), closes #576
0.42.2 (2022-02-12)
- call-service: Convert all targets to strings if only 1 id (64b3467)
0.42.1 (2022-02-12)
- call-service: If entity_id is a single id convert it to a string. Some services don't accept entity_id as an array (25e1e86)
0.42.0 (2022-02-11)
- wait-until: Add entity selector
- substring filter type no longer parses comma delimited lists. Substrings with comma will be converted to arrays and the filter type changed to list
- Don't move resource files to the dist directory leave in the root folder so NR can find them
- call-service: The data field is no longer the last word for the entity id. The new target properties are. Home Assistant updates the data target properties from the target property.
- Add entity selector (27880af)
- button: Move the button out of beta (112d038)
- call-service: Add area and device selector (8a33245)
- call-service: Filter entities based on service target (57f59fa)
- events-state: Add entity selector (61b8ad1)
- trigger-state: Add entity selector (c8dfbc2)
- wait-until: Add entity selector (27880af)
- Add config node id to HA editor setup (47f18d1)
- Add node path to debug output (721e061)
- Allow ${envVar} in select2 inputs (a638cd0)
- call-service: Convert comma delimited entity id list to array (87e8209)
- call-service: Fix migration of entity id to target (29c260b)
- call-service: Fix parsing of data field (8bf60f9)
- device: Add missing boolean type for the device capabilities (2d0e37f)
- device: Add missing integer type for the device capabilities (2d0e37f), closes #565
- Don't move resource files to the dist directory leave in the root folder so NR can find them (55dd39b)
- entity: Only output state change when the state actually changes (d6c6cf4), closes #562
- Fix circular dependencies (b400bf3)
- Fix filename case for hassAutocomplete (b9fd34c)
- migrations: Delete properties with undefined values from the config (d1ad8ae)
- Stop css from polluting the global css scope (227e940), closes #552
- trigger-state: Call haServer.init before entitySelector so it know which server to use (b8487a4)
- Update the HA service list on each update just not the first (22f8c0a)
0.41.3 (2022-01-03)
- button: Fix removal of event listeners (a52acdb)
- config-service: Fix removal of event listeners (7aabccb)
- entity-config: Fix removal of event listeners (79bdcb9)
0.41.2 (2022-01-01)
- force release (e2be391)
0.41.1 (2022-01-01)
- button: Ignore unknown subscription (4faad95)
0.41.0 (2022-01-01)
- button: Add button entity (1f2fca0)
- lint fixes (77e97e0)
0.40.0 (2021-12-19)
- entity: Add state_class and last_reset to the sensor entity node (156f4ad)
- Fix github branch reference (335ad8a)
0.39.0 (2021-12-10)
- current-state: Add check to see how long entity has been in current state (eac0c4a)
0.38.2 (2021-12-09)
- Change the status date string to use h23. Fixes the quirk with en-US showing 24:xx instead of 00:xx. (8efe502), closes #524
- events-state: Check if state property exists before accessing it (1e38d7f), closes #525
- cookbook: Update Holiday Lights example (73b1bf5)
- get-entities: Move get-entities cookbook examples to the node page (a9390c2)
- get-entities: Remove link from cookbook and fix example links (faec40f)
0.38.1 (2021-12-06)
- entity: Catch errors while registering entity (5d13aed)
0.38.0 (2021-11-06)
- poll-state: Enable dynamic interval length (f6904c4)
- entity: Only save payload to disk if resend is enabled (f847e11)
- get-entities: Check if property exists before seeing if it starts with something (8a5be79), closes #453
- Add another example flow in the cookbook (#504) (76c5987)
- Fix cookbook entry HA restart (3696c44), closes #505
0.37.0 (2021-10-27)
- Fix linting errors (3bb743d)
0.36.1 (2021-10-22)
- Close old connection when config changes (180e916)
- Use correct hostname in logs (180e916), closes #447 #430
0.36.0 (2021-10-18)
- device: Add select type for capabilities (ea3339a)
- device: Send capabilities along with other action values (ef8e1ae)
0.35.0 (2021-10-13)
- tag: Add ability to listen for all tags (eac5921)
- tag: Add output properties (421b77c)
- tag: Remove beta status from tag node (f5f8a82)
- time: Add custom outputs (5d60ad6)
- time: Add the ability to select which days of week to trigger on (73ed3b0)
- call-service: Check for example before trying to load it (bd54acf)
- call-service: Wording change (5feff91)
- README: Change build branch to main (645317c)
- Scrubber: Remove console logs (8adf96e)
0.34.0 (2021-09-30)
- device: Add area name to device selector (c7c6f26)
- device: Only load the latest device data (f88d21f)
- Fix typo in beta warning (1d7ca53)
- tag: Display id if name doesn't exist (bcab997)
- Add docs-only and info-panel-only components (5383e97)
- cookbook: Update using date and time to show examples for the time node (a07ad4d)
0.33.1 (2021-05-30)
- On integration event only enable node if it's not the trigger-state node (0f2f18a), closes #417
- Only fire integration not loaded event when then integration is not loaded (5cdc4ca), closes #404
0.33.0 (2021-05-26)
- get-history: Add friendly names to autocomplete for entity id (e14d84f)
- get-histry: Use correct field id (e14d84f)
0.32.1 (2021-05-26)
- Make all autocomplete comparisons non-case sensitive (da591ac)
0.32.0 (2021-05-26)
0.31.6 (2021-05-25)
- Handle promise rejection when user doesn't have tags component enabled in HA (12f37dd)
0.31.5 (2021-05-23)
- event-state: Add missing data for JSONata outputs (d4d4307)
0.31.4 (2021-05-23)
0.31.3 (2021-05-21)
0.31.2 (2021-05-20)
- config-server: Fix loading of Unauthorized SSL Certificates (517cf39)
- fix migrations for config-server not loading correct values when schema was false (517cf39)
0.31.1 (2021-05-19)
- Fix status search and replace error (c228278)
0.31.0 (2021-05-19)
- Add $randomNumber and $sampleSize as JSONata helper functions (b5b65bf)
- Add device node (b08fcbe)
- api: Add custom outputs (da0187f)
- call-service: Add message queue (58df3a0)
- current-state: Add custom ouputs (f4ecbb8)
- events-all: Add custom outputs (0a3fc23)
- events-state: Add custom outputs (aa07fb4)
- Make use of NR v1.0 async send and done (d5b69f4)
- migrations: Add config nodes to mass update (5d23126)
- tag: Add tag node (17585bb)
- time: Move time node to beta release (27caacc)
- webhook: Add custom outputs (5dff14b)
- api: add try catch for setCustomOutputs (ee5189d)
- Check for valid property for custom outputs (f971856)
- Check for valid server before processing input (a86a9a6)
- check for valid server config before using it (d7b322b)
- ci: Don't lint included external libs (8cd6735)
- destroy bonjour after finished using it (eb2208f)
- entity-switch: Remove unused declaration (e6b15a0)
- Fix Comms import (8c51877)
- migration: Move event-state for properties to a newer version (de68154)
- migrations: make sure schema version is a number (e1bc0f8)
- migrations: swap conditional for default value (996b9ef)
- only trim spaces of server url if it exists (f9ce69f)
- poll-state: call correct error method (5f7b1a8)
- poll-state: Use correct element id for entity_id input (0c2fe30)
- request autocomplete results only if server actually changes (27dc32a)
- routes: fix server id for getting integration version (fc6c808)
- routes: flatten out properties array (45df3f1)
- status: check for valid homeAssistant before adding listeners (c1d29ec)
- time: Check jsonata length before attempting to find entity ids (e3de59e)
- time: use correct i18n errror message (be3db24)
- Use correct element id for update all button (6bcf9a8)
- use the correct RED (03bb7a0)
- Add github discussions link to header (dfa74a7)
- Add new nodes to index (7b305d0)
- Add new nodes to TOC (9a73e86)
- cookbook: Correct spelling (28928b4)
- cookbook: Update starting flow after HA reboot (388b70a)
- current-state: add information about custom outputs (e9fcb91)
- events-state: Add custom output information (e2a11a9)
0.30.1 (2021-01-10)
- entity: update getValue name change (0531b86)
0.30.0 (2021-01-10)
- call-service: Add load example data button (2ef840b)
- entity: Add ability to have the switch entity output on state change (703568e), closes #228
- cookbook: Update vacation example (f6080ca)
- guide: Add call-service tips and tricks (499ad96)
- Update holiday lights export to include autogeneration of HA helpers (ddb5741)
- Update README.md (#325) (9fe6023)
0.29.1 (2021-01-02)
- call-service: input_datetime entity list needs to be an array for multiple entities (ae53a73), closes #323
- call-service: input_number requires entity list to be an array for multiple entities (cf64bed)
0.29.0 (2021-01-02)
- scrubber: Add the ability to replace all references of HA server id with custom one (4eb4323)
- api: revert unintended changes (fb44429)
0.28.0 (2020-12-31)
- time: Add time node (74d4415)
- entity: check for current connectin before attempting to access it (53cdb93)
- validate base URL before passing it to websocket constructor (94d603d), closes #316
- Fix TOC for render-template and time (f4e4ce6)
- cookbook: Add use case #2 to actionable notifications (e1d4cab)
- Add actionalble notification subflow to cookbook (51ad8f2)
- Add discussions links (61c31bd)
- Add link to the discussion section for holiday lights (c9c97b0)
- fix actionable notifications use case 01 to use trigger nodes (ee37b9e)
- Fix Daily alarm using Datetime Entity Example to account for leading zeros (c3cde97)
- Update holiday lights example (4aae90c)
0.27.9 (2020-12-11)
- check for valid value in list types of conditionals (7fd9545), closes #301
- events-state: cast state before setting new/old state (f49fd82), closes #299
- Add holiday light scheduler example (5822c41)
- Update holiday light scheduler for WLED v0.11 (0a6054c)
- Update holiday lights example (70aff6e)
0.27.8 (2020-12-05)
0.27.7 (2020-12-03)
- fix exposedNode has already been declared error (aeceffa)
0.27.6 (2020-12-01)
- event-state: check if old state is valid before attempting to access state (a16e964)
- fix eslint and prettier changes (8497b1a)
- cookbook: Add starting a flow after HA restart example (b82affd)
- Add zone to node index page (0b5407a)
0.27.5 (2020-11-19)
0.27.4 (2020-10-11)
- events-state: fix logic when checking for valid event (b6118a5)
0.27.3 (2020-10-11)
- events-state: reset timer active flag when condition is false (d119307)
0.27.2 (2020-10-11)
- events-state: Don't reset for timer if state changes but condition is still true (2735eb2), closes #277
- events-state: Change some wording (711f334)
0.27.1 (2020-10-06)
- event-state: Pass the correct level of the event to msg.data (4676c08)
- event-state: Use the correct clear for setTimeout (db39c3d)
0.27.0 (2020-10-06)
- event-state: Add predefined ignore event types (d70ba6f)
- events-state: Add for condition (61021a8)
- zone: Add enter or leave event type (735437b)
- event-state: Add default for unit (1d66aca)
- revert change to ignore state_changed with prev state was null (4503856), closes #271
0.26.1 (2020-09-27)
- trigger-state: fix autocomplete for entity id field (6ce5d0d)
0.26.0 (2020-09-27)
- trigger-state: conditions and custom outputs editable (358c909), closes #221
- zone: add ability to expose to HA (a35a571)
- Add zone node (3ac9cf4)
- zone: update autocomplete source after new data received (a6d6c29)
- fix conditional for null old_state (ac9158e)
- ignore state_changed event if old_state is null (6f0a8b5), closes #266
0.25.1 (2020-09-12)
- check isHomeAssistantRunning for output on connect (64d1b45), closes #262
- stop enabling trigger-state node on connection to HA (cba1aad), closes #261
0.25.0 (2020-08-29)
- Add another example to using datetime entities to trigger flows (e6ca74e)
- Add Using date and time entities to trigger flows (2b5f228)
0.24.1 (2020-08-08)
0.24.0 (2020-08-04)
- events-all: Add option to output events before HA state = running (3f2e6ec)
0.23.0 (2020-08-02)
- Handle resubscribing after a disconnect (93d396c), closes #250
- trigger-state: Only update HA when integration is loaded (1c187a5), closes #256
- wait until NR integration is loaded (42b02cb)
- add documentation for events: all changes (6078302)
0.22.6 (2020-06-25)
- Wait until HA is in running state to emit events (92cdb64), closes #246
- Wait until integration is loaded before attempting to register entities (1d8eb04), closes #247
0.22.5 (2020-06-03)
0.22.4 (2020-06-03)
0.22.3 (2020-04-25)
- poll-state: stop init() from overriding super.init() and being called twice (0162db6), closes #236
- trigger-state: enable/disable inputs correctly update state of switch in HA (b86e32a), closes #233
0.22.2 (2020-04-03)
- "NaN" for events-state-changed (5aa5b71)
- final final fix for NaN bug (10325fa)
- Final fix for NaN ??? (b363e27)
- null state for event and states data (9dc1a7b)
0.22.1 (2020-03-30)
0.22.0 (2020-03-30)
- Process msg property even when set to false (7028eae), closes #219
- trigger-state: Restore default value for state_type (4a26221)
- Wait for persistent data to be loaded before registering with HA (2f76691), closes #223
- Improve colors to work better in dark themes (d153070)
0.21.5 (2020-03-09)
0.21.4 (2020-03-06)
0.21.3 (2020-02-28)
- trigger-state: Use correct entity id when checking against event entity_id (c3e7729)
0.21.2 (2020-02-28)
0.21.1 (2020-02-26)
- fix breaking change caused by rebranding hassio (c6dcaac)
0.21.0 (2020-02-26)
- entity: Rename sensor node to entity and add new entity type switch (059c340)
- wait-until: Entity Id can be a exact match, substring or Regex match (9738bb5)
- wait-until: Timeout property can be a JSONata expression to allow for dynamic timeout values (9dcbe1a), closes #206
0.20.2 (2020-02-14)
- HA rebranding fixes/changes (b0df6d5)
0.20.1 (2020-02-12)
- Fix status message for non triggered events (5d7faa4)
0.20.0 (2020-02-12)
- Add ability to handle nodered.trigger service call (aba9eab)
- integration: Handle nodered:loaded event from when HA loads custom component (072cec7)
0.19.5 (2020-01-24)
- get-history: Set end date when using relative time (9414210), closes #191 #190 #177
- fix crash when base url was missing http:// or https:// (2ef2166)
- gulp: Watch for lib/*.js file changes (0d28013)
0.19.4 (2020-01-14)
- Add search button to find home assisant instances for server config (8f25ef6)
- wait-until: Add ability to use mustache templates for entity id field (6d9e183), closes #189
- Fix 'in' conditional (78a3d22)
0.19.3 (2020-01-06)
0.19.2 (2020-01-06)
- get-history: Don't send an enddate when using relative time (d536c3c), closes #183
- get-history: Fix for using flatten results with output type split (38b9c9c)
0.19.1 (2020-01-04)
- include correct files when publishing to npm (8f8eb6f)
0.19.0 (2020-01-04)
- docs: Markdown docs will be automattically convert to NR help files (5abfb62)
0.18.0 (2019-12-21)
- Catch rejection for lost connection when unsubbing (0008406)
- api: Add debug ouput option (72cf55b)
- sensor: Add the ability to choose how input values are handled (cbd48b9)
0.17.1 (2019-12-11)
- sensor: Fix reading attributes object when received in message object (18849d9)
0.17.0 (2019-12-09)
0.16.3 (2019-10-24)
- fix JOI validate format (24af2d4)
0.16.2 (2019-10-24)
- fix JOI validate format (24af2d4)
0.16.1 (2019-10-24)
- fix JOI validate format (24af2d4)
0.16.0 (2019-10-24)
- check for WS client before listening for events (8d72dbc), closes #158
- css changed for NR v1.0 (41539d7)
- Remove event type from sub list when unsubscribing (321561d)
- config-server: Revert ha_events for state_changed event so global context gets updated (ef0c8d1)
- call-service: Add debug flag for more information (873603b)
- wait-until: Add trigger time to wait until node in status message (eeac869), closes #157
- Add ability to disable caching of autocomplete results (a90e041)
0.15.0 (2019-08-22)
- get-entities: error when property value was not set for jsonata (5125821)
- trigger-state: Attribute of other entity undefined in trigger (a45366f), closes #148
0.14.2 (2019-08-01)
- call-service: render mustache templates for entity id field (8889355)
0.14.1 (2019-07-28)
- call-service: fix for validation of data field (0902162)
- call-service: homeassistant domain ids needing to be an array (b118009), closes #136
0.14.0 (2019-07-24)
- JSONata everywhere (6424235)
- api: Add option for data field to be a JSONata Expr (37b54ce)
- call-service: Add JSONata option to data field (8e91f42)
- fire-event: Add option for data field to be a JSONata Expr (526d083)
- get-entities: Allow overriding of config values from payload (a0fdb96), closes #133
0.13.1 (2019-07-06)
- Load external js,css for all nodes not only config (e0f52e0)
0.13.0 (2019-07-02)
- current-state: Templates are processed in the entity id field (aed4579)
- wait-until: Allow overriding of config value (c4d3081)
0.12.3 (2019-06-05)
0.12.2 (2019-06-02)
- wait-until: removed leftover code that was breaking events (4231717)
0.12.1 (2019-06-01)
0.12.0 (2019-05-31)
- config-server: trying to get global namespace before it created (4472072)
- css change for node label (22c645f)
- css fixes for 'if state' text boxes (78a2707)
- fixed error reporting so catch node could be used (861c8e8), closes #119
- more error reporting fixes (89346e2)
- Update autocomplete on server change in ui (c8b2e09)
- if 'if state' = true now outputs to the first output (9fdc6f5)
- call-service: Ability to use alt tags for mustache templates (0624570), closes #117
- current-state: Added ability to block input overrides to config (9d46441)
- trigger-state: More options for custom outputs (3df9c18)
0.11.0 (2019-05-07)
- base-node: fix for using in/not in with context of msg/flow (49b9c26)
- show msg for current state not and not others (d2c7929)
- use relative path for haltif.js for hassio ingress (beb556a)
- mustache-context: Fix for using both states/entity for templates (4b09811)
0.10.2 (2019-04-07)
- events-all: only send home_assistant_client events when needed (67857b5)
- ha-websocket: Reset states/servicesLoaded on disconnect (9af4807)
0.10.1 (2019-04-04)
0.10.0 (2019-04-04)
- api: Fix for saving locationType (bd20bfa)
- call-service: Fix for having undefined output location and type (3a0d8b0)
- wait-until: fixed scope for setContextValue (3fdfa27)
- api: Allows input to set/override config values (7296cd2), closes #100
- Able to reference entity in comparators (ece176b)
- api: Output type added to http api: binary, json,txt (9305c7d)
- events-all: Added states_loaded and services_loaded (b8097b8)
- events-all: Will includes HA client events (ccf9fbc), closes #75
- get-entities: Added total count of entities as an output option (3061151)
- render-template: Added custom outputs (66d504d)
0.9.1 (2019-03-09)
- haltif: Fix to include contexts on other operators (1a250b9)
- poll-state: Set default value for updateIntervalUnits (61f9768)
0.9.0 (2019-03-09)
- Fix for checking valid entity id (4ee501e)
- api: New node for direct access to api (ed7341a)
- call-service: domain and service fields accept templates (8f86906)
- get-history: Add flatten option (b46a4d5)
- poll-state: Added Interval Units (44f75c0)
- Access to msg, flow and global context (e1ce911)
0.8.0 (2019-02-26)
- jinja2 (HA) templates will no longer work in fields where mustache templates are rendered.
- get-history: fix backwards compatibility for output location (8bd6e42), closes mit/3154f79a5758c74967742e282660dac1decfbe74#r32270616
- mustache-context: catch error thrown for invalid flow and global var (38a16fb)
- wait-until: Added ability to check against current state (c6343a9)
- Able to access flow global and states in templates (e0de7cb)
- hass.io connection delay toggleable (11c440c)
0.7.1 (2019-02-11)
- config-server: Removed needsPermission from static files (83018e9)
0.7.0 (2019-02-03)
- Added a check for valid server (66d8daf)
- Fix for nodes to trigger on deploy (8205236), closes #80
- trigger-state: Fix to show the correct properties for constraints (62e22fa)
- current-state: Added customizable outputs for state and entity (0a51c5d)
- event-state: Added Only output on state change (0707d72)
- wait-until: New 'Wait Until' Node (6717972), closes #82
- Fixed validation error for the get-history node
- Fixed poll-state node not waiting for getComparatorResult
- The call-service node autocomplete for
entity_id
now handles multiple entities - The properties field of a trigger-state node now has autocomplete
- Added a new comparator, 'in group', to the get-entities node
- Get-history node can use a relative time string for its date fields
- A more verbose error message for the autocomplete error when the server config hasn't been deployed
- More informative error message for the call-service node when there's an API error
- Change the connect timeout for hass.io users so it doesn't bombard the proxy when attempting to connect. (#76)
- HomeAssistant object updated before firing state_change event (#74)
- Fixed HTTP API so it returns an empty string and not the response object when res.data is empty. (#78)
- Fixed
get-entities
to use custom label if valid - Correct possessive apostrophe in trigger state node constraint list (@albertnis)
- Fixed condition where wildcard type state changes fired before current states were actually saved
- Fixed onDeploy for trigger-state node when using substring/regex for entity id
- Added secondary outputs for
halt if
logic for current-state, events-state, and poll-state nodes - Call-service node now has the option for custom location output or no output
- New node
get-entities
: Get entities based on search criteria with 3 different output options
- Added Spinner UI element to poll-state node
- Refactored the UI for
halt if
logic into an external file and loaded on demand
- Fixed the handling of multiple entity ids for the homeassistant domain for the call-service node Fixed #57
- Make Server Id is not empty when performing autocomplete ajax call for
get history
node (@rchl)
- Make Server Id is not empty when performing autocomplete ajax call
- Make sure
halt if
logic has default starting values
- Ability to cast the
state
of event entities and payload to String/Number/Boolean - Changed
halt if
logic to be able to use different comparators to check the state for current-state, and events-state-change nodes - Poll-state now has
halt if
logic
- Added status times for success and error messages for the
get template
node (@jonathanadams) - Added timeSinceChangedMs to current-state, events-state, and trigger-state nodes
entity.timeSinceChangedMs
- Autocomplete to use the correct entities/services if more than one server is setup (#49)
- Added mustache dependency
- Entity Id now has autocomplete for the Call Service node.
- Trigger node now can be filtered by substring/exact/regex.
- Call Service and Fire Event nodes are now able to render mustache templates in the data property. Template also work on the new entity id field for the Call Service node.
- Request/Sending status to Call Service, Fire Event, Get History and Get Template nodes.
- Call Service node won't send message until it receives a response from HA.
- Fire Event node won't send message until it receives a response from HA.
- Reverted home-assistant-js-websocket to version 3.1.6 because hass.io proxy reconnect errors popped back up in ^3.2.0
- Ability to allow Unauthorized SSL Certificates configurable via the server config
- Added override
msg.data
control to current-state node (@thejta) - Config for Hass.io users is now just a single checkbox
- Added autocomplete to the entity id field for the get-history node
- Base URL will now show validation error if not in an acceptable format
- Files should now get linted correctly on staging
- Refactored the connection process for the WebSocket. Now shows Connecting, Connected, and Disconnected. Connected is now shown only after it has successfully authenticated with Home Assistant.
- Load the full Services object from Home Assistant on load
- Only process State and Services objects if they're not empty
- Added permission checks for the httpAdmin endpoints for autocomplete Fixes #7
- More tests for fire-event node
- Added coverage/ and travis.yml to .npmignore
- Poll-state node will stop triggering if not connected to Home Assistant
- Setting server global context states on data load
- Support for reading the HASSIO_TOKEN from hass.io and using that in the server config if the server URL is the hass.io proxy
- Use the correct hass.io proxy url for websockets
- Added more checks to see if server is selected before calling "GET /homeassistant/entities" for call-server, current-state and poll-state nodes
- Added Output Initially / On Deploy for trigger-state node
- Added Output Initially / On Deploy for events: state node
- Added config for Github stale bot
- Added config and base code for coveralls code coverage reporting
- Added a few more test cases
- Poll state node to wait for a state before triggering when Output Initially is checked
- Close WebSocket when Deploying before creating a new connection
- Linting and formating into pre-commit hooks using eslint and prettier
- More logging to the testing of the connection to Home Assistant
- Boilerplate for adding tests
- Undefined string in call-service node
- Forgot to reference class function in fire-event node
- json editor to call-service node data input
- Fire Event node to send events
- host and access token/password credentials are now encrypted and stored in the node-red cred file. This also stops them from being exported in flows.
- Fix for autocomplete xhr call showing undefined for httpAdminRoot. Not going to assume that httpAdminRoot is defined. zachowj/node-red-contrib-home-assistant-websocket/issues/2
- Ability to filter event type from within the 'events: all' node
- Better error handling for refused connections and incorrect access token/password
- Docker config to use Home Assistant 0.78.3 and node-red 8.12.0
- The ignoring of custom root path if set in node-red - AYapejian/node-red-contrib-home-assistant/issues/41
- Integrated AYapejian/node-home-assistant minus the CLI
- Ability to use Home Assistant long-lived access tokens
- 'events: all', 'events: state', and 'trigger: state' to use websocket instead of the events stream
- 'poll state', 'call service', and 'current state' to use websocket instead of REST API