From ee905b92fe69648853291b6b22d10ef363f47490 Mon Sep 17 00:00:00 2001 From: Felipe Martins Diel Date: Thu, 11 Apr 2024 00:31:32 -0300 Subject: [PATCH] Add supported type --- broadlink/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/broadlink/__init__.py b/broadlink/__init__.py index 070f06db..96ce4e85 100644 --- a/broadlink/__init__.py +++ b/broadlink/__init__.py @@ -12,7 +12,7 @@ from .hub import s3 from .light import lb1, lb2 from .remote import rm, rm4, rm4mini, rm4pro, rmmini, rmminib, rmpro -from .sensor import a1 +from .sensor import a1, a2 from .switch import bg1, ehc31, mp1, mp1s, sp1, sp2, sp2s, sp3, sp3s, sp4, sp4b SUPPORTED_TYPES = { @@ -144,6 +144,9 @@ a1: { 0x2714: ("e-Sensor", "Broadlink"), }, + a2: { + 0x4F60: ("e-Sensor", "Broadlink"), + }, mp1: { 0x4EB5: ("MP1-1K4S", "Broadlink"), 0x4F1B: ("MP1-1K3S2U", "Broadlink (OEM)"),