Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106094

Climate Automation with knx thermostat: unable to set temperature

$
0
0

Hi, I am quite new with Home automation.
I managed to configure the knx integration.
Here is an example of a device configuration in my knx_climates.yaml:

  - name: cave.kitchen.clim
    temperature_address: "6/1/1"
    setpoint_shift_address: "5/4/1"
    setpoint_shift_state_address: "5/5/1"
    target_temperature_address: "5/2/1"
    target_temperature_state_address: "5/3/1"
    min_temp: 8.0
    max_temp: 25.0
    #on_off_state_address: "5/1/1"
    operation_mode_address: "5/6/1"
    operation_mode_state_address: "5/7/1"

The thermostat does displays correctly on the dashboard.

I also managed to set temperature through the Developer Tools:

When I try to execute a simple automation like this one:

- id: '1613375103669'
  alias: Test Chauffage
  description: ''
  trigger:
  - platform: time
    at: '10:30'
  condition: []
  action:
    service: climate.set_temperature
    entity_id: climate.salle_de_bain_parents_clim
    data: 
      temperature: 25
  mode: single

I am getting the following error:>

Test Chauffage: Error executing script. Invalid data for call_service at pos 1: must contain at least one of temperature, target_temp_high, target_temp_low.

I also tried different configurations:

- id: '1613375103669'
  alias: Test Chauffage
  description: ''
  trigger:
  - platform: time
    at: '10:30'
  condition: []
  action:
    service: climate.set_temperature
    entity_id: climate.salle_de_bain_parents_clim
    data_template: 
      temperature: 25
  mode: single
- id: '1613375103669'
  alias: Test Chauffage
  description: ''
  trigger:
  - platform: time
    at: '10:30'
  condition: []
  action:
    service: climate.set_temperature
    entity_id: climate.salle_de_bain_parents_clim
    data: 
      temperature: 25
      target_temp_high: 26
      target_temp_low: 20
      hvac_mode: heat
  mode: single
- id: '1613375103669'
  alias: Test Chauffage
  description: ''
  trigger:
  - platform: time
    at: '10:30'
  condition: []
  action:
    service: climate.set_temperature
    entity_id: climate.salle_de_bain_parents_clim
    data: {" temperature": "25", "target_temp_high": "26", "target_temp_low": "20", "hvac_mode": "heat"}
  mode: single

All these tests were unsuccessful and generated always the same error message.

A little bit help would be appreciated !

Denis

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>