Make RS room thermostat discoverable (#15451)

* Make RS room thermostat discoverable

* Reversed generic type name
pull/15534/head
John Arild Berentsen 2018-07-18 12:20:02 +02:00 committed by Paulus Schoutsen
parent 06c3f756b1
commit 26375a3014
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@ DISCOVERY_SCHEMAS = [
const.DISC_OPTIONAL: True,
}})},
{const.DISC_COMPONENT: 'climate',
const.DISC_GENERIC_DEVICE_CLASS: [const.GENERIC_TYPE_THERMOSTAT],
const.DISC_GENERIC_DEVICE_CLASS: [
const.GENERIC_TYPE_THERMOSTAT,
const.GENERIC_TYPE_SENSOR_MULTILEVEL],
const.DISC_VALUES: dict(DEFAULT_VALUES_SCHEMA, **{
const.DISC_PRIMARY: {
const.DISC_COMMAND_CLASS: [