diff --git a/homeassistant/components/bosch_shc/icons.json b/homeassistant/components/bosch_shc/icons.json new file mode 100644 index 00000000000..0b1cb767054 --- /dev/null +++ b/homeassistant/components/bosch_shc/icons.json @@ -0,0 +1,20 @@ +{ + "entity": { + "sensor": { + "purity": { + "default": "mdi:molecule-co2" + }, + "communication_quality": { + "default": "mdi:wifi" + }, + "valvetappet": { + "default": "mdi:gauge" + } + }, + "switch": { + "routing": { + "default": "mdi:wifi" + } + } + } +} diff --git a/homeassistant/components/bosch_shc/sensor.py b/homeassistant/components/bosch_shc/sensor.py index df216ed0ff2..c9c194bdc08 100644 --- a/homeassistant/components/bosch_shc/sensor.py +++ b/homeassistant/components/bosch_shc/sensor.py @@ -199,7 +199,6 @@ class PuritySensor(SHCEntity, SensorEntity): """Representation of an SHC purity reporting sensor.""" _attr_translation_key = "purity" - _attr_icon = "mdi:molecule-co2" _attr_native_unit_of_measurement = CONCENTRATION_PARTS_PER_MILLION def __init__(self, device: SHCDevice, parent_id: str, entry_id: str) -> None: @@ -256,7 +255,6 @@ class CommunicationQualitySensor(SHCEntity, SensorEntity): """Representation of an SHC communication quality reporting sensor.""" _attr_translation_key = "communication_quality" - _attr_icon = "mdi:wifi" def __init__(self, device: SHCDevice, parent_id: str, entry_id: str) -> None: """Initialize an SHC communication quality reporting sensor.""" @@ -339,7 +337,6 @@ class EnergySensor(SHCEntity, SensorEntity): class ValveTappetSensor(SHCEntity, SensorEntity): """Representation of an SHC valve tappet reporting sensor.""" - _attr_icon = "mdi:gauge" _attr_translation_key = "valvetappet" _attr_state_class = SensorStateClass.MEASUREMENT _attr_native_unit_of_measurement = PERCENTAGE diff --git a/homeassistant/components/bosch_shc/switch.py b/homeassistant/components/bosch_shc/switch.py index 03d3ba2f6a9..8e542c860d4 100644 --- a/homeassistant/components/bosch_shc/switch.py +++ b/homeassistant/components/bosch_shc/switch.py @@ -199,7 +199,6 @@ class SHCSwitch(SHCEntity, SwitchEntity): class SHCRoutingSwitch(SHCEntity, SwitchEntity): """Representation of a SHC routing switch.""" - _attr_icon = "mdi:wifi" _attr_translation_key = "routing" _attr_entity_category = EntityCategory.CONFIG