Is there any way to duplicate Dahua DMSS' "Disable Alarm Linkage' Function?

I have downloaded GitHub - rroller/dahua: Dahua Camera and Doorbell Home Assistant Integration, and successfully connected my Dahua NVR(7 cameras connected).

I just want a single function, to be able to set the function DMSS App provides, which is ‘Disable Alarm Linkage’. This function toggle in the DMSS app allows the Siren Sound not to activate when the function is Toggled On : When I get home, I do not the alarm to go off when my vehicle arrives at my driveway/carport.

Is there anyway to set an automation when I click a physical button (a wireless switch device already added to HA), the ‘disable linkage’ function would be turned on. and when I double click it will be switched off?