Controlling Sonoff with alexa and Home Assistant
YouTube Tutorial
https://www.youtube.com/watch?v=ZhKAx-gGBnM
Add Follwoing in config file.
mqtt:
light:
'-' platform: mqtt
name: 'Office light1'
state_topic: 'office/light/status'
command_topic: "office/rgb1/light/switch"
optimistic: false