Dilbert66 / esphome-dsckeybus

Esphome custom configuration for interfacing to a DSC POWERSERIES alarm system
177 stars 31 forks source link

DSCkeybus API call from lambda #121

Open chreggy opened 4 months ago

chreggy commented 4 months ago

Hello,

I tested last year this projet with success but with the last sources, how can I convert this lambda API calls ?

Best Regards.

Dilbert66 commented 4 months ago

use: lambda: $panelId->set_alarm_state("A","",1); lambda: $panelid->set_alarm_state("D","$accessCode",1);