Thermostat and rfxtrx sensor not working

Hi, my first post.

Im using the generic thermostat, climate, function.

Ive tried it and its working with a sensor from YR weather.

It doesnt work with my autodiscovered sensor with rfxtrx. Why is that?
What im i missing. The sensors shows up in the front end but the generic thermostat cannot use them.

climate:
  - platform: generic_thermostat
name: Sovrum
heater: switch.sonoff_nere
target_sensor: sensor.0a52091ac70001111f0279_temperature
min_temp: 13
max_temp: 31
ac_mode: False
target_temp: 20
cold_tolerance: 0.2
hot_tolerance: 0.2
min_cycle_duration:
  seconds: 5
keep_alive:
  minutes: 1
initial_operation_mode: "auto"
away_temp: 16
precision: 0.1

Regards Johnny