Fix Rituals battery sensor KeyError (#49661)

This commit is contained in:
Milan Meulemans 2021-04-26 00:47:36 +02:00 committed by GitHub
parent 855559004b
commit 73b7a68e97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class DiffuserBatterySensor(DiffuserEntity):
return {
"battery-charge.png": 100,
"battery-full.png": 100,
"battery-75.png": 50,
"Battery-75.png": 50,
"battery-50.png": 25,
"battery-low.png": 10,
}[self.coordinator.data[HUB][SENSORS][BATTERY][ICON]]