homey-lib
Advanced tools
Comparing version 1.0.31 to 1.0.32
@@ -481,3 +481,4 @@ "use strict"; | ||
if( !json.speech[ language ].group ) { | ||
error("speech groups missing for language: " + language + ". Using English group structure instead", true); | ||
//TODO: Make this a warning | ||
// error("speech groups missing for language: " + language + ". Using English group structure instead", true); | ||
}else{ | ||
@@ -521,4 +522,3 @@ let groups = json.speech[ language ].group; | ||
if (optional === set.length) error("Groups can\'t only have optional components: " + name); | ||
if (optional > 0 && groups[name].ordered) error("Cannot use optional tokens in an ordered group"); | ||
if (optional === set.length) error("Groups can\'t only have optional components. Group: " + name); | ||
@@ -525,0 +525,0 @@ namesInSets = namesInSets.concat(set); |
@@ -29,2 +29,4 @@ { | ||
"dim", | ||
"measure_power", | ||
"meter_power", | ||
"light_hue", | ||
@@ -52,3 +54,5 @@ "light_saturation", | ||
"onoff", | ||
"dim" | ||
"dim", | ||
"measure_power", | ||
"meter_power" | ||
] | ||
@@ -63,3 +67,5 @@ }, | ||
"onoff", | ||
"dim" | ||
"dim", | ||
"measure_power", | ||
"meter_power" | ||
] | ||
@@ -125,2 +131,4 @@ }, | ||
"onoff", | ||
"measure_power", | ||
"meter_power", | ||
"target_temperature", | ||
@@ -127,0 +135,0 @@ "measure_temperature" |
{ | ||
"name": "homey-lib", | ||
"version": "1.0.31", | ||
"version": "1.0.32", | ||
"description": "Library for Homey", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
107454
1880