hass-weatherflow2mqtt icon indicating copy to clipboard operation
hass-weatherflow2mqtt copied to clipboard

visibility unit shows nmi?

Open hmjgriffon1 opened this issue 10 months ago • 6 comments

Home Assistant Version?

2023.8.4

Add-On or Self Hosted?

HA Supervised (Add-On)

Weatherflow2MQTT version?

3.2.0

What happened?

I am getting an error in my log that I don't think I saw before the update to 3.2.0 of the addon. I cannot find a way to change the unit of measurement for visibility myself or if I should even need to.

Relevant log output

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:659
Integration: Sensor (documentation, issues)
First occurred: 5:35:42 PM (1 occurrences)
Last logged: 5:35:42 PM

Entity sensor.tempest_st_00113901_visibility (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'nmi' which is not a valid unit for the device class ('distance') it is using; expected one of ['mi', 'in', 'mm', 'ft', 'yd', 'km', 'cm', 'm']; 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

hmjgriffon1 avatar Aug 29 '23 22:08 hmjgriffon1