Skip to content

Commit 789d71f

Browse files
Update deprecated MDI icon name
Resolves: #27
1 parent ad149ea commit 789d71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/airthings_wave/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def get_extra_attributes(self, data):
116116
"temperature":Sensor(TEMP_CELSIUS, None, DEVICE_CLASS_TEMPERATURE, None),
117117
"humidity": Sensor(PERCENT, None, DEVICE_CLASS_HUMIDITY, None),
118118
"rel_atm_pressure": Sensor(ATM_METRIC_UNITS, None, DEVICE_CLASS_PRESSURE, None),
119-
"co2": Sensor(CO2_METRIC_UNITS, None, DEVICE_CLASS_CO2, 'mdi:periodic-table-co2'),
119+
"co2": Sensor(CO2_METRIC_UNITS, None, DEVICE_CLASS_CO2, 'mdi:molecule-co2'),
120120
"voc": Sensor(VOC_METRIC_UNITS, None, DEVICE_CLASS_VOC, 'mdi:cloud'),
121121
"illuminance": Sensor(ILLUMINANCE_LUX, None, DEVICE_CLASS_ILLUMINANCE, None),
122122
"accelerometer": Sensor(SPEED_METRIC_UNITS, None, DEVICE_CLASS_ACCELEROMETER, 'mdi:vibrate'),

0 commit comments

Comments
 (0)