You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope this is not a rookie mistake, but I am lost after several hours of trying.
I want to properly show the values of my Heat Recovery Unit in HomeAssistant with the right category of data, e.g. for carbon dioxide, I want them to be shown as such. For this I made change in mqtt-hassio.cfg in type_switch-number
This does work for pressure, duration and volume, however, my added definition for gas (air*total*,m³$), volume_flow_rate (m³/h$) and carbon_dioxide (*co2*,ppm$) is failing to be picked up, as can be seen from the default icons here:
So far, I identified that *co2*,ppm$ does not work as expected for me, but co2*,ppm$ does - the star sympol will apparently not match the beginning of string which is quite different to other regex implementations. Woudl it be possible to unigy the behavior?
For the others, I made no progress whatsoever in decoding the issue.
from the docs here and here: "*" matches a single arbitrary length wildcard part in the middle
as such it is not supposed to be more than once per entry, i.e. "ab" is similar to regexp "a.b", but "abc" does not work.
Description
I hope this is not a rookie mistake, but I am lost after several hours of trying.
I want to properly show the values of my Heat Recovery Unit in HomeAssistant with the right category of data, e.g. for carbon dioxide, I want them to be shown as such. For this I made change in mqtt-hassio.cfg in
type_switch-number
This does work for
pressure
,duration
andvolume
, however, my added definition forgas
(air*total*,m³$
),volume_flow_rate
(m³/h$
) andcarbon_dioxide
(*co2*,ppm$
) is failing to be picked up, as can be seen from the default icons here:but mainly from the logs:
The corresponding
.csv
file looks like this:Actual behavior
"device_class":
is missing from the published value typeExpected behavior
"device_class":
is present based on the pattern provided intype_switch-number
ebusd version
23.2
ebusd arguments
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
Operating system
other (HomeAssistant OS)
CPU architecture
arm64 (RPi4)
Dockerized
other (Using the HA Addon)
Hardware interface
Adapter Shield v5 via WiFi
Related integration
MQTT Home Assistant via mqtt-hassio.cfg
Logs
See description
The text was updated successfully, but these errors were encountered: