'Test air quality sensor with values.'

def test_dyson_air_quality_sensor_with_values(self):

    sensor = dyson.DysonAirQualitySensor(self.hass, _get_with_state())
    sensor.entity_id = 'sensor.dyson_1'
    self.assertFalse(sensor.should_poll)
    self.assertEqual(sensor.state, 2)
    self.assertEqual(sensor.unit_of_measurement, 'level')
    self.assertEqual(sensor.name, 'Device_name    air    quality')
    self.assertEqual(sensor.entity_id, 'sensor.dyson_1')
