Skip to content

Commit

Permalink
Update deprecated MDI icon name
Browse files Browse the repository at this point in the history
Resolves: #27
  • Loading branch information
MartyTremblay authored Aug 18, 2020
1 parent ad149ea commit 789d71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/airthings_wave/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_extra_attributes(self, data):
"temperature":Sensor(TEMP_CELSIUS, None, DEVICE_CLASS_TEMPERATURE, None),
"humidity": Sensor(PERCENT, None, DEVICE_CLASS_HUMIDITY, None),
"rel_atm_pressure": Sensor(ATM_METRIC_UNITS, None, DEVICE_CLASS_PRESSURE, None),
"co2": Sensor(CO2_METRIC_UNITS, None, DEVICE_CLASS_CO2, 'mdi:periodic-table-co2'),
"co2": Sensor(CO2_METRIC_UNITS, None, DEVICE_CLASS_CO2, 'mdi:molecule-co2'),
"voc": Sensor(VOC_METRIC_UNITS, None, DEVICE_CLASS_VOC, 'mdi:cloud'),
"illuminance": Sensor(ILLUMINANCE_LUX, None, DEVICE_CLASS_ILLUMINANCE, None),
"accelerometer": Sensor(SPEED_METRIC_UNITS, None, DEVICE_CLASS_ACCELEROMETER, 'mdi:vibrate'),
Expand Down

0 comments on commit 789d71f

Please sign in to comment.