Use microwave icon

This commit is contained in:
Stefan Agner 2024-08-07 15:24:01 +02:00
parent d6eb1988d5
commit a66c1c47c4
No known key found for this signature in database
GPG key ID: 22D95D15D3A36E95

View file

@ -478,6 +478,7 @@ DISCOVERY_SCHEMAS = [
# convert to set first to remove the duplicate unknown value
options=list(set(MICROWAVE_OVEN_MODE_MAP.values())),
measurement_to_ha=lambda x: MICROWAVE_OVEN_MODE_MAP[x],
icon="mdi:microwave",
),
entity_class=MatterSensor,
required_attributes=(clusters.MicrowaveOvenMode.Attributes.CurrentMode,),