1 parent c47da46 commit 3d99c4eCopy full SHA for 3d99c4e
1 file changed
custom_components/victron_mqtt/number.py
@@ -89,7 +89,7 @@ def __init__(
89
self._attr_device_class = METRIC_TYPE_TO_DEVICE_CLASS.get(metric.metric_type)
90
if self._attr_device_class is not None or metric.metric_type == MetricType.DYNAMIC:
91
# We need to set the _attr_native_unit_of_measurement in two cases:
92
- # 1. When there known device class which support multiple units. In this case
+ # 1. When there is known device class which support multiple units. In this case
93
# we publish what we have and HA will allow convertion to other supported units.
94
# 2. Dynamic units come from user-configured MQTT topics (e.g.
95
# SwitchableOutput Settings/Unit) and have no translation file
0 commit comments