Add unique ID to coronavirus (#32423)

This commit is contained in:
Paulus Schoutsen 2020-03-02 18:10:38 -08:00 committed by GitHub
parent aacdc1bc2d
commit c62961f40c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 1 deletions

View file

@ -53,3 +53,6 @@ async def test_migration(hass):
assert hass.states.get("sensor.netherlands_confirmed").state == "10"
assert hass.states.get("sensor.worldwide_confirmed").state == "11"
assert nl_entry.unique_id == "Netherlands"
assert worldwide_entry.unique_id == OPTION_WORLDWIDE