diff --git a/apps/abstraction/transformation.py b/apps/abstraction/transformation.py index caf2ba0..efb31ba 100644 --- a/apps/abstraction/transformation.py +++ b/apps/abstraction/transformation.py @@ -19,6 +19,7 @@ from apps.abstraction.vendors import ( tasmota, hottis_pv_modbus, hottis_wago_modbus, + hottis_wifi_relay, ) logger = logging.getLogger(__name__) @@ -42,6 +43,7 @@ for vendor_name, vendor_module in [ ("tasmota", tasmota), ("hottis_pv_modbus", hottis_pv_modbus), ("hottis_wago_modbus", hottis_wago_modbus), + ("hottis_wifi_relay", hottis_wifi_relay), ]: for (device_type, direction), handler in vendor_module.HANDLERS.items(): key = (device_type, vendor_name, direction) diff --git a/config/devices.yaml b/config/devices.yaml index 25c085f..def4b65 100644 --- a/config/devices.yaml +++ b/config/devices.yaml @@ -948,4 +948,13 @@ devices: topics: set: "pulsegen/command/4/16" state: "pulsegen/status/4" - \ No newline at end of file +- device_id: regallampe_esszimmer + name: Regallampe Esszimmer + type: relay + cap_version: "relay@1.0.0" + technology: hottis_wifi_relay + features: + power: true + topics: + set: "IoT/WifiRelay1/State" + state: "IoT/WifiRelay1/State" \ No newline at end of file