Add icons for the device_class 'update' (#9711)

This commit is contained in:
Michael
2021-08-17 01:31:29 +02:00
committed by GitHub
parent 047e856a61
commit 7aa2ec78f2

View File

@@ -44,6 +44,8 @@ export const binarySensorIcon = (state?: string, stateObj?: HassEntity) => {
return is_off ? "hass:home-outline" : "hass:home";
case "sound":
return is_off ? "hass:music-note-off" : "hass:music-note";
case "update":
return is_off ? "mdi:package" : "mdi:package-up";
case "vibration":
return is_off ? "hass:crop-portrait" : "hass:vibrate";
case "window":