nielsfaber / scheduler-card

HA Lovelace card for control of scheduler entities
GNU General Public License v3.0
914 stars 116 forks source link

Cannot disarm alarm? #798

Closed deanfourie1 closed 9 months ago

deanfourie1 commented 9 months ago

Checklist

Card Version

3.2.12

Component Version

3.3.0

Bug description

When choosing the option to disarm alarm based on a schedule it fails with error wrong code provided.

Steps to reproduce

Setup a schedule to disarm alarm area.

Additional info

When attempting to disarm an alarm area, it fails with error wrong code provided. However arming works without any issues.

nielsfaber commented 9 months ago

It seems your alarm requires a code for disarming. Scheduler does not know this code, so it only performs a disarming action without any code. You could add a custom action to the card with a code as extra service_data parameter, see https://github.com/nielsfaber/scheduler-card?tab=readme-ov-file#customize.