Simplisafe arm via automation

I just installed a simplisafe system, and I’m using the included integration.

I can arm the system via a Lovelace control panel, but calling alarm_control_panel.alarm_arm_home (or alarm_control_panel.alarm_arm_away) on the alarm_panel entity doesn’t work, even if I send the code as service data.

One of the main use-cases for buying an alarm with smarthome integration was so I can arm the system if we aren’t home automatically. I’m assuming its possible if I can arm it from lovelace?

How do you arm it from lovelave?
Can you show the code you used to try to arm it?

1 Like

I use the Lovelace alarm panel card.

I figured it out; the code has to be sent wrapped in speechmarks! I figured because the example code on the services page didn’t, I’d just send it without. Thanks anyway

I have Simplisafe active and working for more than 2 years. I always left the code field blank and it used to arm and disarm just fine.
Last month it stopped working. I tried to use the PIN I use to disarm and I keep getting this error:

"2023-08-18 08:06:14.715 WARNING (MainThread) [homeassistant.components.simplisafe] Incorrect alarm code entered (target state: armed_home):"

Does anyone know what could be the reason for this error?