Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions custom_components/sonoff/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
}
Expand Down