Adjust icons with new device classes (#79348)

* Adjust icons with new device classes

* Fix mysensors tests

* Fix mysensors tests
This commit is contained in:
epenet 2022-09-30 10:41:18 +02:00 committed by GitHub
parent 52cdae254c
commit fb7079c62c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 5 deletions

View file

@ -95,13 +95,11 @@ SENSORS: dict[str, SensorEntityDescription] = {
key="V_WEIGHT",
native_unit_of_measurement=MASS_KILOGRAMS,
device_class=SensorDeviceClass.WEIGHT,
icon="mdi:weight-kilogram",
),
"V_DISTANCE": SensorEntityDescription(
key="V_DISTANCE",
native_unit_of_measurement=LENGTH_METERS,
device_class=SensorDeviceClass.DISTANCE,
icon="mdi:ruler",
),
"V_IMPEDANCE": SensorEntityDescription(
key="V_IMPEDANCE",