hass-virtual
hass-virtual copied to clipboard
Possible to add virtual Climate?
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 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
The Generic Thermostat does not support ClimateEntityFeature.TARGET_TEMPERATURE_RANGE, unfortunately.