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