Vassilis Panos 7 лет назад
Родитель
Сommit
5284f427cb
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      Docs/MEDIA_PLAYER.md

+ 4 - 2
Docs/MEDIA_PLAYER.md

@@ -2,8 +2,8 @@
   <a href="#"><img src="http://www.tooltip.gr/github_assets/smartir_mediaplayer.png" width="350" alt="SmartIR Media Player"></a>
   <a href="#"><img src="http://www.tooltip.gr/github_assets/smartir_mediaplayer.png" width="350" alt="SmartIR Media Player"></a>
 </p>
 </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.~~ In the last version, the component creates the `codes/media_player` subfolders if they not exist.
+For this platform to work, we need a .json file containing all the necessary IR commands.
+Find your device's brand code [here](https://github.com/smartHomeHub/SmartIR/blob/master/Docs/MEDIA_PLAYER.md#available-codes-for-tv-devices) and fill the device code in the configuration. If your device is not working, you will need to learn your own codes and place the Json file in `codes/media_player` subfolders.
 
 
 ## Configuration variables:
 ## Configuration variables:
 **name** (Optional): Name to use in the frontend<br />
 **name** (Optional): Name to use in the frontend<br />
@@ -13,6 +13,8 @@ Create a new folder into the Home Assistant's `custom_components` folder and nam
 
 
 ## Example (using broadlink controller):
 ## Example (using broadlink controller):
 ```yaml
 ```yaml
+smartir:
+
 switch:
 switch:
   - platform: broadlink
   - platform: broadlink
     host: 192.168.10.10
     host: 192.168.10.10