From 0880468a51f2a972801c528c5fad66ecce7bfbdf Mon Sep 17 00:00:00 2001 From: luki- Date: Tue, 21 Jul 2026 14:19:53 +0200 Subject: [PATCH] Add support for SNZB-02B --- custom_components/sonoff/core/devices.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/custom_components/sonoff/core/devices.py b/custom_components/sonoff/core/devices.py index 698b40d2..33153388 100644 --- a/custom_components/sonoff/core/devices.py +++ b/custom_components/sonoff/core/devices.py @@ -757,6 +757,13 @@ def spec(cls, base: str = None, enabled: bool = None, **kwargs) -> type: 7039: [XButtonKey, Battery, ZRSSI], # SWV-ZNE, https://github.com/AlexxIT/SonoffLAN/issues/1814 7047: [spec(XBoolSwitch, param="switch_00", uid="switch"), Battery, ZRSSI], + # SNZB-02B + 7052: [ + spec(XSensor100, param="temperature"), + spec(XSensor100, param="humidity"), + Battery, + ZRSSI + ], # SNZB-03PR2 https://github.com/AlexxIT/SonoffLAN/issues/1824 7055: [XHumanSensor, spec(XSensor, param="illumination"), Battery, ZRSSI], }