Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to:lirc:integration_with_home_assistant [2019/03/30 19:44]
franzunix [Use the RESTful API of lirc_web]
how_to:lirc:integration_with_home_assistant [2019/03/30 20:05] (current)
Line 50: Line 50:
   * http://​d-diot.local:​3000/​remotes.json   * http://​d-diot.local:​3000/​remotes.json
    
-Now you can create a momentary switch for the button with the  [[https://​www.home-assistant.io/​components/​switch.template/​|template switch ​component]], adding the lines under the oled switch to the switches.yaml file:+Now you can create a momentary switch for the remote ​button with the [[https://​www.home-assistant.io/​components/​switch.template/​|template switch ​platform]], adding the lines under the oled switch to the switches.yaml file:
 <file yaml /​home/​homeassistant/​.homeassistant/​switches.yaml> ​ <file yaml /​home/​homeassistant/​.homeassistant/​switches.yaml> ​
 # Template switches # Template switches
Line 74: Line 74:
         service: rest_command.lirc_web_YOUR_REMOTE_YOUR_KEY         service: rest_command.lirc_web_YOUR_REMOTE_YOUR_KEY
 </​file>​ </​file>​
 +Once the switch is created you can add them in the webui as an entity button card for example.
  • how_to/lirc/integration_with_home_assistant.1553975093.txt.gz
  • Last modified: 2019/03/30 19:44
  • by franzunix