Skip to content

Commit

Permalink
Correctly discover GE Fan Controllers (#8682)
Browse files Browse the repository at this point in the history
  • Loading branch information
emlove committed Jul 29, 2017
1 parent 0bde0a6 commit 80ab02c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions homeassistant/components/zwave/discovery_schemas.py
Expand Up @@ -110,6 +110,17 @@
const.COMMAND_CLASS_SWITCH_BINARY],
const.DISC_GENRE: const.GENRE_USER,
}})},
{const.DISC_COMPONENT: 'fan',
const.DISC_GENERIC_DEVICE_CLASS: [
const.GENERIC_TYPE_SWITCH_MULTILEVEL],
const.DISC_SPECIFIC_DEVICE_CLASS: [
const.SPECIFIC_TYPE_FAN_SWITCH],
const.DISC_VALUES: dict(DEFAULT_VALUES_SCHEMA, **{
const.DISC_PRIMARY: {
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SWITCH_MULTILEVEL],
const.DISC_INDEX: [const.INDEX_SWITCH_MULTILEVEL_LEVEL],
const.DISC_TYPE: const.TYPE_BYTE,
}})},
{const.DISC_COMPONENT: 'light',
const.DISC_GENERIC_DEVICE_CLASS: [
const.GENERIC_TYPE_SWITCH_MULTILEVEL,
Expand Down

0 comments on commit 80ab02c

Please sign in to comment.