Generic thermostat resetting to lowest temperature

When the thermostat is set to a specificed temperature (lets say 17C) after few seconds it automatically resets to the minimum value mentioned in the YAML configuration.

Following in the generic thermostat configuration:

  - platform: generic_thermostat
    name: generic_home_thermostat
    unique_id: generic_home_thermostat
    heater: switch.shellyplus1
    target_sensor: sensor.temp_hum_living_room_temperature
    min_temp: 16
    max_temp: 22.5
    target_temp: 17
#    ac_mode: false
    cold_tolerance: 0.5
    hot_tolerance: 0.1
    keep_alive:
      seconds: 450
    min_cycle_duration:
      minutes: 10
    precision: 0.5

It regularly keeps setting to minimum temperature within seconds even if i manually adjust the temperature dial. I don’t have any automations running. Logs don’t show anything useful too. All i get in logbook is “switch.shellyplus1 turned on triggered by service Climate: Set target temperature” and "switch.shellyplus1 turned off triggered by service Climate: Set target temperature

Any advice?

Anyone please help with this?