Restores unit_of_measurement (#54335)

This commit is contained in:
Diogo Gomes 2021-08-09 18:48:01 +01:00 committed by GitHub
parent 188919f079
commit b88f0adbe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -73,6 +73,7 @@ async def test_restore_state(hass: HomeAssistant) -> None:
{
"last_reset": "2019-10-06T21:00:00",
"device_class": DEVICE_CLASS_ENERGY,
"unit_of_measurement": ENERGY_KILO_WATT_HOUR,
},
),
),