hass-virtual icon indicating copy to clipboard operation
hass-virtual copied to clipboard

Possible to add virtual Climate?

Open Johnnybyzhang opened this issue 3 years ago • 3 comments

I'd love to implement your component in my home-assistant build, yet there is one missing piece. Would it be possible for you to add virtual climate entity support?

Johnnybyzhang avatar Jul 04 '22 09:07 Johnnybyzhang

@Johnnybyzhang you can use https://www.home-assistant.io/integrations/generic_thermostat/

climate:
  - platform: generic_thermostat
    name: Thermostat
    unique_id: livingroom_thermostat
    heater: switch.study_heater
    target_sensor: sensor.temp
    min_temp: 15
    max_temp: 90
    ac_mode: true
    target_temp: 42
    cold_tolerance: 0.3
    hot_tolerance: 0
    min_cycle_duration:
      seconds: 5
    keep_alive:
      minutes: 3
    initial_hvac_mode: "heat"
    away_temp: 42
    precision: 0.1

CamTosh avatar Aug 25 '22 12:08 CamTosh

The Generic Thermostat does not support ClimateEntityFeature.TARGET_TEMPERATURE_RANGE, unfortunately.

tetele avatar Sep 25 '23 09:09 tetele