Y’a surement plus court, mais ça fonctionne.
[{"id":"e8e5a822.64b898","type":"trigger-state","z":"6fdbade8.943354","name":"Valeur volume","server":"f2e51979.838dd8","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"input_number.volume","entityidfiltertype":"exact","debugenabled":false,"constraints":[],"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"num","x":141,"y":147,"wires":[["55da9831.27b208"],[]]},{"id":"55da9831.27b208","type":"change","z":"6fdbade8.943354","name":"Add topic","rules":[{"t":"set","p":"topic","pt":"msg","to":"SetVolumeDB","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":300,"y":140,"wires":[["d458d2d2.fb1fc"]]},{"id":"d458d2d2.fb1fc","type":"calculator","z":"6fdbade8.943354","name":"Volume vers db","inputMsgField":"payload","outputMsgField":"payload","operation":"sub","constant":"80","round":false,"decimals":0,"x":460,"y":140,"wires":[["7d1d2ff9.c12ea"]]},{"id":"7d1d2ff9.c12ea","type":"denon-out","z":"6fdbade8.943354","name":"Volume","controller":"ecb9bc35.f2408","unit_number":"1","output":"1","denoncommand":"","x":620,"y":140,"wires":[]},{"id":"f2e51979.838dd8","type":"server","name":"Home Assistant","addon":true},{"id":"ecb9bc35.f2408","type":"denon-controller","name":"","host":"192.168.1.21","port":"23"}]