My Denon-receiver is on, but my HEOS on that receiver is not playing. (media_player.denon_avr_x2500h_heos: state = idle)
How can i check that state = “idle” (= no music) and change it to state = “playing” (= i hear music) ?
Here’s my flow, but it is not working
[{"id":"feb7de91.27dd7","type":"api-current-state","z":"9c5a98e7.cb7138","name":"","server":"779d12e2.03b0bc","version":1,"outputs":2,"halt_if":"idle","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"media_player.denon_avr_x2500h_heos","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":720,"y":680,"wires":[["7906de3b.1da64","4b75ac8b.c59644"],["7906de3b.1da64"]]},{"id":"4ff619f.3515ce8","type":"inject","z":"9c5a98e7.cb7138","name":"","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"str","x":410,"y":660,"wires":[["feb7de91.27dd7"]]},{"id":"7906de3b.1da64","type":"debug","z":"9c5a98e7.cb7138","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1070,"y":720,"wires":[]},{"id":"4b75ac8b.c59644","type":"ha-fire-event","z":"9c5a98e7.cb7138","name":"","server":"779d12e2.03b0bc","event":"media_player.denon_avr_x2500h_heos","data":"{\"state\":\"playing\"}","dataType":"json","x":1130,"y":580,"wires":[["8e285163.74bad"]]},{"id":"8e285163.74bad","type":"debug","z":"9c5a98e7.cb7138","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1410,"y":580,"wires":[]},{"id":"779d12e2.03b0bc","type":"server","z":"","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true}]