wifi75
(wifi)
October 19, 2019, 10:40am
1
Hi can anyone help me understand why automation doesn’t work …
this is my automations script:
alias: CLIMA IN USCITA
description: ''
trigger:
- entity_id: alarm_control_panel.allarme_casa
from: disarmed
platform: state
to: armed_home
condition: []
action:
- data:
entity_id: climate.soggiorno
hvac_mode: Heat
service: climate.set_aux_heat
in the register see below:
Error while executing automation automation.clima_in_out. Invalid data for call_service at pos 1: extra keys not allowed @ data [‘hvac_mode’]
Tinkerer
(aka DubhAd on GitHub)
October 19, 2019, 10:51am
2
Please see the stick post that - amongst other things - explains how to correctly format your post. If you don’t do that then it is much harder to help you.
Tinkerer
(aka DubhAd on GitHub)
October 19, 2019, 10:52am
3
Did you try checking the documentation ? There is no such option for that service call, as the error tells you.
wifi75
(wifi)
October 19, 2019, 11:37am
4
I try this but not work:
alias: CLIMA IN USCITA
description: ''
trigger:
- entity_id: alarm_control_panel.allarme_casa
from: disarmed
platform: state
to: armed_home
condition: []
action:
- service: climate.set_aux_heat
data:
entity_id: climate.soggiorno
aux_heat: true
123
(Taras)
October 19, 2019, 2:43pm
7
Does your AC system support aux_heat
?
For example, the source of heat in my home is a gas furnace. There is no auxiliary (secondary) source of heat. The furnace is controlled by an entity called climate.thermostat
. If I use the Services page to call the climate.set_aux_heat
service, nothing happens (i.e. the furnace does not start). This is to be expected because my furnace doesn’t support the concept of a secondary (auxiliary) source of heat.
wifi75
(wifi)
October 19, 2019, 10:00pm
8
Where is this service menu?
123
(Taras)
October 20, 2019, 12:33am
9
Developer Tools > Services
wifi75
(wifi)
October 20, 2019, 10:50am
10
@123 yes found, but I try but the heat funcion not work…
123
(Taras)
October 20, 2019, 11:18am
11
Then it probably means you can’t use aux_heat
to activate your AC system’s heat.
Which platform is your climate integration using? The documentation for this platform may explain how to control it.
wifi75
(wifi)
October 20, 2019, 12:46pm
12
For my AC I have indtalled this script
# Climate_IP - IP based climate device for Home Assistant
Implementation of ClimateDevice for controlling IP based AC units.
This component is able to work with any AC unit which can be controlled with REST API.
At this moment it is configured to work with:
* Samsung AC units available at port 8888 (new generation, REST API)
* Samsung AC units available at port 2878 (old generation, socket communication)
* Samsung MIM-H03 controller (REST API, port 8888)
Support for any unit working with REST API can be easily added via YAML configuration file.
## Installation
1. Download all files from repo to newly created folder
2. move folder custom_components/climate_ip to your <ha_configuration_folder>
3. In __configuration.yaml__ file add section:
* For new generation units (REST API, port 8888)
```
- platform: climate_ip
config_file: 'samsungrac.yaml'
ip_address: 'device_ip'
token: 'token'
This file has been truncated. show original
123
(Taras)
October 20, 2019, 1:00pm
13
If you check the Default Functionality section you’ll see it does not mention aux_heat
. It says it can set four things:
turn device on/off
select fan mode
select swing mode
select target temperatures (min, max and target)