Open Mexxwelll opened 3 weeks ago
Describe the bug I use Homey to control the ithowifi device, and want to add the fanspeed Insights. But i receive the following error: Cannot assign to read only property 'topics' of object '#
To Reproduce Steps to reproduce the behaviour:
{ "dim": { "capability": "dim", "stateTopic": "homie/homey/mechanische-ventilatie/state", "setTopic": "homie/homey/mechanische-ventilatie/cmd", "valueTemplate": "round((value / 255) 100)", "outputTemplate": "round((value / 100) 255)", "displayName": "Dim level" }, "measure_temperature": { "capability": "measure_temperature", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['temp']", "outputTemplate": "", "displayName": "Temperature" }, "measure_humidity": { "capability": "measure_humidity", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['hum']", "outputTemplate": "", "displayName": "Humidity" }, "measure_fanspeed": { "capability": "measure_fanspeed", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['Fan speed (rpm)']", "outputTemplate": "", "displayName": "Fanspeed" } }
This config is working fine: { "dim": { "capability": "dim", "stateTopic": "homie/homey/mechanische-ventilatie/state", "setTopic": "homie/homey/mechanische-ventilatie/cmd", "valueTemplate": "round((value / 255) 100)", "outputTemplate": "round((value / 100) 255)", "displayName": "Dim level" }, "measure_temperature": { "capability": "measure_temperature", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['temp']", "outputTemplate": "", "displayName": "Temperature" }, "measure_humidity": { "capability": "measure_humidity", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['hum']", "outputTemplate": "", "displayName": "Humidity" } }
Describe the bug I use Homey to control the ithowifi device, and want to add the fanspeed Insights. But i receive the following error: Cannot assign to read only property 'topics' of object '#
To Reproduce Steps to reproduce the behaviour:
{ "dim": { "capability": "dim", "stateTopic": "homie/homey/mechanische-ventilatie/state", "setTopic": "homie/homey/mechanische-ventilatie/cmd", "valueTemplate": "round((value / 255) 100)", "outputTemplate": "round((value / 100) 255)", "displayName": "Dim level" }, "measure_temperature": { "capability": "measure_temperature", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['temp']", "outputTemplate": "", "displayName": "Temperature" }, "measure_humidity": { "capability": "measure_humidity", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['hum']", "outputTemplate": "", "displayName": "Humidity" }, "measure_fanspeed": { "capability": "measure_fanspeed", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['Fan speed (rpm)']", "outputTemplate": "", "displayName": "Fanspeed" } }
This config is working fine: { "dim": { "capability": "dim", "stateTopic": "homie/homey/mechanische-ventilatie/state", "setTopic": "homie/homey/mechanische-ventilatie/cmd", "valueTemplate": "round((value / 255) 100)", "outputTemplate": "round((value / 100) 255)", "displayName": "Dim level" }, "measure_temperature": { "capability": "measure_temperature", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['temp']", "outputTemplate": "", "displayName": "Temperature" }, "measure_humidity": { "capability": "measure_humidity", "stateTopic": "homie/homey/mechanische-ventilatie/ithostatus", "setTopic": "", "valueTemplate": "$['hum']", "outputTemplate": "", "displayName": "Humidity" } }