Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
John Arild Berentsen
8d925ccbd9
Discover Danfoss/devolo RS Room Sensor thermostat
Allows the Danfoss/Devolo RS Room Sensor thermostat to be discovered as climate device in homeassistant.
This device is defined as GENERIC_TYPE_MULTILEVEL_SENSOR, and not GENERIC_TYPE_THERMOSTAT.
Ref: https://community.home-assistant.io/t/devolo-zwave-thermostat/58739
2018-07-13 16:05:56 +02:00

View file

@ -37,7 +37,9 @@ DISCOVERY_SCHEMAS = [
const.DISC_OPTIONAL: True, const.DISC_OPTIONAL: True,
}})}, }})},
{const.DISC_COMPONENT: 'climate', {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_VALUES: dict(DEFAULT_VALUES_SCHEMA, **{
const.DISC_PRIMARY: { const.DISC_PRIMARY: {
const.DISC_COMMAND_CLASS: [ const.DISC_COMMAND_CLASS: [