tschaban / AFE-Firmware

Firmware for ESP based devices for home automation
https://afe.smartnydom.pl
MIT License
27 stars 39 forks source link

Fix: Added Unit compatibility for Gas value for the latest HA, T6 Bosch BME680 sensor #875

Closed tschaban closed 1 year ago

tschaban commented 1 year ago

Entity sensor.bmex80_opor_gazu (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'kOm' which is not a valid unit for the device class ('gas') it is using; expected one of ['ft³', 'm³', 'CCF']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22

tschaban commented 1 year ago

DeviceClass changed from Gas to None as Unit kOm is not compatible and it's not the Gas Unit for that sensor