Skip to content

Commit

Permalink
Don't map LevelControl to light for single cluster devices. (home-ass…
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminiuga authored and alandtse committed Feb 12, 2019
1 parent 1dbd2a9 commit abde0ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion homeassistant/components/zha/const.py
Expand Up @@ -129,7 +129,6 @@ def populate_data():

SINGLE_INPUT_CLUSTER_DEVICE_CLASS.update({
zcl.clusters.general.OnOff: 'switch',
zcl.clusters.general.LevelControl: 'light',
zcl.clusters.measurement.RelativeHumidity: 'sensor',
zcl.clusters.measurement.TemperatureMeasurement: 'sensor',
zcl.clusters.measurement.PressureMeasurement: 'sensor',
Expand Down

0 comments on commit abde0ae

Please sign in to comment.