diff --git a/homeassistant/components/dyson/sensor.py b/homeassistant/components/dyson/sensor.py index c51f46c7790..2fdd3cd6c1f 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -195,5 +195,5 @@ class DysonAirQualitySensor(DysonSensor): def state(self): """Return Air Quality value.""" if self._device.environmental_state: - return self._device.environmental_state.volatil_organic_compounds + return int(self._device.environmental_state.volatil_organic_compounds) return None