Following the instructions from @tinglis1 Here and Here I got the blaster to work with no issues using the code provided along with a couple tweaks from the iTach API. my issue is when i add a second notifier for an additional IR command i get
16-12-26 16:16:59 homeassistant.util.yaml: while parsing a block mapping
in “/home/homeassistant/.homeassistant/configuration.yaml”, line 1, column 1
expected , but found ‘-’
in “/home/homeassistant/.homeassistant/configuration.yaml”, line 163, column 1
my config is below, line 163 is the start of the second notify - name: receiver
I have tried indenting like i usually do for multiples but it just doesn’t like it. I appreciate any help with getting this working.
notify:
# - platform: ip2sl
# name: ip2cc
# host: ip2ccip
# port: 4998
#
#script:
# activate_gate:
# sequence:
# - service: notify.ip2sl
# data:
# message: "setstate,1:1,1"
#
# - delay:
# seconds: 1
#
# - service: notify.ip2sl
# data:
# message: "setstate,1:1,0"
- name: tv
platform: ip2sl
host: ip2irip
port: 4998
timeout: 10
script:
tv_on:
sequence:
- service: notify.ip2sl
data:
message: sendir,1:3,1,38000,1,1,172,172,22,64,22,64,22,64,22,21,22,21,22,21,22,21,22,21,22,64,22,64,22,64,22,21,22,21,22,21,22,21,22,21,22,64,22,21,22,21,22,64,22,64,22,21,22,21,22,64,22,21,22,64,22,64,22,21,22,21,22,64,22,64,22,21,22,1820"
tv_off:
sequence:
- service: notify.ip2sl
data:
message: "sendir,1:3,1,38000,1,1,173,173,21,65,21,65,21,65,21,21,21,21,21,21,21,21,21,21,21,65,21,65,21,65,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,65,21,65,21,21,21,21,21,65,21,65,21,65,21,65,21,21,21,21,21,65,21,65,21,21,21,1832"
- name: receiver
platform: ip2sl
host: ip2irip
port: 4998
timeout: 10
script:
receiver_on:
sequence:
- service: notify.ip2sl
data:
message: "sendir,1:2,1,38000,1,1,172,172,22,64,22,64,22,64,22,21,22,21,22,21,22,21,22,21,22,64,22,64,22,64,22,21,22,21,22,21,22,21,22,21,22,64,22,21,22,21,22,64,22,64,22,21,22,21,22,64,22,21,22,64,22,64,22,21,22,21,22,64,22,64,22,21,22,1820"
receiver_off:
sequence:
- service: notify.ip2sl
data:
message: "sendir,1:2,1,38000,1,1,173,173,21,65,21,65,21,65,21,21,21,21,21,21,21,21,21,21,21,65,21,65,21,65,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,65,21,65,21,21,21,21,21,65,21,65,21,65,21,65,21,21,21,21,21,65,21,65,21,21,21,1832"