Add icon translations to Laundrify (#111856)
parent
bfdc640e04
commit
6e6d3e7565
|
@ -40,10 +40,10 @@ class LaundrifyPowerPlug(
|
|||
"""Representation of a laundrify Power Plug."""
|
||||
|
||||
_attr_device_class = BinarySensorDeviceClass.RUNNING
|
||||
_attr_icon = "mdi:washing-machine"
|
||||
_attr_unique_id: str
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
_attr_translation_key = "laundrify_power_plug"
|
||||
|
||||
def __init__(
|
||||
self, coordinator: LaundrifyUpdateCoordinator, device: LaundrifyDevice
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"entity": {
|
||||
"binary_sensor": {
|
||||
"laundrify_power_plug": {
|
||||
"default": "mdi:washing-machine"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue