Use string-lights icon for zerproc (#42379)

This commit is contained in:
Emily Mills authored and GitHub committed 2020-10-26 09:04:58 +01:00
1 parent 92b06ed5d4
commit 00df7539cf
2 files changed
+13 -1

No files matched your search

+6 -1
View File
@@ -1,7 +1,7 @@
"""Zerproc light platform."""
from datetime import timedelta
import logging
from typing import Callable, List
from typing import Callable, List, Optional
import pyzerproc
@@ -142,6 +142,11 @@ class ZerprocLight(LightEntity):
"manufacturer": "Zerproc",
}
@property
def icon(self) -> Optional[str]:
"""Return the icon to use in the frontend."""
return "mdi:string-lights"
@property
def supported_features(self):
"""Flag supported features."""