Function question

play can be: true/false
kenwood can be true/false
(i can change it in numbers if easier)

if play and kenwood are both true, do nothing
if play and kenwood are both false, do nothing
if play true and kenwood false, trigger next steps
if play false and kenwood true, trigger next steps

next step is a single node with http request to toggle the kenwood amp power (on and off)
the variable "kenwood" is a shelly plug s with power Measurement over mqtt. unter 10 watt is off/false, over 10 watt is on/true