Update cover_icon.ts

Add new icons for existing device types
This commit is contained in:
PDekker 2019-09-16 11:39:09 +02:00 committed by GitHub
parent 16ae52c321
commit 202782e741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,10 @@ export default function coverIcon(state: HassEntity): string {
return open ? "hass:garage-open" : "hass:garage";
case "door":
return open ? "hass:door-open" : "hass:door-closed";
case "shutter":
return open ? "hass:window-shutter-open" : "hass:window-shutter";
case "blind":
return open ? "hass:blinds-open" : "hass:blinds";
case "window":
return open ? "hass:window-open" : "hass:window-closed";
default: