add device_class_signal_strength (#3058)

This commit is contained in:
Markus Jankowski 2019-04-05 03:40:27 +02:00 committed by Fabian Affolter
parent 8c7cdda3d3
commit 7f99f1d9be
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ const fixedDeviceClassIcons = {
temperature: "hass:thermometer",
pressure: "hass:gauge",
power: "hass:flash",
signal_strength: "hass:wifi",
};
export default function sensorIcon(state: HassEntity) {

View File

@ -34,6 +34,7 @@ hassAttributeUtil.DOMAIN_DEVICE_CLASS = {
"temperature",
"pressure",
"power",
"signal_strength",
],
};