Well with an app enabled alarm system you can link the detectors and wireless outputs to switch on lights etc. I am not so sure how well that would work though, getting cosy in the lounge and the lights keep switching on when the pir detects movement, same with the bedrooms . I have Alexa in most of the rooms in my house and I use voice to switch stuff on and off. I swapped my light switch's for broadlink programmable switch's , and I have a couple of broadlink pro's around the house. My alarm switch's on the hall lights as courtesy when entering and leaving the house. and when I set or part set the alarm switch's all the light's in the house and the outbuildings off when armed. James has his back and front doors controlling his outside lighting the light comes on every time he opens the door.
Oh my lights come on when the alarm goes off too.