Skip to content

Commit 953e77d

Browse files
committed
added ikea tradfri tunable white device type
1 parent fc8d56f commit 953e77d

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

lightify/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,13 @@ class DeviceType(Enum):
138138
'name': 'unknown switch'},
139139
68: {'type': DeviceType.SWITCH,
140140
'subtype': DeviceSubType.SWITCH,
141-
'name': 'unknown switch'}
141+
'name': 'unknown switch'},
142+
128: {'type': DeviceType.LIGHT,
143+
'subtype': DeviceSubType.LIGHT_TUNABLE_WHITE,
144+
'name': 'tradfri tunable white',
145+
'min_temp': 2200,
146+
'max_temp': 4000
147+
},
142148
}
143149

144150

@@ -907,8 +913,8 @@ def __init__(self, host, new_device_types=None):
907913
'type': DeviceType.LIGHT,
908914
'subtype': DeviceSubType.LIGHT_TUNABLE_WHITE,
909915
'name': 'tradfri tunable white',
910-
'min_temp': 2700,
911-
'max_temp': 6500
916+
'min_temp': 2200,
917+
'max_temp': 4000
912918
}
913919
}
914920
}}

0 commit comments

Comments
 (0)