Closed molnarg closed 1 year ago
In the README, this is the example for generating a JSON object (key-value map) to publish
state: registers: - name: humidity register: net.1.12 register_type: input # optional converter: std.divide(100,2) - name: temp1 register: net.1.13 register_type: input
But this in fact generates a list. From a test case, the correct syntax is:
state: - name: sensor1 register: tcptest.1.2 register_type: input converter: std.divide(100,3) - name: sensor2 register: tcptest.1.3 register_type: input converter: std.divide(10,2)
In the README, this is the example for generating a JSON object (key-value map) to publish
But this in fact generates a list. From a test case, the correct syntax is: