Create a new folder into the Home Assistant's `custom_components` folder and name it `smartir`. Copy `__init__.py` and `climate.py` into the `smartir` folder. Create the subfolders `codes/climate` into the `smartir` folder and copy the code file for your AC device.
## Configuration variables:
**name** (Optional): Name to use in the frontend<br/>
**device_code** (Required): ...... (Accepts only positive numbers)<br/>
**controller_send_service** (Required): The service that will be used to send the commands. Only `broadlink_send_packet` (Broadlink controller) is currently supported.<br/>
**temperature_sensor** (Optional): *entity_id* for a temperature sensor<br/>
**humidity_sensor** (Optional): *entity_id* for a humidity sensor<br/>
**power_sensor** (Optional): *entity_id* for a sensor that monitors whether your device is actually On or Off. This may be a power monitor sensor. (Accepts only on/off states)<br/>
ToDo... I'm developing a windows tool to easily create your code files. Please be patient!
## Convert your old INI files:
To convert your old INI files, please download the SmartIR INI Converter app (only for windows) from the [Tools](Tools/) folder.
## Available codes for climate devices:
Below are the code files created by the people in the community. Before you start creating your own code file, try if one of them works for your device. **Please open an issue if your device is working and not included in the supported models.**
<ahref="#"><imgsrc="http://www.tooltip.gr/github_assets/smartir_mediaplayer.png"width="350"alt="SmartIR Media Player"></a>
</p>
## Installation:
Create a new folder into the Home Assistant's `custom_components` folder and name it `smartir`. Copy `__init__.py` and `media_player.py` into the `smartir` folder. Create the subfolders `codes/media_player` into the `smartir` folder and copy the code file for your device.
## Configuration variables:
**name** (Optional): Name to use in the frontend<br/>
**device_code** (Required): ...... (Accepts only positive numbers)<br/>
**controller_send_service** (Required): The service that will be used to send the commands. Only `broadlink_send_packet` (Broadlink controller) is currently supported.<br/>
**power_sensor** (Optional): *entity_id* for a sensor that monitors whether your device is actually On or Off. This may be a power monitor sensor. (Accepts only on/off states)<br/>