author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
748,240 | 30.04.2018 01:17:19 | 14,400 | 7600a3aa5ae91082a00f7b3552f8cfa4e806cbed | docker npm scripts changed to reflect last commits directory name change | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"docker:down\": \"npm run docker -- down -vt5 && npm run docker -- rm -fv\",\n\"docker:restart\": \"npm run docker -- restart\",\n\"docker:logs\": \"npm run docker -- logs -f && true\",\n- \"docker\": \"dock... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | docker npm scripts changed to reflect last commits directory name change |
748,240 | 02.05.2018 01:27:49 | 14,400 | 174c195179028c1ec424e60613708e25971f5646 | Added some pass/fail tests to flows.json | [
{
"change_type": "MODIFY",
"old_path": "docker/node-red/root-fs/data/flows.json",
"new_path": "docker/node-red/root-fs/data/flows.json",
"diff": "\"data\": \"{ \\\"entity_id\\\": \\\" input_select.time_of_day\\\" }\",\n\"mergecontext\": \"\",\n\"x\": 530,\n- \"y\": 160,\n+ \"y\": 100,\n\"wires\": [\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added some pass/fail tests to flows.json |
748,240 | 03.05.2018 14:43:59 | 14,400 | 26d32ac3cd525b69c9e41212918041c8bae6084d | Added enddate & entityid options for history node | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_get-history/api_get-history.html",
"new_path": "nodes/api_get-history/api_get-history.html",
"diff": "defaults: {\nname: { value: '' },\nserver: { value: '', type: 'server', required: true },\n- startdate: { value: '' }\n+ startdate: { value: '' },\n... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added enddate & entityid options for history node |
748,247 | 03.05.2018 13:51:22 | 25,200 | 33974af33365eb0f7fa2de2f07b3f5daaa1ad403 | Update api_call-service.js | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_call-service/api_call-service.js",
"new_path": "nodes/api_call-service/api_call-service.js",
"diff": "@@ -49,6 +49,8 @@ module.exports = function(RED) {\nif (!apiService) throw new Error('call service node is missing api \"service\" property, not fou... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Update api_call-service.js |
748,240 | 03.05.2018 20:54:41 | 14,400 | 9880a932ca6c97d28884498704816a59ca244546 | Fix for getting RED.settings.userDir | [
{
"change_type": "MODIFY",
"old_path": "lib/base-node.js",
"new_path": "lib/base-node.js",
"diff": "@@ -69,7 +69,7 @@ class BaseNode {\ntry {\nif (DB) return DB;\n- let dbLocation = this.RED.settings.get('userDir');\n+ let dbLocation = this.RED.settings.userDir;\nif (!dbLocation) throw new Error('Co... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | #45 - Fix for getting RED.settings.userDir |
748,240 | 04.05.2018 22:55:32 | 14,400 | c6719c08d79cbdf9867ca93da0052322181a25bb | History node now supports end date and entity id filtering | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_get-history/api_get-history.html",
"new_path": "nodes/api_get-history/api_get-history.html",
"diff": "server: { value: '', type: 'server', required: true },\nstartdate: { value: '' },\nenddate: { value: '' },\n- entityid: { value: '' }\n+ entityid: {... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | #11 - History node now supports end date and entity id filtering |
748,240 | 04.05.2018 22:55:51 | 14,400 | dd901a64b11d931b06926ba4e66c691efa1365ad | Cleaned up some more docker dev env configuration for home assistant | [
{
"change_type": "MODIFY",
"old_path": "docker/home-assistant/root-fs/config/configuration.yaml",
"new_path": "docker/home-assistant/root-fs/config/configuration.yaml",
"diff": "@@ -14,25 +14,18 @@ logger:\ndefault: !env_var HA_LOGGER_DEFAULT\nrecorder:\n- purge_interval: 2\n- purge_keep_days: 1\n-\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Cleaned up some more docker dev env configuration for home assistant |
748,247 | 16.05.2018 15:52:10 | 25,200 | a02503ba5174eba24fc39b9c1beb7bbd1d9809a4 | fixed status for api-current-state and server state changed nodes | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.js",
"new_path": "nodes/api_current-state/api_current-state.js",
"diff": "@@ -40,18 +40,14 @@ module.exports = function(RED) {\nif (!states) return logAndContinueEmpty('local state cache missing, sending empty payload'... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | fixed status for api-current-state and server state changed nodes |
748,247 | 16.05.2018 15:58:34 | 25,200 | 3050a471ad1dd26222756ae969f535a116d41b41 | re-add success status to api-call-service | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.js",
"new_path": "nodes/api_current-state/api_current-state.js",
"diff": "@@ -59,7 +59,8 @@ module.exports = function(RED) {\n} else {\nRED.util.setMessageProperty(message, this.nodeConfig.property, currentState);\n}\n... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | re-add success status to api-call-service |
748,247 | 17.05.2018 13:55:41 | 25,200 | 8a83733078f20e83311b1a6a9a4ccdd7fce17879 | fixed state changed errors | [
{
"change_type": "MODIFY",
"old_path": "nodes/server-events-state-changed/server-events-state-changed.js",
"new_path": "nodes/server-events-state-changed/server-events-state-changed.js",
"diff": "@@ -29,10 +29,11 @@ module.exports = function(RED) {\nconst shouldHaltIfState = this.shouldHaltIfState(e... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | fixed state changed errors |
748,247 | 17.05.2018 15:26:47 | 25,200 | 977780d700ef722e0181ad6a9ec5662b8cbd1e59 | prioritised config over input for api-current-state | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.js",
"new_path": "nodes/api_current-state/api_current-state.js",
"diff": "@@ -31,7 +31,7 @@ module.exports = function(RED) {\n/* eslint-disable camelcase */\nonInput({ parsedMessage, message }) {\n- const entity_id = p... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | prioritised config over input for api-current-state |
748,247 | 17.05.2018 15:33:29 | 25,200 | 8c06e2d5ca86662cc164333cde669b42d774a1ed | change stop color to red | [
{
"change_type": "MODIFY",
"old_path": "nodes/server-events-state-changed/server-events-state-changed.js",
"new_path": "nodes/server-events-state-changed/server-events-state-changed.js",
"diff": "@@ -33,7 +33,7 @@ module.exports = function(RED) {\nif (shouldHaltIfState) {\nthis.debug('flow halted du... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | change stop color to red |
748,247 | 18.05.2018 09:48:22 | 25,200 | f4ba56b8333d12aacbf8d075de09367e2b24260f | poll-state cleanup | [
{
"change_type": "MODIFY",
"old_path": "nodes/poll-state/poll-state.js",
"new_path": "nodes/poll-state/poll-state.js",
"diff": "@@ -50,7 +50,7 @@ module.exports = function(RED) {\nconst state = await this.getState(this.nodeConfig.entity_id);\nif (!state) {\nthis.warn(`could not find state with entit... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | poll-state cleanup |
748,260 | 13.07.2018 13:44:26 | 21,600 | d685062a03c32363645335ae89e6421f321befef | Current State Node: Preserve original message with option to override payload | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.js",
"new_path": "nodes/api_current-state/api_current-state.js",
"diff": "@@ -7,6 +7,7 @@ module.exports = function(RED) {\nconfig: {\nname: {},\nhalt_if: {},\n+ override_payload: {},\nentity_id: {},\npropertyType: {},... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Current State Node: Preserve original message with option to override payload |
748,260 | 13.07.2018 13:45:12 | 21,600 | e84bedcbcb1408a434dca7837e74aefe0d912d84 | Give option to override payload | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.html",
"new_path": "nodes/api_current-state/api_current-state.html",
"diff": "name: { value: '' },\nserver: { value: '', type: 'server', required: true },\nhalt_if: { value: '' },\n+ override_payload: { value: true },\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Give option to override payload |
748,247 | 18.07.2018 09:11:23 | 25,200 | cf68d0af14132c431a7188779a1cb55ddc6d687f | Fixing current_state node | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.html",
"new_path": "nodes/api_current-state/api_current-state.html",
"diff": "server: { value: '', type: 'server', required: true },\nhalt_if: { value: '' },\noverride_payload: { value: true },\n+ override_object: { va... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Fixing current_state node |
748,238 | 19.07.2018 10:21:08 | -43,200 | e58591e197386a058e395f9e23b46f589f3e30e1 | Fix/Adjust outputs to make sense | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.js",
"new_path": "nodes/api_current-state/api_current-state.js",
"diff": "@@ -58,6 +58,7 @@ module.exports = function(RED) {\n// default switch to true if undefined (backward compatibility\nconst override_payload = thi... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Fix/Adjust outputs to make sense |
748,238 | 19.07.2018 10:59:21 | -43,200 | ef60b29e510446ca2a56d5543467b670f1ae1be2 | If override Object is disabled, return the current state inside the data property (As per previous behaviour) | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.html",
"new_path": "nodes/api_current-state/api_current-state.html",
"diff": "halt_if: { value: '' },\noverride_topic: { value: true },\noverride_payload: { value: true },\n- override_object: { value: true },\n+ overri... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | If override Object is disabled, return the current state inside the data property (As per previous behaviour) |
748,247 | 19.07.2018 08:16:02 | 25,200 | bd49063efe459992cd5794430f80b97918ec4b32 | refactor api_current_state | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_current-state/api_current-state.html",
"new_path": "nodes/api_current-state/api_current-state.html",
"diff": "halt_if: { value: '' },\noverride_topic: { value: true },\noverride_payload: { value: true },\n- override_property:{ value: false },\nentity... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | refactor api_current_state |
748,234 | 12.08.2018 23:57:13 | 25,200 | 768b34772783f2f03c2ae1be0d9e2aa3f35a3da4 | added <= and >= to comparison, fixed label that showed undefined string, added status for allowed and blocked outputs | [
{
"change_type": "MODIFY",
"old_path": "nodes/trigger-state/trigger-state.html",
"new_path": "nodes/trigger-state/trigger-state.html",
"diff": "<option value=\"is\">Is</option>\n<option value=\"is_not\">Is Not</option>\n- <option value=\"greater_than\">Greater Than</option>\n- <option value=\"less_t... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | added <= and >= to comparison, fixed label that showed undefined string, added status for allowed and blocked outputs |
748,234 | 13.08.2018 00:02:23 | 25,200 | 128884994e839ab6344ddd2da372477d9ef40c49 | Making poll-state more like the output of current-state | [
{
"change_type": "MODIFY",
"old_path": "nodes/poll-state/poll-state.js",
"new_path": "nodes/poll-state/poll-state.js",
"diff": "@@ -47,23 +47,24 @@ module.exports = function(RED) {\nasync onTimer() {\ntry {\n- const state = await this.getState(this.nodeConfig.entity_id);\n- if (!state) {\n+ const po... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Making poll-state more like the output of current-state |
748,234 | 26.08.2018 21:58:29 | 25,200 | 725ada305ea85e75a99f0ec2c056048cbe36e877 | Fix for call-service node replacing msg object | [
{
"change_type": "MODIFY",
"old_path": "nodes/api_call-service/api_call-service.js",
"new_path": "nodes/api_call-service/api_call-service.js",
"diff": "@@ -51,13 +51,13 @@ module.exports = function(RED) {\nthis.debug(`Calling Service: ${apiDomain}:${apiService} -- ${JSON.stringify(apiData || {})}`);... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Fix for call-service node replacing msg object |
748,234 | 01.09.2018 01:21:40 | 25,200 | 4b75d3e31558cd2d8cc469803cde441762bd42ea | Added files from node-home-assistant | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "lib/ha-api.js",
"diff": "+'use strict';\n+const axios = require('axios');\n+const utils = require('./utils');\n+const debug = require('debug')('home-assistant:api');\n+\n+class HaApi {\n+ constructor(config) {\n+ this.config = config;\n+\n+ cons... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added files from node-home-assistant |
748,234 | 20.09.2018 02:44:42 | 25,200 | 8a2d87c3022130d569424a8b81f93467b960cb32 | Added ability to filter event type within the 'events: all' node | [
{
"change_type": "MODIFY",
"old_path": "nodes/events-all/events-all.html",
"new_path": "nodes/events-all/events-all.html",
"diff": "color: '#038FC7',\ndefaults: {\nname: { value: '' },\n- server: { value: '', type: 'server', required: true }\n+ server: { value: '', type: 'server', required: true },\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added ability to filter event type within the 'events: all' node |
748,234 | 20.09.2018 19:20:16 | 25,200 | cf2a4ad5df8772a0fb508debe946ce39bccd9141 | Fix for it ignoring custom paths in node-red
AYapejian/node-red-contrib-home-assistant/issues/41 | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "// Calls the custom api backend defined in the config-server.js node\n// TODO: Not sure how this works with node-red if auth is enabled\nfunction setServicesAnd... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Fix for it ignoring custom paths in node-red
AYapejian/node-red-contrib-home-assistant/issues/41 |
748,234 | 22.09.2018 23:12:09 | 25,200 | 3775fa89c34c06a9895a5299d9edda1084396d6f | Added better error reporting
For refused connection and incorrect access token | [
{
"change_type": "MODIFY",
"old_path": "lib/ha-websocket.js",
"new_path": "lib/ha-websocket.js",
"diff": "@@ -132,7 +132,7 @@ class HaWebsocket extends EventEmitter {\ndebug(err);\nthis.emit('ha_events:error', err);\n}\n- debug(this.client);\n+\nif (this.client && this.client.readyState === this.cli... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added better error reporting
For refused connection and incorrect access token |
748,234 | 23.09.2018 00:33:12 | 25,200 | bbc9d11ce8ddd0a837c588907ab1c89405b63427 | Updated to home-assistant 0.78.3 and node 8.12.0 for docker
Fixed a couple of the test flows | [
{
"change_type": "MODIFY",
"old_path": "docker/home-assistant/Dockerfile",
"new_path": "docker/home-assistant/Dockerfile",
"diff": "-FROM homeassistant/home-assistant:0.77.3\n+FROM homeassistant/home-assistant:0.78.3\nENV HA_HOME_ASSISTANT_TIME_ZONE=America/New_York \\\nHA_HOME_ASSISTANT_LATITUDE=42... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Updated to home-assistant 0.78.3 and node 8.12.0 for docker
Fixed a couple of the test flows |
748,234 | 23.09.2018 01:08:49 | 25,200 | 04ad3984b326ea239de26eb4ffa8a168ad5b8d02 | More fixes for not ignoring custom paths in node-red.
Fix for Spartan-II-117/node-red-contrib-home-assistant/issues/25 | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "// Calls the custom api backend defined in the config-server.js node\n// TODO: Not sure how this works with node-red if auth is enabled\nfunction setServicesAnd... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | More fixes for not ignoring custom paths in node-red.
Fix for Spartan-II-117/node-red-contrib-home-assistant/issues/25 |
748,234 | 23.09.2018 15:34:11 | 25,200 | 77752161b460fe04d5374804c4cbb6e3901f8e41 | Version Bump to 0.0.2 | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "-# v0.0.1\n-* Feat: Added <= and => comparison for Constraints and Outputs. Renamed greater_than and less_than to > and < but kept backwards compatibility\n+# Changelog\n+\n+All notable changes to this projec... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Version Bump to 0.0.2 |
748,234 | 26.09.2018 22:05:16 | 25,200 | 43a5ca90f1ce0806f355d3cd4f1770a37e585f2d | 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 | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.js",
"new_path": "nodes/call-service/call-service.js",
"diff": "@@ -93,7 +93,7 @@ module.exports = function(RED) {\nRED.nodes.registerType('api-call-service', CallServiceNode, {\nsettings: {\napiCallServiceAdminPrefix: {\n- valu... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | 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 |
748,234 | 26.09.2018 22:13:50 | 25,200 | 104fd72223891989c8eab3bddd37170102855445 | Version Bump to 0.0.3 | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [0.0.3] - 2018.9.26\n+\n+### Fixed\n+\n+* Fix for autocomplete xhr call showing undefined for httpAdminRoot. Not going to assume that ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Version Bump to 0.0.3 |
748,234 | 27.09.2018 18:44:00 | 25,200 | 6e7a3b5ef752db0abb79afad7f5065159e16f414 | Added json editor to call-service node data field | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "$domainField.val(node.service_domain);\n$serviceField.val(node.service);\nsetServicesAndDomains(node);\n+ $('#node-input-data').typedInput({\n+ 'types': ['json'... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added json editor to call-service node data field |
748,234 | 29.09.2018 22:58:51 | 25,200 | 938a14e72178dd385a6d7e87473543189bc96d2f | Server URL 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. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [Unreleased]\n+\n+### Added\n+\n+* json editor to call-service node data input\n+\n+### Changed\n+\n+* host and access token/password ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Server URL 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. |
748,234 | 30.09.2018 18:15:55 | 25,200 | 5b74391a2b4e89db730278b1f137374e51904937 | New Fire Event Node to send events to Home Assistant | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.\n### Added\n* json editor to call-service node data input\n+* Fire Event node to send events\n### Changed\n"
},
{
"... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | New Fire Event Node to send events to Home Assistant |
748,234 | 30.09.2018 18:20:06 | 25,200 | 6ec2d893b2715ff32cbb48a182a666f3cf203a5c | Version Bump to 0.0.4 | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n-## [Unreleased]\n+## [0.0.4] - 2018.9.31\n### Added\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_pat... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Version Bump to 0.0.4 |
748,234 | 01.10.2018 20:29:14 | 25,200 | 2c5d194eb957530789f2b40180191e233f67aca1 | fix for not referencing class in fire-event | [
{
"change_type": "MODIFY",
"old_path": "nodes/fire-event/fire-event.js",
"new_path": "nodes/fire-event/fire-event.js",
"diff": "@@ -61,7 +61,7 @@ module.exports = function (RED) {\nreturn this.nodeConfig.server.api.fireEvent(eventType, eventData)\n.catch(err => {\nthis.error(`Error firing event, hom... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | fix for not referencing class in fire-event |
748,234 | 02.10.2018 19:11:09 | 25,200 | ffd876a6e97adf91a08d29f19acdd8f42596cd2e | Fixed undefined string in call-server node | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "mergecontext: { value: null }\n},\noneditprepare: function () {\n- const NODE = this;\n+ const node = this;\nconst $server = $('#node-input-server');\nconst $do... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Fixed undefined string in call-server node |
748,234 | 05.10.2018 05:05:32 | 25,200 | c6420c49216fae337d85ddefa437e4e77995a0dd | Added more testing and debugging to the connection to Home Assistant | [
{
"change_type": "MODIFY",
"old_path": "lib/ha-websocket.js",
"new_path": "lib/ha-websocket.js",
"diff": "@@ -290,6 +290,67 @@ class HaWebsocket extends EventEmitter {\n)\n);\n}\n+\n+ static async testConnection({ baseUrl, apiPass, legacy }) {\n+ debug('[Testing WS] WebSocket Connection');\n+ functi... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added more testing and debugging to the connection to Home Assistant |
748,234 | 05.10.2018 05:10:31 | 25,200 | 55708d68e592f1cfc17da61e53248974fa6dbb63 | Changes to README and CHANGELOG | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -7,6 +7,13 @@ All notable changes to this project will be documented in this file.\n### Added\n- Linting and formating into pre-commit hooks using eslint and prettier\n+- More logging to the testing of the... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Changes to README and CHANGELOG |
748,234 | 05.10.2018 05:12:18 | 25,200 | abef18f56f57cf1c9bba74283dfd553643de8198 | Version Bump to 0.0.5 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"node-red-contrib-home-assistant-websocket\",\n\"description\": \"Node-RED integration with Home Assistant through websocket and REST API\",\n- \"version\": \"0.0.4\",\n+ \"version\": \"0.0.5\",... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Version Bump to 0.0.5 |
748,234 | 06.10.2018 02:51:17 | 25,200 | 7f731c5109935c2d954ce1f50f543699b3cd2de9 | Close existing websocket on deploy | [
{
"change_type": "MODIFY",
"old_path": "nodes/config-server/config-server.js",
"new_path": "nodes/config-server/config-server.js",
"diff": "@@ -135,7 +135,7 @@ module.exports = function(RED) {\nthis.setOnContext('isConnected', true);\n- this.log(`New connection ${this.credentials.host}`);\n+ this.lo... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Close existing websocket on deploy |
748,234 | 06.10.2018 05:21:15 | 25,200 | c73b226fe9a6998fc2616e5f7c5149c0a43b2c0a | Output Initially / On Deploy for trigger-state and events: state node
Poll state node to wait for a state before triggering
Spartan-II-117/node-red-contrib-home-assistant/issues/36 | [
{
"change_type": "MODIFY",
"old_path": "lib/ha-websocket.js",
"new_path": "lib/ha-websocket.js",
"diff": "@@ -16,6 +16,7 @@ class HaWebsocket extends EventEmitter {\nthis.connected = false;\nthis.states = {};\nthis.services = {};\n+ this.statesLoaded = false;\nthis.setMaxListeners(0);\n}\n@@ -73,6 +... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Output Initially / On Deploy for trigger-state and events: state node
Poll state node to wait for a state before triggering
https://github.com/AYapejian/node-red-contrib-home-assistant/issues/64
Spartan-II-117/node-red-contrib-home-assistant/issues/36 |
748,234 | 06.10.2018 05:23:22 | 25,200 | b5a0eba7fbb596eab0c1fb154155c052d67e1f0f | Version Bump to 0.0.6 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"node-red-contrib-home-assistant-websocket\",\n\"description\": \"Node-RED integration with Home Assistant through websocket and REST API\",\n- \"version\": \"0.0.5\",\n+ \"version\": \"0.0.6\",... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Version Bump to 0.0.6 |
748,234 | 06.10.2018 13:37:26 | 25,200 | 42a079e572ab1fb44475f014af85265512e68717 | Added checks to see if server is selected before calling get entities | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [Unreleased]\n+\n+### Fixed\n+\n+- Added more checks to see if server is selected before call \"GET /homeassistant/entities\"\n+\n## [... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added checks to see if server is selected before calling get entities |
748,234 | 06.10.2018 15:01:00 | 25,200 | 18b6809691c44c9584657d5a5c2c469b56facdb8 | README update for hass.io | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -23,7 +23,7 @@ node-red-contrib-home-assistant-websocket\nInstall via npm\n```shell\n-$ cd cd ~/.node-red\n+$ cd ~/.node-red\n$ npm install node-red-contrib-home-assistant-websocket\n# then restart node-red\n```... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | README update for hass.io |
748,234 | 07.10.2018 00:29:16 | 25,200 | 05ece0329b8696ca030d038ae3e11e2a6cd4685a | Version Bump to 0.0.7 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"node-red-contrib-home-assistant-websocket\",\n\"description\": \"Node-RED integration with Home Assistant through websocket and REST API\",\n- \"version\": \"0.0.6\",\n+ \"version\": \"0.0.7\",... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Version Bump to 0.0.7 |
748,234 | 08.10.2018 14:35:55 | 25,200 | 375d23bbc20d5768fdf980d5eef82fed18150f99 | Added support for reading the HASSIO_TOKEN for hass.io and using that in the server config if the server address is the hass.io proxy | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -38,14 +38,17 @@ $ npm install node-red-contrib-home-assistant-websocket#dev-master\nFor [Hass.io](https://hass.io/) add-on users:\n-Use Hass.io API Proxy address `http://hassio/homeassistant` as Home Assistant ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added support for reading the HASSIO_TOKEN for hass.io and using that in the server config if the server address is the hass.io proxy |
748,234 | 08.10.2018 17:28:21 | 25,200 | 3aa3620e43e8701f4ed19aa0f6cacdfb95d8c53a | Version Bump to 0.1.0 and CHANGELOG | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [0.1.0] 2018.10.8\n+\n+### Added\n+\n+- Support for reading the HASSIO_TOKEN from hass.io and using that in the server config if the s... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Version Bump to 0.1.0 and CHANGELOG |
748,234 | 09.10.2018 19:59:17 | 25,200 | 73f08cfd38bc075f0d688b1fd644fe2b76973856 | Stop poll-state node from firing if not connected to home assistant | [
{
"change_type": "MODIFY",
"old_path": "nodes/poll-state/poll-state.js",
"new_path": "nodes/poll-state/poll-state.js",
"diff": "@@ -60,6 +60,8 @@ module.exports = function(RED) {\n}\nasync onTimer() {\n+ if (!this.isConnected) return;\n+\ntry {\nconst pollState = await this.getState(\nthis.nodeConfi... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Stop poll-state node from firing if not connected to home assistant |
748,234 | 10.10.2018 20:43:08 | 25,200 | f6c55473bdd2fdcf13616c1066d42226dd8ba9bd | Set full states object to the global Home Assistant context on load | [
{
"change_type": "MODIFY",
"old_path": "lib/ha-websocket.js",
"new_path": "lib/ha-websocket.js",
"diff": "@@ -76,9 +76,8 @@ class HaWebsocket extends EventEmitter {\nthis.states = msg;\nif (!this.statesLoaded) {\n- debug('First load of states');\nthis.statesLoaded = true;\n- this.emit('ha_events:sta... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Set full states object to the global Home Assistant context on load |
748,234 | 11.10.2018 00:07:19 | 25,200 | 6ce93ad31019f2e7a07dd2a73c4fa96c1f8cb0a0 | Added fire-event tests | [
{
"change_type": "MODIFY",
"old_path": "test/fire-event_spec.js",
"new_path": "test/fire-event_spec.js",
"diff": "@@ -21,4 +21,151 @@ describe('fire-event node', function() {\ndone();\n});\n});\n+\n+ // Merge Context: Payload Data > Flow Data > Global Data > Config Data ( payload data property alway... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added fire-event tests |
748,234 | 12.10.2018 03:57:40 | 25,200 | 5024f2b2da29875fc657e8e3bd5f8607b87685ee | fix for test:watch to actually work from npm run test:watch | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"scripts\": {\n\"test\": \"mocha \\\"test/**/*_spec.js\\\"\",\n\"test-travis\": \"istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec test/**/*_spec.js\",\n- \"test:watch\": \"nodemon -w test/ -w lib/ ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | fix for test:watch to actually work from npm run test:watch |
748,234 | 18.10.2018 03:18:41 | 25,200 | 3da9b9252cf00ac6ecf89afcd2b11110964d5128 | Add permissions check for the httpAdmin getsFixes | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [0.1.2] 2018.10.18\n+\n+### Security\n+\n+- Added permission checks for the httpAdmin endpoints for autocomplete [Fixes #7](https://gi... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Add permissions check for the httpAdmin getsFixes #7 |
748,234 | 20.10.2018 21:54:08 | 25,200 | c62ed86b2ca80224109929fee609c7bb0463ea28 | Set service object to the global Home Assistant context on load
Only process state and service object if not empty | [
{
"change_type": "MODIFY",
"old_path": "lib/ha-websocket.js",
"new_path": "lib/ha-websocket.js",
"diff": "@@ -69,7 +69,7 @@ class HaWebsocket extends EventEmitter {\n}\nonClientStates(msg) {\n- if (!msg) {\n+ if (!msg || Object.keys(msg).length === 0) {\nreturn;\n}\n@@ -82,11 +82,16 @@ class HaWebso... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Set service object to the global Home Assistant context on load
Only process state and service object if not empty |
748,248 | 30.10.2018 23:08:30 | 18,000 | 42e4a19719f16cd05880b3f34eb617c6a24184be | Added override data control to current-state node
Default should preserve current behavior
- The change allows the node to fully pass-thru the input
message to the output, but preserves the halt ability of the node | [
{
"change_type": "MODIFY",
"old_path": "nodes/current-state/current-state.html",
"new_path": "nodes/current-state/current-state.html",
"diff": "halt_if: { value: '' },\noverride_topic: { value: true },\noverride_payload: { value: true },\n+ override_data: { value: true },\nentity_id: { value: '' },\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added override data control to current-state node (#20)
- Default should preserve current behavior
- The change allows the node to fully pass-thru the input
message to the output, but preserves the halt ability of the node
Signed-off-by: Jason Albert <jtalbert@gmail.com> |
748,234 | 08.11.2018 17:09:26 | 28,800 | 7ac3ae8bae7754226b66f42b76343344885945df | Updated status message for get-history to show timestamp | [
{
"change_type": "MODIFY",
"old_path": "nodes/get-history/get-history.js",
"new_path": "nodes/get-history/get-history.js",
"diff": "@@ -86,7 +86,7 @@ module.exports = function(RED) {\nthis.status({\nfill: 'green',\nshape: 'dot',\n- text: 'Success'\n+ text: `Success at: ${this.getPrettyDate()}`\n});\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Updated status message for get-history to show timestamp |
748,234 | 11.11.2018 23:11:45 | 28,800 | 5de04e9948b9c00cd1eaf25a6b87934c840619e3 | Added .eslintignore to .npmignore | [
{
"change_type": "MODIFY",
"old_path": ".npmignore",
"new_path": ".npmignore",
"diff": "@@ -2,6 +2,7 @@ coverage/\ntest/\n.vscode\n.eslintrc.js\n+.eslintignore\n.github\n.dockerignore\n.travis.yml\n"
},
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added .eslintignore to .npmignore |
748,234 | 15.11.2018 22:32:48 | 28,800 | df8c0aed870644b0a2926bb6f20add8244fce15a | Don't send message until received result from server for call-service | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.js",
"new_path": "nodes/call-service/call-service.js",
"diff": "@@ -70,10 +70,10 @@ module.exports = function(RED) {\nservice: apiService,\ndata: apiData || null\n};\n- this.send(message);\nreturn this.nodeConfig.server.websocke... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Don't send message until received result from server for call-service |
748,234 | 16.11.2018 16:46:33 | 28,800 | c930340cb6362a362bb48e72ef3f929b0dbda287 | Entity Id in call-service node broken out from data
and has autocomplete enable on it | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "<script type=\"text/javascript\">\n- RED.nodes.registerType('api-call-service', {\n- category: 'home_assistant',\n- color: '#52C0F2',\n+ RED.nodes.registerType(... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Entity Id in call-service node broken out from data
and has autocomplete enable on it |
748,234 | 17.11.2018 01:35:24 | 28,800 | fa93052bf65ef47f10ce56baceff64329754a621 | Added substring/exact/regex to trigger node entity filter | [
{
"change_type": "MODIFY",
"old_path": "nodes/trigger-state/trigger-state.html",
"new_path": "nodes/trigger-state/trigger-state.html",
"diff": "-<script type=\"text/x-red\" data-template-name=\"trigger-state\">\n- <!-- Name -->\n- <div class=\"form-row\">\n- <label for=\"node-input-name\"><i class=\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added substring/exact/regex to trigger node entity filter |
748,234 | 18.11.2018 20:40:15 | 28,800 | e8c22d5b0ccf2d384eb38613304c20130cccf4f5 | Added option to rendar Mustache templates in data
Call-service and fire-event data properties
Better handling of call-service error when not connected to HA
Sending status for fire-event and call-services nodes
fire-event won't pass message on until response from HA | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "}\n}\n},\n+ render_data: { value: false },\nmergecontext: { value: null }\n},\noneditprepare: function() {\n<input type=\"text\" id=\"node-input-data\" />\n</di... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added option to rendar Mustache templates in data
- Call-service and fire-event data properties
- Better handling of call-service error when not connected to HA
- Sending status for fire-event and call-services nodes
- fire-event won't pass message on until response from HA |
748,234 | 18.11.2018 21:07:23 | 28,800 | a5d858c959ca15db6c72cb760e65b00efcd62b24 | Removed some fire-event tests until mock server is in | [
{
"change_type": "MODIFY",
"old_path": "test/fire-event_spec.js",
"new_path": "test/fire-event_spec.js",
"diff": "@@ -23,7 +23,7 @@ describe('fire-event node', function() {\n});\n// Merge Context: Payload Data > Flow Data > Global Data > Config Data ( payload data property always wins if provided )\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Removed some fire-event tests until mock server is in |
748,234 | 18.11.2018 21:49:13 | 28,800 | bea72e3ced75f2ac82fa64741b146a986330022e | Add Requesting status to get-history and render-template | [
{
"change_type": "MODIFY",
"old_path": "nodes/get-history/get-history.js",
"new_path": "nodes/get-history/get-history.js",
"diff": "@@ -76,6 +76,12 @@ module.exports = function(RED) {\nenddate\n);\n+ this.status({\n+ fill: 'yellow',\n+ shape: 'dot',\n+ text: `Requesting at: ${this.getPrettyDate()}`\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Add Requesting status to get-history and render-template |
748,234 | 18.11.2018 22:46:31 | 28,800 | 13bd7a3f70194ec266852fb28b98d3be6e293204 | Only subscribe to all state_changed events if needed
If filter type is exact for trigger and event state nodes only subscribe to the exact entity id state change | [
{
"change_type": "MODIFY",
"old_path": "nodes/events-state-changed/events-state-changed.js",
"new_path": "nodes/events-state-changed/events-state-changed.js",
"diff": "@@ -23,8 +23,17 @@ module.exports = function(RED) {\nclass ServerStateChangedNode extends EventsNode {\nconstructor(nodeDefinition) ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Only subscribe to all state_changed events if needed
If filter type is exact for trigger and event state nodes only subscribe to the exact entity id state change |
748,234 | 19.11.2018 18:18:19 | 28,800 | 5bae5022abcb4b06bcb5ff4293158974dff9688f | stalebot config changes - removed stale label | [
{
"change_type": "MODIFY",
"old_path": ".github/stale.yml",
"new_path": ".github/stale.yml",
"diff": "@@ -7,7 +7,7 @@ exemptLabels:\n- pinned\n- security\n# Label to use when marking an issue as stale\n-staleLabel: wontfix\n+# staleLabel: wontfix\n# Comment to post when marking an issue as stale. Se... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | stalebot config changes - removed stale label |
748,234 | 27.11.2018 00:39:57 | 28,800 | 6270854a05a318863d5c8e5b543b2948d0ae1b45 | Removed unused timed-task.js and dependency
Update dev dependencies | [
{
"change_type": "DELETE",
"old_path": "lib/timed-task.js",
"new_path": null,
"diff": "-const serialize = require('serialize-javascript');\n-\n-class TimedTask {\n- constructor(o) {\n- this.id = o.id;\n- this.task = o.task;\n- this.onStart = o.onStart;\n- this.onComplete = o.onComplete;\n- this.onCa... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Removed unused timed-task.js and dependency
Update dev dependencies |
748,246 | 02.12.2018 12:03:00 | 0 | 51ecf7ad69a26630f54a7598c47dd91e9d63c9d0 | Added times to success and error message statuses. | [
{
"change_type": "MODIFY",
"old_path": "nodes/render-template/render-template.js",
"new_path": "nodes/render-template/render-template.js",
"diff": "@@ -45,7 +45,7 @@ module.exports = function(RED) {\nthis.status({\nfill: 'green',\nshape: 'dot',\n- text: 'Success'\n+ text: `Success at: ${this.getPret... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added times to success and error message statuses. (#46) |
748,234 | 05.12.2018 14:31:53 | 28,800 | 8df2acbd33b781bb35219caba858b67408ec1483 | Add timeSinceChangedMs to current-state, events-state, and trigger-state nodes | [
{
"change_type": "MODIFY",
"old_path": "nodes/current-state/current-state.js",
"new_path": "nodes/current-state/current-state.js",
"diff": "@@ -55,6 +55,9 @@ module.exports = function(RED) {\n`entity could not be found in cache for entity_id: ${entity_id}, sending empty payload`\n);\n+ currentState.... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Add timeSinceChangedMs to current-state, events-state, and trigger-state nodes |
748,234 | 05.12.2018 15:01:14 | 28,800 | f492a63c175e6b5e1a66ab15c33eb2aa2d97827e | Refactor casting state to happen before halt and trigger logic | [
{
"change_type": "MODIFY",
"old_path": "nodes/current-state/current-state.js",
"new_path": "nodes/current-state/current-state.js",
"diff": "@@ -58,6 +58,15 @@ module.exports = function(RED) {\ncurrentState.timeSinceChangedMs =\nDate.now() - new Date(currentState.last_changed).getTime();\n+ // Conver... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Refactor casting state to happen before halt and trigger logic |
748,234 | 05.12.2018 15:04:56 | 28,800 | 5ee065b754aa7ed77319c04e060a705efd0626d6 | Only cast state if not casting to string | [
{
"change_type": "MODIFY",
"old_path": "nodes/current-state/current-state.js",
"new_path": "nodes/current-state/current-state.js",
"diff": "@@ -59,7 +59,10 @@ module.exports = function(RED) {\nDate.now() - new Date(currentState.last_changed).getTime();\n// Convert and save original state if needed\n... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Only cast state if not casting to string |
748,234 | 08.12.2018 09:42:09 | 28,800 | d19992911b6797ad6b9627f84df8b2a70c918dde | Added a more comprehensive half if logic to serveral nodes | [
{
"change_type": "MODIFY",
"old_path": "lib/base-node.js",
"new_path": "lib/base-node.js",
"diff": "@@ -15,7 +15,7 @@ const utils = {\ntoCamelCase(str) {\nreturn str.replace(/(?:^\\w|[A-Z]|\\b\\w|\\s+)/g, function(match, index) {\nif (+match === 0) return '';\n- return index == 0 ? match.toLowerCase... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added a more comprehensive half if logic to serveral nodes |
748,234 | 08.12.2018 12:47:01 | 28,800 | f43287cc1185a8a1bf41bddc1ae420dd8179d2e1 | Changed the way autocomplete queries for states and services
to allow for more than one HA server and to populate the correct values.
Fixes | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "const selectedServer = $server.val();\nif (node.server || (selectedServer && selectedServer !== \"_ADD_\")) {\nsetServicesAndDomains(node);\n- $.get(`homeassist... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Changed the way autocomplete queries for states and services
to allow for more than one HA server and to populate the correct values.
Fixes #49 |
748,234 | 08.12.2018 18:05:02 | 28,800 | d8b69033796536376913df9f0360c3623c3009a2 | Changelog and Readme changes | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [0.4.0] 2018.12.8\n+\n+### New Features\n+\n+- Ability to cast the `state` of event entities and payload to String/Number/Boolean\n+- ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Changelog and Readme changes |
748,234 | 09.12.2018 10:25:48 | 28,800 | dc46a91f5d390d687e53af43dc15457040918cce | Make sure halt if logic and default values and version bump | [
{
"change_type": "MODIFY",
"old_path": "nodes/current-state/current-state.js",
"new_path": "nodes/current-state/current-state.js",
"diff": "@@ -72,6 +72,11 @@ module.exports = function(RED) {\n);\n}\n+ this.nodeConfig.halt_if_compare =\n+ this.nodeConfig.halt_if_compare || 'is';\n+ this.nodeConfig.h... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Make sure halt if logic and default values and version bump |
748,234 | 09.12.2018 10:27:10 | 28,800 | dddbde8a765df30d337f829b3aad70b0ab70856b | changelog version bump | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [0.4.1] 2018.12.9\n+\n+### Fixed\n+\n+- Make sure `halt if` logic has default starting values\n+\n## [0.4.0] 2018.12.8\n### New Featur... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | changelog version bump |
748,234 | 09.12.2018 14:35:19 | 28,800 | 5ca161c620cf948a375dc1a334f8f60892f74649 | A fix to make sure the server id is present for the autocomplete call
Fixes | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "// If a server is selected populate dropdowns\nconst selectedServer = $server.val();\n+ const serverId = node.server || selectedServer;\nif (node.server || (sel... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | A fix to make sure the server id is present for the autocomplete call
Fixes #50 |
748,234 | 10.12.2018 07:24:19 | 28,800 | b27c565775185c4cdf6d7da6d5c095a12e07f6b0 | Make Server Id is not empty when performing autocomplete ajax call for get history node | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [0.4.3] 2018.12.9\n+\n+### Fixed\n+\n+- Make Server Id is not empty when performing autocomplete ajax call for `get history` node\n+\n... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Make Server Id is not empty when performing autocomplete ajax call for get history node |
748,234 | 10.12.2018 16:59:19 | 28,800 | d261b993dcd3d5bf3578c6428b6ca9ec1f1bd192 | Added secondary outputs for 'halt if' logic
current-state, events-state, and poll-state nodes | [
{
"change_type": "MODIFY",
"old_path": "nodes/current-state/current-state.html",
"new_path": "nodes/current-state/current-state.html",
"diff": "override_payload: { value: true },\noverride_data: { value: true },\nentity_id: { value: \"\" },\n- state_type: { value: \"str\" }\n+ state_type: { value: \... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added secondary outputs for 'halt if' logic
current-state, events-state, and poll-state nodes |
748,234 | 11.12.2018 12:43:56 | 28,800 | 1de0c0e57260d17474f2358a54099a3dea1deb2e | Refactored the UI for `halt if` logic into an external file and loaded on demand | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [Unreleased]\n+\n+### New Features\n+\n+- Added secondary outputs for `halt if` logic for current-state, events-state, and poll-state ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Refactored the UI for `halt if` logic into an external file and loaded on demand |
748,234 | 03.12.2018 02:42:46 | 28,800 | 46a94958b0638c0a6d056827b97883f247940d90 | get-entities feature | [
{
"change_type": "MODIFY",
"old_path": "lib/base-node.js",
"new_path": "lib/base-node.js",
"diff": "@@ -286,6 +286,8 @@ class BaseNode {\ncase '<=':\ncase 'lte':\nreturn actualValue <= cValue;\n+ case 'starts_with':\n+ return actualValue.startsWith(cValue);\n}\n}\n}\n"
},
{
"change_type": "M... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | get-entities feature |
748,234 | 16.12.2018 23:49:20 | 28,800 | ac3a29e449dece9d835ff320e4cccd9ec5db2b78 | Added payload output location for call-service node
Closes | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "}\n},\nrender_data: { value: false },\n- mergecontext: { value: null }\n+ mergecontext: { value: null },\n+ output_location: { value: \"payload\" },\n+ output_l... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added payload output location for call-service node
Closes #56 |
748,234 | 17.12.2018 00:31:41 | 28,800 | 2635ed0ddd0b1a2cc3d6f7380c4b7e29c648e3ad | fixed some html alignment issues | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "}\n} catch (e) {}\n- $data.typedInput({\n+ $data\n+ .typedInput({\ntypes: [\"json\"]\n- });\n+ })\n+ .typedInput(\"width\", \"68%\");\nconst utils = {\nsetDefau... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | fixed some html alignment issues |
748,234 | 17.12.2018 10:32:23 | 28,800 | d6063be1e8c5c9ddfa34d78023641dee5fe6f752 | Added lodash.uniq dependency | [
{
"change_type": "MODIFY",
"old_path": "package-lock.json",
"new_path": "package-lock.json",
"diff": "\"ansi-regex\": {\n\"version\": \"2.1.1\",\n\"bundled\": true,\n- \"dev\": true,\n- \"optional\": true\n+ \"dev\": true\n},\n\"aproba\": {\n\"version\": \"1.2.0\",\n\"safe-buffer\": {\n\"version\": ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added lodash.uniq dependency |
748,234 | 17.12.2018 12:59:42 | 28,800 | 2ba9d8d82aceae11a71106c585055c032ac7c2da | Fixed the handling of multiple entity ids for the homeassistant domain
Fixes | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": ".typedInput(\"width\", \"68%\");\n},\noneditsave: function() {\n- const entityId = $(\"#entity_id\").val();\n+ const entityId = $(\"#entity_id\")\n+ .val()\n+ .... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Fixed the handling of multiple entity ids for the homeassistant domain
Fixes #57 |
748,234 | 17.12.2018 14:22:36 | 28,800 | fc29219bc661a52d48715a5b80e85b7e2527380e | Changed call-service to only create an array for entity id of more than one | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": ".typedInput(\"width\", \"68%\");\n},\noneditsave: function() {\n- const entityId = $(\"#entity_id\")\n- .val()\n- .replace(/\\s/g, \"\")\n- .split(\",\");\n-\n+... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Changed call-service to only create an array for entity id of more than one |
748,234 | 17.12.2018 15:07:01 | 28,800 | 9d603cfafb8ad5f116ea8f9aff3f84a2d5056e99 | change call-service to only create array for homeassistant domain to stop possible breaking change | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "const $nodeInputData = $(\"#node-input-data\");\nconst dataString = $nodeInputData.val() || \"{}\";\n- if (entityId.indexOf(\",\") !== -1) {\n+ if (\n+ this.ser... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | change call-service to only create array for homeassistant domain to stop possible breaking change |
748,234 | 18.12.2018 13:33:32 | 28,800 | 511fac2b9db6b466a287c8874b0eef56a2385c15 | CHANGELOG, README, and Bug_reported modified | [
{
"change_type": "MODIFY",
"old_path": ".github/ISSUE_TEMPLATE/Bug_report.md",
"new_path": ".github/ISSUE_TEMPLATE/Bug_report.md",
"diff": "---\nname: Bug report\nabout: Create a report to help us improve\n-\n---\n**Describe the bug**\n@@ -9,6 +8,7 @@ A clear and concise description of what the bug ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | CHANGELOG, README, and Bug_reported modified |
748,234 | 19.12.2018 16:42:32 | 28,800 | 6a9fb52003e3553554d2fd3864b8dd6efe12e5c5 | fixed get-entities to use dynamic label | [
{
"change_type": "MODIFY",
"old_path": "nodes/get-entities/get-entities.html",
"new_path": "nodes/get-entities/get-entities.html",
"diff": "outputs: 1,\nicon: \"split.png\",\npaletteLabel: \"get entities\",\n- label: \"get entities\",\n+ label: function() {\n+ return this.name || \"get entities\";\n... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | fixed get-entities to use dynamic label |
748,234 | 28.12.2018 23:40:31 | 28,800 | 284aceae06a26389a2cfd9ba9576d2cb37d50d09 | Fixed race condition where wildcard events were getting processed before new state was set | [
{
"change_type": "MODIFY",
"old_path": "lib/ha-websocket.js",
"new_path": "lib/ha-websocket.js",
"diff": "@@ -129,14 +129,6 @@ class HaWebsocket extends EventEmitter {\nreturn;\n}\n- // Emit on all channel\n- this.emit('ha_events:all', emitEvent);\n-\n- // Emit on the event type channel\n- if (emitE... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Fixed race condition where wildcard events were getting processed before new state was set |
748,234 | 29.12.2018 22:15:52 | 28,800 | f6abe0dcb41f08185010e013632d12aa16d2172b | html entities fixed in html files | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "<h3>Details</h3>\n<p>If the incoming message has a <code>payload</code> property with <code>domain</code>, <code>service</code> set it will override any config ... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | html entities fixed in html files |
748,234 | 29.12.2018 22:43:31 | 28,800 | 44a2f86303c89f8e10c9b4aa384ee0f5dbe1914e | fix onDeploy for trigger-state node when substring/regex | [
{
"change_type": "MODIFY",
"old_path": "nodes/trigger-state/trigger-state.js",
"new_path": "nodes/trigger-state/trigger-state.js",
"diff": "@@ -81,22 +81,22 @@ module.exports = function(RED) {\n}\nasync onDeploy() {\n- const entityState = await this.nodeConfig.server.homeAssistant.getStates(\n- this... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | fix onDeploy for trigger-state node when substring/regex |
748,234 | 29.12.2018 22:54:27 | 28,800 | a297b5788e0891b68995267a22c83ff3c5f8bec6 | CHANGELOG and CONTRIBUTING changes | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "All notable changes to this project will be documented in this file.\n+## [0.5.1] 2018.12.29\n+\n+### Fixed\n+\n+- Fixed `get-entities` to use custom label if valid\n+- Correct possessive apostrophe in trigge... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | CHANGELOG and CONTRIBUTING changes |
748,234 | 30.12.2018 02:05:54 | 28,800 | 896d2f87b36f089ac8dd36e4e500c41db82cfe12 | Added verbose error message for autocomplete when server not deployed
Closes | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "minLength: 0\n});\n})\n- .fail(err => RED.notify(err.responseText, \"error\"));\n+ .fail(err => {\n+ const serverConfig = RED.nodes.node($(\"#node-input-server\... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added verbose error message for autocomplete when server not deployed
Closes #66 |
748,234 | 31.12.2018 09:48:14 | 28,800 | 057613f01e45c087443b5fb44a0979745d058229 | Added more autocompletes trigger-node
Added autocomplete for Constraints entity ids and properties
Added autocomplte for properties under Outputs | [
{
"change_type": "MODIFY",
"old_path": "nodes/trigger-state/trigger-state.html",
"new_path": "nodes/trigger-state/trigger-state.html",
"diff": "source: NODE.availableEntities,\nminLength: 0\n});\n+ $(\"#constraint-target-value\").autocomplete({\n+ source: NODE.availableEntities,\n+ minLength: 0\n+ }... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added more autocompletes trigger-node
Added autocomplete for Constraints entity ids and properties
Added autocomplte for properties under Outputs |
748,234 | 01.01.2019 00:10:47 | 28,800 | 93b4306143ee34641f2ba66ee97ed7fe2d770e03 | Refactored autocomplete across all nodes | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "const serverId = node.server || selectedServer;\nif (node.server || (selectedServer && selectedServer !== \"_ADD_\")) {\nsetServicesAndDomains(node);\n- $.get(`... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Refactored autocomplete across all nodes |
748,234 | 01.01.2019 03:00:55 | 28,800 | 23c1fdcbf34daa747a09b60c90a07f5377f3b9b9 | Added 'in group' logic to get-entities
Will check if entity_id is a Home Assistant group | [
{
"change_type": "MODIFY",
"old_path": "lib/base-node.js",
"new_path": "lib/base-node.js",
"diff": "@@ -236,7 +236,7 @@ class BaseNode {\n}\n}\n- getComparatorResult(\n+ async getComparatorResult(\ncomparatorType,\ncomparatorValue,\nactualValue,\n@@ -288,6 +288,13 @@ class BaseNode {\nreturn actualV... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Added 'in group' logic to get-entities
Will check if entity_id is a Home Assistant group |
748,234 | 01.01.2019 20:42:01 | 28,800 | 89d396872b66929490bd73d60b45a52b530ed951 | Feature: Added autocomplete for multiple entity ids to call-service node | [
{
"change_type": "MODIFY",
"old_path": "nodes/call-service/call-service.html",
"new_path": "nodes/call-service/call-service.html",
"diff": "setServicesAndDomains(node);\n$.getJSON(`homeassistant/${serverId}/entities`)\n.done(entities => {\n- this.availableEntities = entities;\n+ _self = this;\n+ _se... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Feature: Added autocomplete for multiple entity ids to call-service node |
748,234 | 01.01.2019 21:18:48 | 28,800 | 6a94f08ca9ede8f3ec8e4c4431f18fba85c653b6 | style(get-history): format changes | [
{
"change_type": "MODIFY",
"old_path": "nodes/get-history/get-history.html",
"new_path": "nodes/get-history/get-history.html",
"diff": "<div class=\"form-tips\">\n<ul>\n- <li>\n- dates must be in ISO format, example: \"2018-01-27T13:00:00+00:00\"\n- </li>\n+ <li>dates must be in ISO format, example:... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | style(get-history): format changes |
748,234 | 07.01.2019 08:46:38 | 28,800 | 7ccc35e03bb1471f60d3f2a63fc2b502b1156d88 | Fix: HomeAssistant object updated before firing state_change event
Fixes | [
{
"change_type": "MODIFY",
"old_path": "lib/ha-websocket.js",
"new_path": "lib/ha-websocket.js",
"diff": "@@ -129,30 +129,30 @@ class HaWebsocket extends EventEmitter {\nreturn;\n}\n- // Most specific emit for event_type and entity_id\n- if (emitEvent.event_type && emitEvent.entity_id) {\nif (\n+ em... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Fix: HomeAssistant object updated before firing state_change event
Fixes #74 |
748,234 | 07.01.2019 08:47:20 | 28,800 | d2f96cd9063db466c6d7ea53763c1bc2b6e1be72 | Stale bot config changes | [
{
"change_type": "MODIFY",
"old_path": ".github/stale.yml",
"new_path": ".github/stale.yml",
"diff": "@@ -4,10 +4,11 @@ daysUntilStale: 30\ndaysUntilClose: 7\n# Issues with these labels will never be considered stale\nexemptLabels:\n- - pinned\n- - security\n+ - \"Type: Bug\"\n+ - \"Type: Refactorin... | TypeScript | MIT License | zachowj/node-red-contrib-home-assistant-websocket | Stale bot config changes |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.