This code goes into configuration.yaml
# Hue Emulation to allow Logitech remote to control TP-Link switches
emulated_hue:
host_ip: 192.168.1.173
expose_by_default: false
exposed_domains:
- switch
- light
entities:
switch.small_lounge_lamp:
name: "Small Lounge Lamp HA"
hidden: false
switch.christmas_tree:
name: "Christmas Tree HA"
hidden: false
light.lr1:
name: "Living Room 1 HA"
hidden: false
light.lr2:
name: "Living Room 2 HA"
hidden: false
light.ll1:
name: "Lounge Lamp 1 HA"
hidden: false
light.ll2:
name: "Lounge Lamp 2 HA"
hidden: false
Then add Hue devices the alexa app; this is why I have named them as HA, so I know they are from the emulated Hue. Open the Logitech Harmony software and they should appear in the devices:
You can then create groups of lights to control using the buttons on the remote.