Open Barichon21 opened 4 days ago
@Barichon21 The difference between Target vs Current is essentially one is pending the change and/or in progress (Target) and the other is currently successfully armed (Current). I personally always use the Current state for a condition in automations so that the automation will only run if the current state is/is not already in a specific armed state. The Target state would be useful as a condition if you have an arming delay turned on and you're wanting to check for the status of that transition before running an automation.
Plugin version
8.4.0
Plugin configuration
{ "name": "Système de Sécurité", "serial_number": "S3CUR1TYSYST3M", "default_mode": "Off", "arm_seconds": 5, "trigger_seconds": 5, "reset_minutes": 10, "save_state": true, "proxy_mode": false, "test_mode": false, "trip_switch_name": "Trip", "trip_home_switch_name": "Trip Home", "trip_away_switch_name": "Trip Away", "trip_night_switch_name": "Trip Night", "trip_override_switch_name": "Trip Override", "mode_home_switch_name": "Mode Home", "mode_away_switch_name": "Mode Away", "mode_night_switch_name": "Mode Night", "mode_off_switch_name": "Mode Off", "mode_away_extended_switch_name": "Mode Away Extended", "mode_pause_switch_name": "Mode Pause", "audio_switch_name": "Audio", "override_off": false, "reset_off_flow": false, "double_knock": false, "double_knock_seconds": 90, "disabled_modes": [ "Night" ], "arming_sensor": false, "tripped_sensor": false, "tripped_sensor_seconds": 5, "triggered_sensor": false, "triggered_sensor_seconds": 5, "reset_sensor": false, "mode_switches": true, "mode_off_switch": true, "mode_away_extended_switch": false, "mode_pause_switch": false, "pause_minutes": 0, "arming_lock_switch": false, "arming_lock_switches": false, "trip_switch": true, "trip_override_switch": false, "trip_mode_switches": false, "audio_switch": false, "audio": false, "audio_language": "en-US", "audio_volume": "100", "audio_arming_looped": false, "audio_alert_looped": false, "accessory": "security-system" }
Homebridge version
20.18.0
What's your question?
Hello, sorry for the question.
I used some automation to set security system awareness Home/Away mode if I arrive or leave my house.
I also created automation to trigger the siren:
But I dont really understand the use of current security system and target security system. Can help me ?
Thx by advance.
Romain