En fait je pense que c’est le short_release qui pose pb dans ce cas, A sa remise en dispo, je pense que nodered voit une commande;
donc mettre un debug sur chaque sortie du commut pour voir si j’ai raison ou tord.
et si j’ai raison, changer de commande.
Sinon pour tout ce qui est bouton, je passe via mqtt.
[{"id":"6500c4cdb7cc12bd","type":"api-call-service","z":"334ad50d50754a3c","g":"04a5c1d945ef9bdb","name":"Prise micro-onde","server":"35ed60ee.1830b","version":5,"debugenabled":false,"domain":"switch","service":"toggle","areaId":[],"deviceId":[],"entityId":["switch.prise_7_micro_onde_zb"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":650,"y":340,"wires":[[]]},{"id":"41d36d52464a88f3","type":"switch","z":"334ad50d50754a3c","g":"04a5c1d945ef9bdb","name":"BP micro-onde","property":"payload.action","propertyType":"msg","rules":[{"t":"eq","v":"single","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":460,"y":340,"wires":[["6500c4cdb7cc12bd","cae59dec4d46ed61"]]},{"id":"dc81a001ee915676","type":"mqtt in","z":"334ad50d50754a3c","g":"04a5c1d945ef9bdb","name":"BP micro-onde","topic":"zigbee2mqtt/BP Micro-onde","qos":"2","datatype":"utf8","broker":"e314300a.e8a55","nl":false,"rap":false,"inputs":0,"x":120,"y":340,"wires":[["b993968e4047cd6a","937acfd884853c08"]]},{"id":"937acfd884853c08","type":"debug","z":"334ad50d50754a3c","g":"04a5c1d945ef9bdb","name":"debug 372","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":230,"y":400,"wires":[]},{"id":"b993968e4047cd6a","type":"json","z":"334ad50d50754a3c","g":"04a5c1d945ef9bdb","name":"","property":"payload","action":"","pretty":false,"x":290,"y":340,"wires":[["41d36d52464a88f3","c836d101c4a22447"]]},{"id":"c836d101c4a22447","type":"debug","z":"334ad50d50754a3c","g":"04a5c1d945ef9bdb","name":"debug 373","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":430,"y":400,"wires":[]},{"id":"cae59dec4d46ed61","type":"debug","z":"334ad50d50754a3c","g":"04a5c1d945ef9bdb","name":"debug 374","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":650,"y":400,"wires":[]},{"id":"35ed60ee.1830b","type":"server","name":"Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"","statusSeparator":"","enableGlobalContextStore":false},{"id":"e314300a.e8a55","type":"mqtt-broker","name":"Server-Mqtt","broker":"192.168.1.3","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""}]