From c7721adcb0efd55620c2079fb80a5471e894975d Mon Sep 17 00:00:00 2001 From: thinkaName <962679819@qq.com> Date: Fri, 26 Jun 2026 16:13:36 +0800 Subject: [PATCH] add firstled-io_P1S1BAC --- drivers/SmartThings/zigbee-switch/fingerprints.yml | 5 +++++ .../zigbee-switch/src/firstled-io/fingerprints.lua | 3 ++- tools/localizations/cn.csv | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/SmartThings/zigbee-switch/fingerprints.yml b/drivers/SmartThings/zigbee-switch/fingerprints.yml index b44a13d3c1..173c1337b4 100644 --- a/drivers/SmartThings/zigbee-switch/fingerprints.yml +++ b/drivers/SmartThings/zigbee-switch/fingerprints.yml @@ -2457,6 +2457,11 @@ zigbeeManufacturer: manufacturer: FIRSTLED model: M4S4BAC deviceProfileName: switch-light-restore-wireless + - id: "FIRSTLED/P1S1BAC" + deviceLabel: Punk Series 1x1 1 + manufacturer: FIRSTLED + model: P1S1BAC + deviceProfileName: switch-light-restore-wireless zigbeeGeneric: - id: "genericSwitch" deviceLabel: Zigbee Switch diff --git a/drivers/SmartThings/zigbee-switch/src/firstled-io/fingerprints.lua b/drivers/SmartThings/zigbee-switch/src/firstled-io/fingerprints.lua index 2586782642..1ee2c39b82 100644 --- a/drivers/SmartThings/zigbee-switch/src/firstled-io/fingerprints.lua +++ b/drivers/SmartThings/zigbee-switch/src/firstled-io/fingerprints.lua @@ -5,5 +5,6 @@ --The number of buttons determines how many buttons devices will be created. --The driver supports a series of device combinations, such as 4+4, 3+3, 2+2, 4+0, etc., of switch and button type products. return { - { mfr = "FIRSTLED", model = "M4S4BAC", children = 4, buttons = 4, child_profile = "switch-wireless" } + { mfr = "FIRSTLED", model = "M4S4BAC", children = 4, buttons = 4, child_profile = "switch-wireless" }, + { mfr = "FIRSTLED", model = "P1S1BAC", children = 1, buttons = 1, child_profile = "switch-wireless" } } diff --git a/tools/localizations/cn.csv b/tools/localizations/cn.csv index d1a3ed3369..2721cce6aa 100644 --- a/tools/localizations/cn.csv +++ b/tools/localizations/cn.csv @@ -141,3 +141,4 @@ Aqara Wireless Mini Switch T1,Aqara 无线开关 T1 "MultiIR Smoke Detector MIR-SM200",麦乐克烟雾报警器MIR-SM200 "MultiIR Siren MIR-SR100",麦乐克声光报警器MIR-SR100 "Mirror Series 4x4 1",镜系列4x4 1 +"Punk Series 1x1 1",朋克系列1x1 1