Skip to content

Commit

Permalink
Use HCHO as the Formaldehyde sensor entity name (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotvezz authored Jul 6, 2023
1 parent 2c0093d commit 47b8218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/dyson_local/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ def available(self) -> bool:
class DysonHCHOSensor(DysonSensorEnvironmental):
"""Dyson sensor for Formaldehyde."""

_SENSOR_TYPE = "hcho"
_SENSOR_NAME = "Formaldehyde"
_SENSOR_TYPE = "hcho-mg"
_SENSOR_NAME = "HCHO"

_attr_device_class = SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS
_attr_native_unit_of_measurement = CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER
Expand Down

0 comments on commit 47b8218

Please sign in to comment.