This integration allows using remote control emulators (such as BroadLink) with climate units. It uses home assistant service "Remote: Send command", so no matter which manufacturer is used for it. When you define integration you will get default home assistant climate card.
This component will set up the following platforms.
Platform | Description |
---|---|
climate |
For controlling AC unit via default climate card. |
button |
For swing toggle mode. |
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledclimate_remote_control
. - Download all the files from the
custom_components/climate_remote_control/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Climate remote control"
This method allows you to get updates directly on the HACS main page
- If HACS is not installed yet, download it following the instructions on https://hacs.xyz/docs/setup/download
- Proceed to the HACS initial configuration following the instructions on https://hacs.xyz/docs/configuration/basic
- On your sidebar go to HACS
- Click on the 3 dots in the top right corner.
- Select "Custom repositories"
- Fill URL field with https://github.com/avzhuiko/climate-remote-control.
- In category field select "Integration".
- Click the "ADD" button.
- You can now click on Add card in the bottom right corner and search for Climate remote control.
- Restart Home Assistant
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Climate remote control"
For adding new device you need fill only 2 fields. After that you'll be able to configure (or reconfigure) it.
There are 3 modes for temperature control:
- none - if your climate entity does not have settings which is connected with the temperature.
- target - if you can set the target temperature for your climate entity.
- range - if you can set the range of target temperatures (minimum and maximum)
Sometimes the climate units have modes for swing, but often you have the only one button for swing direction which can start or stop swinging. So, we have 3 modes for it:
- none - swing does not support.
- toggle - your remote control have button (per direction) which enable or disable swing, but you don't have any signs about it. Also, it can be named as stateless mode.
- state - if you have codes which can set a specific mode.
When you change one of a climate parameter it can change other if it didn't match with remote control. For example, you set up on your AC temperature 25C, medium fan and heat mode. Remote control has the same data on the screen. Now you press increase temperature button on remote control, but AC didn't receive it (you can close transmitter by your hand). After that you decide increase fan speed and now your AC with 26C, high fan and heat mode. That happens because temperature, fan speed and HVAC mode are sent together in one command.
When you change climate parameter the integration tries to find command for sending via HA service "Remote: send command". You can find formats for parameters below:
Parameter | Format | Example |
---|---|---|
HVAC mode | mode:<selected HVAC mode> | mode:heat |
Preset mode | preset:<selected preset mode> | preset:boost |
Fan | fan:<selected fan mode> | fan:medium |
Swing | swing:<selected swing mode> | swing:vertical |
Temperature | temp:<target temperature value with precision 1> | temp:24.0 |
Temperature range | temprange:<low temperature value with precision 1>:<high temperature value with precision 1> | temprange:22.0:24.0 |
Humidity (TBD) | humid:<target humidity level> | humid:50 |
If changed parameter belongs to grouping attributes, all parameters from grouping attributes will be concatenated via
underscore. Ex: mode:heat_fan:medium_temp:24.0 for grouping attributes=[HVAC mode, Fan mode, Target temperature].
NOTE: Order in grouping attributes is important because of concatenation order.
See Broadlink learning commands.
If command hasn't been learned, the integration will log it with WARN level.
Ex: Command "mode:heat_fan:low_temp:25.0" for device "LG_ES-H126LLA0" not found. You should learn it.
- LG ES-H126LLA0