diff --git a/LICENSE b/LICENSE index f7d086cb..a19ab623 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Vassilis Panos +Copyright (c) 2019 Vassilis Panos, 2024 Li Tin O've Weedle Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/CLIMATE.md b/docs/CLIMATE.md index 0f3ac550..e1ddf62a 100644 --- a/docs/CLIMATE.md +++ b/docs/CLIMATE.md @@ -1,9 +1,7 @@ -
+# SmartIR Climate For this platform to work, we need a .json file containing all the necessary IR commands. -Find your device's brand code [here](CLIMATE.md#available-codes-for-climate-devices) and add the number in the `device_code` field. If your device is not working, you will need to learn your own codes and place the Json file in `smartir/codes/climate` subfolders. Please note that the device_code field only accepts positive numbers. The .json extension is not required. +Find your device's brand code [here](CLIMATE.md#available-codes-for-climate-devices) and add the number in the `device_code` field. If your device is not working, you will need to learn your own codes and place the Json file in `smartir/custom_codes/climate` subfolders. Please note that the device_code field only accepts positive numbers. The .json extension is not required. ## Configuration variables: | Name | Type | Default | Description | @@ -22,8 +20,6 @@ Find your device's brand code [here](CLIMATE.md#available-codes-for-climate-devi Add a Broadlink RM device named "Bedroom" via config flow (read the [docs](https://www.home-assistant.io/integrations/broadlink/)). ```yaml -smartir: - climate: - platform: smartir name: Office AC @@ -37,8 +33,6 @@ climate: ## Example (using xiaomi controller): ```yaml -smartir: - remote: - platform: xiaomi_miio host: 192.168.10.10 @@ -57,8 +51,6 @@ climate: ## Example (using mqtt controller): ```yaml -smartir: - climate: - platform: smartir name: Office AC @@ -73,8 +65,6 @@ climate: ## Example (using LOOKin controller): ```yaml -smartir: - climate: - platform: smartir name: Office AC @@ -109,8 +99,6 @@ remote_transmitter: ``` HA configuration.yaml: ```yaml -smartir: - climate: - platform: smartir name: Office AC diff --git a/docs/FAN.md b/docs/FAN.md index f81a10df..d27b0e98 100644 --- a/docs/FAN.md +++ b/docs/FAN.md @@ -1,9 +1,7 @@ - +# SmartIR Fan For this platform to work, we need a .json file containing all the necessary IR or RF commands. -Find your device's brand code [here](FAN.md#available-codes-for-fan-devices) and add the number in the `device_code` field. The compoenent will download it to the correct folder. If your device is not working, you will need to learn your own codes and place the .json file in `smartir/codes/fan/` subfolders. Please note that the `device_code` field only accepts positive numbers. The .json extension is not required. +Find your device's brand code [here](FAN.md#available-codes-for-fan-devices) and add the number in the `device_code` field. If your device is not working, you will need to learn your own codes and place the .json file in `smartir/custom_codes/fan/` subfolders. Please note that the `device_code` field only accepts positive numbers. The .json extension is not required. ## Configuration variables | Name | Type | Default | Description | @@ -20,8 +18,6 @@ Find your device's brand code [here](FAN.md#available-codes-for-fan-devices) and Add a Broadlink RM device named "Bedroom" via config flow (read the [docs](https://www.home-assistant.io/integrations/broadlink/)). ```yaml -smartir: - fan: - platform: smartir name: Bedroom fan @@ -34,8 +30,6 @@ fan: ## Example (using xiaomi controller) ```yaml -smartir: - remote: - platform: xiaomi_miio host: 192.168.10.10 @@ -53,8 +47,6 @@ fan: ## Example (using mqtt controller) ```yaml -smartir: - fan: - platform: smartir name: Bedroom fan @@ -67,8 +59,6 @@ fan: ## Example (using LOOKin controller) ```yaml -smartir: - fan: - platform: smartir name: Bedroom fan @@ -105,8 +95,6 @@ remote_transmitter: HA configuration.yaml: ```yaml -smartir: - fan: - platform: smartir name: Bedroom fan diff --git a/docs/MEDIA_PLAYER.md b/docs/MEDIA_PLAYER.md index 5b01790e..c17c03a8 100644 --- a/docs/MEDIA_PLAYER.md +++ b/docs/MEDIA_PLAYER.md @@ -1,9 +1,7 @@ - +# SmartIR Media Player For this platform to work, we need a .json file containing all the necessary IR commands. -Find your device's brand code [here](MEDIA_PLAYER.md#available-codes-for-tv-devices) and add the number in the `device_code` field. The compoenent will download it to the correct folder. If your device is not working, you will need to learn your own codes and place the .json file in `smartir/codes/media_player/` subfolders. Please note that the `device_code` field only accepts positive numbers. The .json extension is not required. +Find your device's brand code [here](MEDIA_PLAYER.md#available-codes-for-tv-devices) and add the number in the `device_code` field. If your device is not working, you will need to learn your own codes and place the .json file in `smartir/custom_codes/media_player/` subfolders. Please note that the `device_code` field only accepts positive numbers. The .json extension is not required. ## Configuration variables: | Name | Type | Default | Description | @@ -20,8 +18,6 @@ Find your device's brand code [here](MEDIA_PLAYER.md#available-codes-for-tv-devi Add a Broadlink RM device named "Bedroom" via config flow (read the [docs](https://www.home-assistant.io/integrations/broadlink/)). ```yaml -smartir: - media_player: - platform: smartir name: Living room TV @@ -33,8 +29,6 @@ media_player: ## Example (using xiaomi controller): ```yaml -smartir: - remote: - platform: xiaomi_miio host: 192.168.10.10 @@ -51,8 +45,6 @@ media_player: ## Example (using mqtt controller): ```yaml -smartir: - media_player: - platform: smartir name: Living room TV @@ -64,8 +56,6 @@ media_player: ## Example (using LOOKin controller): ```yaml -smartir: - media_player: - platform: smartir name: Living room TV @@ -98,8 +88,6 @@ remote_transmitter: ``` HA configuration.yaml: ```yaml -smartir: - media_player: - platform: smartir name: Living room TV diff --git a/docs/README.md b/docs/README.md index 2f7ae52a..d8f96ef8 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,7 +1,8 @@ [![](https://img.shields.io/github/v/release/litinoveweedle/SmartIR.svg?style=flat-square)](https://github.com/litinoveweedle/SmartIR/releases/latest) [![](https://img.shields.io/badge/HACS-Custom-orange.svg?style=flat-square)](https://github.com/custom-components/hacs) ## Overview -SmartIR is a custom integration for controlling **climate devices**, **media players** and **fans** via infrared controllers.