@pytest.fixture
def temperature_sensor() -> hdc2080.EnvironmentSensor:
    'Fixture for temperature sensor driver.'
    return hdc2080.EnvironmentSensor(SensorType.temperature)
Fixture for temperature sensor driver.
@pytest.fixture
def temperature_sensor() -> hdc2080.EnvironmentSensor:
    
    return hdc2080.EnvironmentSensor(SensorType.temperature)