Skip to content

Commit

Permalink
fix #127
Browse files Browse the repository at this point in the history
  • Loading branch information
windkh committed Sep 29, 2023
1 parent 2999bb1 commit c286fdb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All notable changes to this project will be documented in this file.

## [10.13.8] - 2023-09-29
### added support for shelly plus 1 mini- [#127](https://github.com/windkh/node-red-contrib-shelly/issues/127)

## [10.13.7] - 2023-08-30
### added further properties to all_status

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-shelly",
"version": "10.13.7",
"version": "10.13.8",
"description": "Shelly nodes.",
"node-red": {
"version": ">=0.1.0",
Expand Down
6 changes: 3 additions & 3 deletions shelly/99-shelly.js
Original file line number Diff line number Diff line change
Expand Up @@ -1889,8 +1889,8 @@ module.exports = function (RED) {
}
}
catch (error) {
// node.error("Uploading script failed " + error);
// node.status({ fill: "red", shape: "ring", text: "Uploading script failed "});
node.error("Uploading script failed " + error);
node.status({ fill: "red", shape: "ring", text: "Uploading script failed "});
}
}
else {
Expand Down Expand Up @@ -2172,7 +2172,7 @@ module.exports = function (RED) {
}

let gen2DeviceTypes = new Map([
["Relay", ["SHSW-", "SNSW-", "SPSW-", "SNPL-"]],
["Relay", ["SHSW-", "SNSW-", "SPSW-", "SNPL-", "SNPM-"]],
["Button", ["SNSN-"]],
["Sensor", ["SNSN-"]], // Shelly Plus H&T / PLus Smoke only support Webhook, no scripting
["Measure", ["SPEM-"]],
Expand Down

0 comments on commit c286fdb

Please sign in to comment.