node-red-contrib-homebridge-automation 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/lib/Service.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,11 +55,12 @@ The above Node-RED Flow, turns on my 'Outside Office' light when the powder room
|
|
|
55
55
|
* [hb control](#hb-control)
|
|
56
56
|
* [Input](#input-2)
|
|
57
57
|
* [Flows Shared from Community](#flows-shared-from-community)
|
|
58
|
+
* [Donations](#donations)
|
|
58
59
|
* [Troubleshooting / DEBUG MODE](#troubleshooting--debug-mode)
|
|
59
60
|
* [To start Node-RED in DEBUG mode, and output Homebridge-Automation debug logs start Node-RED like this.](#to-start-node-red-in-debug-mode-and-output-homebridge-automation-debug-logs-start-node-red-like-this)
|
|
60
61
|
|
|
61
62
|
<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
|
|
62
|
-
<!-- Added by: sgracey, at: Tue 7 Mar 2023
|
|
63
|
+
<!-- Added by: sgracey, at: Tue 7 Mar 2023 20:10:44 EST -->
|
|
63
64
|
|
|
64
65
|
<!--te-->
|
|
65
66
|
|
|
@@ -358,6 +359,10 @@ I have started collecting flows for useful functions on the wiki.
|
|
|
358
359
|
|
|
359
360
|
https://github.com/NorthernMan54/node-red-contrib-homebridge-automation/wiki
|
|
360
361
|
|
|
362
|
+
# Donations
|
|
363
|
+
|
|
364
|
+
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6V3MNYYR446EG)
|
|
365
|
+
|
|
361
366
|
# Troubleshooting / DEBUG MODE
|
|
362
367
|
|
|
363
368
|
## To start Node-RED in DEBUG mode, and output Homebridge-Automation debug logs start Node-RED like this.
|
package/lib/Service.js
CHANGED
|
@@ -117,6 +117,8 @@ Service.prototype.toList = function (context) {
|
|
|
117
117
|
fullName = context.name + " - " + this.name;
|
|
118
118
|
} else if (context.manufacturer === "Mitsubishi" && !fullName.includes(this.name)) {
|
|
119
119
|
fullName = context.name + " - " + this.name;
|
|
120
|
+
} else if (context.manufacturer === "Allterco") {
|
|
121
|
+
fullName = context.name + " - " + this.name;
|
|
120
122
|
} else {
|
|
121
123
|
context.name = this.name;
|
|
122
124
|
fullName = context.name;
|