Fix uom/device class mismatches in tests (#84372)

This commit is contained in:
Franck Nijhof 2022-12-21 22:47:59 +01:00 committed by GitHub
parent 92beab82e2
commit 2e92fefc0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 8 deletions

View file

@ -60,7 +60,7 @@ async def test_entity_config(hass: HomeAssistant) -> None:
"name": "{{'SNMP' + ' ' + 'Sensor'}}",
"state_class": "measurement",
"unique_id": "very_unique",
"unit_of_measurement": "beardsecond",
"unit_of_measurement": "°C",
},
}
@ -78,5 +78,5 @@ async def test_entity_config(hass: HomeAssistant) -> None:
"friendly_name": "SNMP Sensor",
"icon": "mdi:one_two_three",
"state_class": "measurement",
"unit_of_measurement": "beardsecond",
"unit_of_measurement": "°C",
}