Jeg bruker generic_thermostat for styring av Namron varme* med ekstern temperatursensor. Et eksempel på oppsett:
I configuration.yaml:
climate:
- platform: generic_thermostat
name: Bad - Thermostat
unique_id: bad_thermostat
heater: switch.bad_1etg_avpa
target_sensor: sensor.termometer_4_temperature_3 # <-- Ekstern temperaturføler
min_temp: 15
max_temp: 23
target_temp: 20
min_cycle_duration:
minutes: 5
away_temp: 16
precision: 0.5
initial_hvac_mode: "heat"
switch:
- platform: template
switches:
bad_1etg_avpa:
value_template: "{{ is_state_attr('climate.namron_baderom_1_eth_thermostat', 'hvac_action', 'heating') }}"
friendly_name: "Bad - Varmekabel Av/På"
unique_id: bad_thermostat_avpa
turn_on:
- service: climate.set_temperature
target:
entity_id: climate.namron_baderom_1_eth_thermostat
data:
temperature: "{{ state_attr('climate.namron_baderom_1_eth_thermostat', 'temperature') | float + 3.5 }}"
target_temp_high: "{{ state_attr('climate.namron_baderom_1_eth_thermostat', 'temperature') | float + 3.5}}"
target_temp_low: "{{ state_attr('climate.namron_baderom_1_eth_thermostat', 'temperature') | float + 3.5}}"
hvac_mode: heat
turn_off:
- service: climate.set_temperature
target:
entity_id: climate.namron_baderom_1_eth_thermostat
data:
temperature: 15
target_temp_high: 15
target_temp_low: 15
hvac_mode: heat
Merk:
- Jeg har satt på +3,5 grader, det trenger du trolig ikke
- Jeg slår ikke termostaten av, men setter den til 15 grader