Skip to content

Commit

Permalink
feat: add CMR500 class
Browse files Browse the repository at this point in the history
The CMR500 works the same as the CMR1000
  • Loading branch information
d-Rickyy-b committed Dec 31, 2020
1 parent 1a9082a commit 740ecf1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pyBrematic/devices/intertechno/CMR500.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# Reference: https://github.com/Power-Switch/PowerSwitch_Android/blob/master/Smartphone/src/main/java/eu/power_switch/obj/receiver/device/intertechno/CMR500.java
# Since this is a dimmer, I am not sure if this code also supports dimming or only switchig.

from .CMR1000 import CMR1000


class CMR500(CMR1000):
"""Device class for the Intertechno CMR-500 switch"""

def __init__(self, system_code, unit_code):
super().__init__(system_code, unit_code)

0 comments on commit 740ecf1

Please sign in to comment.