SzczepanLeon / esphome-components

149 stars 52 forks source link

[V4.0] Add support for fields without units. #144

Open pizang opened 4 hours ago

pizang commented 4 hours ago

I had a working esp32 that was reading my central heat ing cost dividers through wmbus.After upgrading both ESP32Home and wmbus it still reads data but I have following errors in the log:

[14:59:40][W][wmbus:144]: Fields without unit not supported yet! [14:59:40][W][wmbus:154]: Can't get requested field 'temp_room_avg_c' with unit '°C'

Sensor definition:

sensor:

HCA is a value without an unit - it is kind of "tick" counter. I also tried None in the unit field. Celsius degrees also do not work.

Propably I have an error in the config but cannot figure it out.

SzczepanLeon commented 4 hours ago

Fields without units are not supported yet. For celsius please read manual and split field name.