mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Added duino support for RC switches and added error handling to heatmiser
This commit is contained in:
@@ -50,7 +50,9 @@ function HeatmiserNode(n) {
|
||||
});
|
||||
|
||||
this.read = function() {
|
||||
node.hm.read_device();
|
||||
if (node.hm) {
|
||||
node.hm.read_device();
|
||||
}
|
||||
};
|
||||
|
||||
if (!this.currentStatus) {
|
||||
|
Reference in New Issue
Block a user