Closed pvyleta closed 8 months ago
Ebusd fails to create a condition in configuration file that would be true, if the value is greater than zero.
The Minimum non-working example I can create is a configuration '4c.csv' in 'encon' subfolder:
# type (r[1-9];w;u),circuit,name,[comment],[QQ],ZZ,PBSB,[ID],field1,part (m/s),datatypes/templates,divider/values,unit,comment r,scan,TestMessage,,,,4050,,,,UCH,,, *[testcondition],scan,TestMessage,,,, [testcondition>0]r,testCircuit,TestMessage2,,,,4050,,,,UCH,,,
And then running ebusd:
ebusd --checkconfig -c /config/ebusd-configuration/latest/en
I receive error for my condition
I expect this to be a valid condition.
23.2
ebusd --foreground --mqtthost=core-mosquitto --mqttport=1883 --mqttuser=addons --mqttpass=Rae9ooYeekaigi9OoPhoodahCheel7aequaidiis1oocee8iw5ieG3maingietho --scanconfig --mqttjson --mqttlog --configpath=/config/ebusd-configuration/latest/en --mqttint=/config/ebusd/contrib/etc/ebusd/mqtt-hassio.cfg --mqtttopic=ebusd --device=ens:192.168.100.60:9999 --log=all:debug --log=bus:notice
other
arm64
Adapter Shield v5 via WiFi
MQTT Home Assistant via mqtt-hassio.cfg
2024-03-28 20:08:13.038 [main error] error reading config files from /config/ebusd-configuration/latest/en/: ERR: invalid argument, last error: encon/4c.csv:4: ERR: invalid argument, derive condition with values >0 failed
Description
Ebusd fails to create a condition in configuration file that would be true, if the value is greater than zero.
The Minimum non-working example I can create is a configuration '4c.csv' in 'encon' subfolder:
And then running ebusd:
ebusd --checkconfig -c /config/ebusd-configuration/latest/en
Actual behavior
I receive error for my condition
Expected behavior
I expect this to be a valid condition.
ebusd version
23.2
ebusd arguments
Operating system
other
CPU architecture
arm64
Dockerized
other
Hardware interface
Adapter Shield v5 via WiFi
Related integration
MQTT Home Assistant via mqtt-hassio.cfg
Logs