diff --git a/custom_components/mega/hub.py b/custom_components/mega/hub.py index 0d2d5b6..41833a1 100644 --- a/custom_components/mega/hub.py +++ b/custom_components/mega/hub.py @@ -371,7 +371,7 @@ class MegaD: async for port, pty, m in self.scan_ports(nports): if pty == "0": ret['binary_sensor'][port].append({}) - elif pty == "1" and m in ['0', '1']: + elif pty == "1" and m in ['0', '1', '3']: ret['light'][port].append({'dimmer': m == '1'}) elif pty == '3': try: