Here you can find the full configuration of the component with its comfiguration. Topic Responce Topic: shellies/shelly1-/relay/0/status Js Parser: var data = JSON.parse(payload); return data.ison ? 1 : 0; Topic Write Topic: shellies/shelly1-/relay/0/command Js Parser: return payload == 0 ? "off" : "on"; Topic Event Topic: shellies/shelly1-/relay/0 Js Parser: return payload == "off" ? 0 : 1;