Skip to content

Instantly share code, notes, and snippets.

@Anashost
Last active April 18, 2025 01:29
Show Gist options
  • Select an option

  • Save Anashost/8b3eeaab80031e0ebb815ee36ec69230 to your computer and use it in GitHub Desktop.

Select an option

Save Anashost/8b3eeaab80031e0ebb815ee36ec69230 to your computer and use it in GitHub Desktop.
Generic Thermostat Celsius
  • paste into Home Assistant configuration.yaml
climate:
  - platform: generic_thermostat
    name: Bath Thermostat
    heater: switch.plug_5_local
    target_sensor: sensor.bath_temperature
    min_temp: 5
    max_temp: 35
    ac_mode: false
    target_temp: 5
    cold_tolerance: 0.3
    hot_tolerance: 0
    min_cycle_duration:
      seconds: 5
    keep_alive:
      minutes: 3
    initial_hvac_mode: "off"
    home_temp: 21
    comfort_temp: 25
    sleep_temp: 19
    away_temp: 5
    precision: 0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment