# Example configuration.yaml entry script : learn_tv_power_button : sequence : - service : remote.learn_command target : entity_id : remote.bedroom data : device : television command : power alternative : true To learn IR codes, call remote.learn_command with the device name and command to be learned: They can be sent with the nd_command service later. These codes are grouped by device and stored as commands in the storage folder. Use remote.learn_command to learn IR and RF codes. They are created automatically when you configure devices with IR/RF capabilities. The remote entities allow you to learn and send codes with universal remotes. The entities are divided into three subdomains: Don’t forget to click Update to save your changes when you’re done. You can also disable the entity there if you don’t think it is useful. To change the name, icon or entity id, click the entity on the frontend and click the settings icon in the upper right. The entities have the same name as the device by default. Once the device is configured, all entities will be created automatically. There is no more need to set up platforms, except for custom IR/RF switches.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |