Here is the s1c_keyfob.yaml in package
############################################################################
# Broadlink S1C Keyfob Armed_away, Armed_home and SOS
# Test with HA 0.61.1
# Please change broadlink ip, mac address, broadlink friendly_name and name
############################################################################
switch:
- platform: broadlink
host: brodlinkip
mac: broadlinkmac
timeout: 30
friendly_name: "Pro1"
type: rm
switches:
s1c_armed_away:
friendly_name: "S1C Armed Away"
command_on: 'sgGEAx8JHgkKHQscCxwLHB8JCxwLHB8IHwkeCR4JCxwfCAsdHgkeCR8IHwkeCR4JCxwLHR4JCxweCQscCx0eCR4JHgkLHAsdHgkLHB8ICxwLHR4JHgkfCAsdCh0eCQscHwgfCR4JHgkfCQoJCzoLCQoJCwkLCQoJCwkLCAsJCwkKCQsJCwgLCQsICwkLCQoKCgkLCQodCwgVCR8ICwkLEh4JCxwLHR4JCxwLHAscHwkKHQscCxwLHQodCh0eCQscCx0eCR4JHwgLHB8JHgkLHAscCxwLHR4JCxwLHB8JHgkeCR4JCx0eCQscHgkfCB8IHwkeCR4JCxwLHR4JCxweCQsdCxweCR4JHgkLHQodHgkLHR4ICx0LHB4JHwgfCQodCxweCQscHwkeCR4JHwkeCQoKCjoLCQsJCgkLCQsICwkLCQoJCwkLCAsJCwkLCAsJCwgLCQsJCwgLCQscCwkUCR8ICwkLEh8ICxwLHR4JCxwLHAsdHgkLHAscCxwMHAscCxwfCAsdCxweCR8IHwgLHR4JHgkLHAsdCh0LHB4JCxwLHR4JHgkfCB8JCxwfCAscHwkeCR4JHgkeCR8JCh0LHB4JCxwfCQscCxwfCB8JHgkLHAscHwkKHR4JCxwLHB8JHgkeCQscCx0eCQscHwgeCR8JHgkeCQsJCzoKCQsJCwgLCQsJCgkLCQsICwkLCQoJCwkLCAsJCwkKCQsJCwkKCQscCwkVCR4JCwgLEh8JCh0LHB4JCx0KHQscHgkLHAsdCh0LHAscCxwfCQscCxwfCB8JHgkLHB4JHgoKHQodCxwLHB8ICx0KHR8IHwkeCR4JCxwfCAscHwkeCR4JHwgfCR4JCxwLHB4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HR4JCxwLHR4JHgkeCQscCx0KHR4JCxwfCB8JHgkeCQsJCjsKCQsJCgoKCQsJCwgLCQoKCgkLCQoJCwkLCQoKCgkKCQsJCwkKCgodCgkUCh4JCwgLEh4KCh0LHB4JCx0KHQodHgkLHQodCh0LHAscCx0eCQodCx0eCR4JHgkLHB4KHggLHQodCxwLHR4JCh0KHR4KHgkeCR4JCx0dCgodHgkeCh0JHwkeCR4JCxwLHR4JCxweCQsdCh0KHQoeHQkLHAsdHgkLHB4KCh0KHR4JHgkfCQodCh0LHB4KCh0eCR4JHgoeCQoJCzoLCQoKCgkLCQoKCgkKCQsJCgoKCQsJCwgLCQsJCgoKCQsJCgkLCQodCwkUCh0JCwkKFB0JCxwLHR4JCh0LHQocHgoKHQsdChwLHQodCh0eCQsdCh0eCR4KHQoKHR4JHgkLHQodCh0KHR4JCxwLHR4JHgkeCR8JCh0eCQsdHggeCh4JHgkeCR4KCh0KHR4JCx0eCQodCh0LHAsdHgkKHQodHgoKHR4JCh0LHR4JHgkeCQscCx0KHR4JCx0eCB8JHgkeCQsJCjsKCQsJCgoKCQsJCgoKCQsJCgkLCQoKCgkLCQoKCgkKCQsJCwkKCQsdCgkUCh0KCgkLEx4JCh0KHR4KCh0KHQodHgkLHQodCh0LHQocCx0eCQscCxweCh4JHgkKHR4KHQoKHQodCx0KHR4JCh0LHB4KHgkeCR4JCh0eCgodHgkeCR4JHwkeCR4JCh4KHB4KCh0eCQscCx0KHQodHgkLHAsdHgkLHB4KCh0KHR4JHgoeCQodCh0KHh4ICx0eCR4JHgkeCgoKCgAF3AAAAAA='
###############
# Group
###############
group:
s1c_keyfob:
name: S1C Alarm and SOS
control: hidden
entities:
- switch.s1c_armed_away
- switch.s1c_armed_home
- script.sos
#########################################################
# script SOS / Can deactivate SOS from e-control app only
#########################################################
script:
sos:
sequence:
- service: switch.broadlink_send_packet_broadlinkip
data:
packet:
- "sgKEAx4JHgkLHAsdCh0LHB4KCh0KHR4JHgkfCR4JCh0eCQscH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