'Test temperature conversion.'

def test_temperature_convert(self):

    state = self.hass.states.get('weather.demo_weather_north')
    assert (state is not None)
    assert (state.state == 'rainy')
    data = state.attributes
    assert (data.get(ATTR_WEATHER_TEMPERATURE) == (-24.4))
