diff --git a/homeassistant/components/laundrify/binary_sensor.py b/homeassistant/components/laundrify/binary_sensor.py index 5cca6870b6c..099575f226f 100644 --- a/homeassistant/components/laundrify/binary_sensor.py +++ b/homeassistant/components/laundrify/binary_sensor.py @@ -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 diff --git a/homeassistant/components/laundrify/icons.json b/homeassistant/components/laundrify/icons.json new file mode 100644 index 00000000000..370adb1f953 --- /dev/null +++ b/homeassistant/components/laundrify/icons.json @@ -0,0 +1,9 @@ +{ + "entity": { + "binary_sensor": { + "laundrify_power_plug": { + "default": "mdi:washing-machine" + } + } + } +}