Hello, i want disarmed my alarm at 6:43 AM from Monday to Friday, but only when the alarm it is amed.home. I tryed to make flow, it work but whrn i armed_home my alarm it return Disarmed automatically. why?
this is my code:
[{"id":"fccc3d7a.22ba7","type":"tab","label":"Allarme casa","disabled":false,"info":""},{"id":"ff5817f1.b91a58","type":"comment","z":"fccc3d7a.22ba7","name":"DISATTIVAZIONE PROGRAMMATA ALLARME CASA","info":"","x":548,"y":36,"wires":},{"id":"cc243bb8.7c2708","type":"schedex","z":"fccc3d7a.22ba7","name":"Disattiva ad orario","suspended":false,"lat":"45.19043","lon":"11.58985","ontime":"06:43","ontopic":"","onpayload":"","onoffset":0,"onrandomoffset":0,"offtime":"goldenHour","offtopic":"","offpayload":"","offoffset":0,"offrandomoffset":0,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":false,"sun":false,"x":402,"y":84,"wires":[["f3e0ce2f.361f8"]]},{"id":"a8012ac5.a79eb8","type":"api-call-service","z":"fccc3d7a.22ba7","name":"Disarmo","server":"1479b278.26b1de","version":1,"debugenabled":false,"service_domain":"alarm_control_panel","service":"alarm_disarm","entityId":"alarm_control_panel.allarme_casa","data":"{"entity_id":"alarm_control_panel.allarme_casa","code":"180975"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":768,"y":72,"wires":[]},{"id":"f3e0ce2f.361f8","type":"trigger-state","z":"fccc3d7a.22ba7","name":"IN CASA","server":"1479b278.26b1de","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"alarm_control_panel.allarme_casa","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"id":"sqptikgmnnc","targetType":"entity_id","targetValue":"alarm_control_panel.allarme_casa","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is_not","comparatorValueDatatype":"str","comparatorValue":"armed_away"}],"constraintsmustmatch":"all","outputs":2,"customoutputs":,"outputinitially":false,"state_type":"str","x":600,"y":72,"wires":[["a8012ac5.a79eb8"],]},{"id":"1479b278.26b1de","type":"server","z":"","name":"Home Assistant CASA","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false}]