smart-nodes 0.7.0 → 0.7.1

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/CHANGELOG.md CHANGED
@@ -257,3 +257,7 @@
257
257
 
258
258
  - Added support of home assistant boolean values "on" and "off"
259
259
  - BREAKING CHANGE: The forwarder node is only using set_forwarder and set_forwarder_state topics.
260
+
261
+ ## Version 0.7.1:
262
+
263
+ - Small bugfix in mode-selector node.
@@ -1 +1 @@
1
- {"idn1":{"last_position":0,"last_direction_up":false}}
1
+ {"idn1":{"last_mode":"NO_MODES_DEFINED","last_position":0,"last_direction_up":false}}
@@ -86,7 +86,7 @@ module.exports = function (RED)
86
86
 
87
87
  if (typeof msg.payload === "boolean" || msg.payload === "on" || msg.payload === "off")
88
88
  {
89
- msg.payload = msg.payloadhelper.toBool(msg.payload);
89
+ msg.payload = helper.toBool(msg.payload);
90
90
 
91
91
  // Syntax: set_mode#MODE_NAME and payload is boolean
92
92
  // If payload is true, set to MODE_NAME
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-nodes",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Controls light, shutters and more. Includes common used logic and statistic nodes to control your home.",
5
5
  "keywords": [
6
6
  "node-red",