Hi, i’m quite new to Home Assistant and i’m having a bit of trouble with triggering an iTach command.
Right now i’m just trying to get the tv to turn on, when Plex is selected.
I can turn on the TV from within Home Assistant using the code below. By clicking the corrosponding toggle button.
remote:
- platform: itach
name: livingroom
host: 192.168.1.169
devices:- name: tv
connaddr: 2
commands:- name: “ON”
data: “0000 006D 0022 0002 0157 00AB 0015 0015 0016 0015 0016 0015 0016 0014 0016 0015 0016 0015 0015 0040 0015 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 0015 0016 003F 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 003F 0016 05F7 0156 0055 0015 0E46”
- name: “ON”
- name: tv
But I can’t get the send_command to work.
Test TV
- alias: htpc_plex_tv
trigger:- platform: state
entity_id: input_select.amp_output,
to: “Aux”
action: - service: remote.send_command
entity_id: remote.livingroom
device: tv
command: “ON”
- platform: state
I get these errors:
The following errors have been logged this session:
17-03-15 20:18:43 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: Entity ID is an invalid entity id for dictionary value @ data[‘trigger’][0][‘entity_id’]. Got None
extra keys not allowed @ data[‘action’][0][‘command’]. Got None
extra keys not allowed @ data[‘action’][0][‘device’]. Got None. (See /home/hass/.homeassistant/configuration.yaml, line 174). Please check the docs at https://home-assistant.io/components/automation/
Any help would be much appreciated
Sorry about the formatting, i’m not sure how to format the output on here.