Skip to content

Latest commit

 

History

History
1431 lines (783 loc) · 92.7 KB

File metadata and controls

1431 lines (783 loc) · 92.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.44.0 (2022-07-20)

⚠ BREAKING CHANGES

  • 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.

Features

  • Add configurable display option to the id selector (c491806)
  • Make datetime string in the status text configurable (c6b2ecd)

Bug Fixes

  • 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)

Style

  • Remove unnecessary style from legacy label class (685c2b1)

refactor

  • time: Change time node to use formatDate (e88abaf)

Documentation

  • 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)

Bug Fixes

  • current-state: Provide the message object so it can be used to look of msg properties (62c4a39)

0.43.0 (2022-02-24)

Features

  • Custom strings can be used in select2 selectors by using a # as the suffix (e23ab9c)

0.42.8 (2022-02-20)

Bug Fixes

  • call-service: Don't add id to select2 if it is an empty string (86e7551)

Documentation

  • call-service: Update tips and tricks and node docs with target info (8073a88), closes #574

0.42.7 (2022-02-18)

chore

0.42.6 (2022-02-18)

Bug Fixes

  • call-service: Check that select2 initialized before trying to read data (07df6ca)

0.42.5 (2022-02-17)

Bug Fixes

  • 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

Documentation

  • cookbook: Update actionable notification subflow (b28415e)

0.42.4 (2022-02-13)

Bug Fixes

  • call-service: Allow "all" to used in entity field (c3bd333)

Documentation

  • Add reference to minimum version of HA needed (7a9865c)

0.42.3 (2022-02-12)

Bug Fixes

  • 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)

Bug Fixes

  • call-service: Convert all targets to strings if only 1 id (64b3467)

0.42.1 (2022-02-12)

Bug Fixes

  • 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)

⚠ BREAKING CHANGES

  • 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.

Features

  • 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)

Bug Fixes

  • 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)

Documentation

  • current-state: Remove old node options and add For text (ff40f75), closes #561

0.41.3 (2022-01-03)

Bug Fixes

  • 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)

chore

0.41.1 (2022-01-01)

Bug Fixes

  • button: Ignore unknown subscription (4faad95)

0.41.0 (2022-01-01)

Features

  • button: Add button entity (1f2fca0)

Bug Fixes

Documentation

0.40.0 (2021-12-19)

Features

  • entity: Add state_class and last_reset to the sensor entity node (156f4ad)

Documentation

  • Fix github branch reference (335ad8a)

0.39.0 (2021-12-10)

Features

  • current-state: Add check to see how long entity has been in current state (eac0c4a)

0.38.2 (2021-12-09)

Bug Fixes

  • 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

Documentation

  • 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)

Bug Fixes

  • entity: Catch errors while registering entity (5d13aed)

Documentation

0.38.0 (2021-11-06)

Features

  • poll-state: Enable dynamic interval length (f6904c4)

Bug Fixes

  • 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

Documentation

  • Add another example flow in the cookbook (#504) (76c5987)
  • Fix cookbook entry HA restart (3696c44), closes #505

0.37.0 (2021-10-27)

Features

  • Add heartbeat tracker to websocket connection (090e8bf), closes #488

Bug Fixes

0.36.1 (2021-10-22)

Bug Fixes

Documentation

  • Recommend removing Events: all node. (#490) (5cf7af0)

0.36.0 (2021-10-18)

Features

  • device: Add select type for capabilities (ea3339a)

Bug Fixes

  • device: Send capabilities along with other action values (ef8e1ae)

0.35.0 (2021-10-13)

Features

  • 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)

Bug Fixes

  • call-service: Check for example before trying to load it (bd54acf)

Documentation

  • call-service: Wording change (5feff91)
  • README: Change build branch to main (645317c)
  • Scrubber: Remove console logs (8adf96e)

0.34.0 (2021-09-30)

Features

  • device: Add area name to device selector (c7c6f26)

Bug Fixes

  • device: Only load the latest device data (f88d21f)
  • Fix typo in beta warning (1d7ca53)
  • tag: Display id if name doesn't exist (bcab997)

Documentation

  • 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)

Bug Fixes

  • 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)

Features

  • get-history: Add friendly names to autocomplete for entity id (e14d84f)

Bug Fixes

  • get-histry: Use correct field id (e14d84f)

0.32.1 (2021-05-26)

Bug Fixes

  • Make all autocomplete comparisons non-case sensitive (da591ac)

0.32.0 (2021-05-26)

Features

  • Add friendly names to autocomplete for entities (#408) (77d2e5e)

0.31.6 (2021-05-25)

Bug Fixes

  • Handle promise rejection when user doesn't have tags component enabled in HA (12f37dd)

0.31.5 (2021-05-23)

Bug Fixes

  • event-state: Add missing data for JSONata outputs (d4d4307)

0.31.4 (2021-05-23)

Bug Fixes

  • events-state: Add output properties backend code (a25c565), closes #398

0.31.3 (2021-05-21)

Bug Fixes

  • ui-device: Make sortDevices more robust (46f8973), closes #396

0.31.2 (2021-05-20)

Bug Fixes

  • 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)

Bug Fixes

  • Fix status search and replace error (c228278)

0.31.0 (2021-05-19)

Features

  • 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)

Bug Fixes

  • 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)

Documentation

  • 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)

Bug Fixes

  • entity: update getValue name change (0531b86)

0.30.0 (2021-01-10)

Features

  • call-service: Add load example data button (2ef840b)
  • entity: Add ability to have the switch entity output on state change (703568e), closes #228

Documentation

  • 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)

Bug Fixes

  • 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)

Features

  • scrubber: Add the ability to replace all references of HA server id with custom one (4eb4323)

Bug Fixes

  • api: revert unintended changes (fb44429)

Documentation

0.28.0 (2020-12-31)

Features

Bug Fixes

  • entity: check for current connectin before attempting to access it (53cdb93)
  • validate base URL before passing it to websocket constructor (94d603d), closes #316

Documentation

  • 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)

Bug Fixes

  • check for valid value in list types of conditionals (7fd9545), closes #301
  • events-state: cast state before setting new/old state (f49fd82), closes #299

Documentation

  • 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)

Bug Fixes

  • ignore state_changed events that doesn't have a new_state (85217fd), closes #297

0.27.7 (2020-12-03)

Bug Fixes

  • fix exposedNode has already been declared error (aeceffa)

0.27.6 (2020-12-01)

Bug Fixes

  • event-state: check if old state is valid before attempting to access state (a16e964)
  • fix eslint and prettier changes (8497b1a)

Documentation

  • cookbook: Add starting a flow after HA restart example (b82affd)
  • Add zone to node index page (0b5407a)

0.27.5 (2020-11-19)

Bug Fixes

  • current-state: Check the conditional before modify the message (8154bbd), closes #287

Documentation

0.27.4 (2020-10-11)

Bug Fixes

  • events-state: fix logic when checking for valid event (b6118a5)

0.27.3 (2020-10-11)

Bug Fixes

  • events-state: reset timer active flag when condition is false (d119307)

0.27.2 (2020-10-11)

Bug Fixes

  • events-state: Don't reset for timer if state changes but condition is still true (2735eb2), closes #277

Documentation

  • events-state: Change some wording (711f334)

0.27.1 (2020-10-06)

Bug Fixes

  • 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)

Features

  • event-state: Add predefined ignore event types (d70ba6f)
  • events-state: Add for condition (61021a8)
  • zone: Add enter or leave event type (735437b)

Bug Fixes

  • 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)

Bug Fixes

  • trigger-state: fix autocomplete for entity id field (6ce5d0d)

0.26.0 (2020-09-27)

Features

  • trigger-state: conditions and custom outputs editable (358c909), closes #221
  • zone: add ability to expose to HA (a35a571)
  • Add zone node (3ac9cf4)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • events-state: Waiit until HA is running before outputting (3e62ab7), closes #248

Documentation

  • 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)

Bug Fixes

  • wait-until: Use the rendered template on event check (5721ebb), closes #259

0.24.0 (2020-08-04)

Features

  • events-all: Add option to output events before HA state = running (3f2e6ec)

0.23.0 (2020-08-02)

Features

  • Add extra data to the events:all output (4212cac), closes #229

Bug Fixes

  • 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)

Documentation

  • add documentation for events: all changes (6078302)

0.22.6 (2020-06-25)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • "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)

Bug Fixes

  • Revert HA websocket lib update (d07ff35), closes #225

0.22.0 (2020-03-30)

Bug Fixes

  • 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

Features

  • Improve colors to work better in dark themes (d153070)

0.21.5 (2020-03-09)

Bug Fixes

  • Use correct entity type when removing node from integration (f842578), closes #217

0.21.4 (2020-03-06)

0.21.3 (2020-02-28)

Bug Fixes

  • trigger-state: Use correct entity id when checking against event entity_id (c3e7729)

0.21.2 (2020-02-28)

Bug Fixes

  • wait-until: use correct entity id for check against current state (f2d47c5), closes #210

0.21.1 (2020-02-26)

Bug Fixes

  • fix breaking change caused by rebranding hassio (c6dcaac)

0.21.0 (2020-02-26)

Bug Fixes

  • Prior to 0.90.0 is_admin doesn't exist check for it to exist and not true (3f07f55), closes #207

Features

  • 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)

Bug Fixes

  • HA rebranding fixes/changes (b0df6d5)

0.20.1 (2020-02-12)

Bug Fixes

  • Fix status message for non triggered events (5d7faa4)

0.20.0 (2020-02-12)

Features

  • 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)

Bug Fixes

  • 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)

Build System

  • gulp: Watch for lib/*.js file changes (0d28013)

0.19.4 (2020-01-14)

Features

  • 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

Bug Fixes

0.19.3 (2020-01-06)

0.19.2 (2020-01-06)

Bug Fixes

  • 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)

Bug Fixes

  • include correct files when publishing to npm (8f8eb6f)

0.19.0 (2020-01-04)

Bug Fixes

  • point changelog to new documentation (0c1a93e)
  • run correct task for convert docs action (b9b3ee4)

Features

  • docs: Markdown docs will be automattically convert to NR help files (5abfb62)

0.18.0 (2019-12-21)

Bug Fixes

  • Catch rejection for lost connection when unsubbing (0008406)

Features

  • api: Add debug ouput option (72cf55b)
  • sensor: Add the ability to choose how input values are handled (cbd48b9)

0.17.1 (2019-12-11)

Bug Fixes

  • sensor: Fix reading attributes object when received in message object (18849d9)

0.17.0 (2019-12-09)

Bug Fixes

  • call-service: Remove spaces around entity ids for homeassistant domain (564670a), closes #170

Features

0.16.3 (2019-10-24)

Bug Fixes

  • fix JOI validate format (24af2d4)

0.16.2 (2019-10-24)

Bug Fixes

  • fix JOI validate format (24af2d4)

0.16.1 (2019-10-24)

Bug Fixes

  • fix JOI validate format (24af2d4)

0.16.0 (2019-10-24)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • get-entities: error when property value was not set for jsonata (5125821)
  • trigger-state: Attribute of other entity undefined in trigger (a45366f), closes #148

Features

  • get-entities: timeSinceChangedMs is not a filterable property (adfd0dc), closes #147

0.14.2 (2019-08-01)

Bug Fixes

  • call-service: render mustache templates for entity id field (8889355)

0.14.1 (2019-07-28)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • Load external js,css for all nodes not only config (e0f52e0)

0.13.0 (2019-07-02)

Features

  • 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)

Bug Fixes

  • current-state: fix for none type for state and data location (79fcf29), closes #126

0.12.2 (2019-06-02)

Bug Fixes

  • wait-until: removed leftover code that was breaking events (4231717)

0.12.1 (2019-06-01)

Bug Fixes

  • Remove authorization from static files (50352c1), closes #125

0.12.0 (2019-05-31)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • current-state: able to override config entity id from payload (9217e09), closes #115

0.10.2 (2019-04-07)

Bug Fixes

  • 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)

Bug Fixes

  • api: Fix for saving locationType (bd20bfa)
  • call-service: Fix for having undefined output location and type (3a0d8b0)
  • wait-until: fixed scope for setContextValue (3fdfa27)

Features

  • 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)

Bug Fixes

  • haltif: Fix to include contexts on other operators (1a250b9)
  • poll-state: Set default value for updateIntervalUnits (61f9768)

0.9.0 (2019-03-09)

Bug Fixes

  • Fix for checking valid entity id (4ee501e)

Features

  • 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)

Breaking Change

  • jinja2 (HA) templates will no longer work in fields where mustache templates are rendered.

Bug Fixes

Features

  • 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)

Bug Fixes

  • config-server: Removed needsPermission from static files (83018e9)

0.7.0 (2019-02-03)

Bug Fixes

  • 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)

Features

  • 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

[0.6.1] 2019.1.18

Fixes

  • Fixed validation error for the get-history node
  • Fixed poll-state node not waiting for getComparatorResult

[0.6.0] 2019.1.18

New Features

  • 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

Added

  • 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

Changed

  • Change the connect timeout for hass.io users so it doesn't bombard the proxy when attempting to connect. (#76)

Fixed

  • 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)

[0.5.1] 2018.12.29

Fixed

  • 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

[0.5.0] 2018.12.18

New Features

  • 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

  • Added Spinner UI element to poll-state node

Changed

  • Refactored the UI for halt if logic into an external file and loaded on demand

Fixed

  • Fixed the handling of multiple entity ids for the homeassistant domain for the call-service node Fixed #57

[0.4.3] 2018.12.9

Fixed

  • Make Server Id is not empty when performing autocomplete ajax call for get history node (@rchl)

[0.4.2] 2018.12.9

Fixed

  • Make Server Id is not empty when performing autocomplete ajax call

[0.4.1] 2018.12.9

Fixed

  • Make sure halt if logic has default starting values

[0.4.0] 2018.12.8

New Features

  • 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

  • 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

Fixed

  • Autocomplete to use the correct entities/services if more than one server is setup (#49)

[0.3.1] 2018.11.18

Added

  • Added mustache dependency

[0.3.0] 2018.11.18

New Features

  • 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.

Added

  • Request/Sending status to Call Service, Fire Event, Get History and Get Template nodes.

Changed

  • 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.

[0.2.1] 2018.11.11

Changed

  • Reverted home-assistant-js-websocket to version 3.1.6 because hass.io proxy reconnect errors popped back up in ^3.2.0

[0.2.0] 2018.11.6

New Features

  • 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

Added

  • Base URL will now show validation error if not in an acceptable format

Fixed

  • Files should now get linted correctly on staging

[0.1.3] 2018.10.28

Changed

  • 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

[0.1.2] 2018.10.18

Security

  • Added permission checks for the httpAdmin endpoints for autocomplete Fixes #7

[0.1.1] 2018.10.11

Added

  • More tests for fire-event node
  • Added coverage/ and travis.yml to .npmignore

Fixed

  • Poll-state node will stop triggering if not connected to Home Assistant
  • Setting server global context states on data load

[0.1.0] 2018.10.8

Added

  • 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

Fixed

  • Use the correct hass.io proxy url for websockets

[0.0.7] 2018.10.7

Fixed

  • Added more checks to see if server is selected before calling "GET /homeassistant/entities" for call-server, current-state and poll-state nodes

[0.0.6] 2018.10.6

Added

  • 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

Fixed

  • Poll state node to wait for a state before triggering when Output Initially is checked
  • Close WebSocket when Deploying before creating a new connection

[0.0.5] 2018.10.5

Added

  • 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

Fixed

  • Undefined string in call-service node
  • Forgot to reference class function in fire-event node

[0.0.4] - 2018.9.31

Added

  • json editor to call-service node data input
  • Fire Event node to send events

Changed

  • 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.

[0.0.3] - 2018.9.26

Fixed

[0.0.2] - 2018.9.23

Added

  • Ability to filter event type from within the 'events: all' node
  • Better error handling for refused connections and incorrect access token/password

Changed

  • Docker config to use Home Assistant 0.78.3 and node-red 8.12.0

Fixed

[0.0.1] - 2018.9.20

Added

Changed

  • '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