Skip to content

Commit

Permalink
z2m thermostat mangement
Browse files Browse the repository at this point in the history
  • Loading branch information
atrovato committed Dec 11, 2022
1 parent 900b125 commit 0400ecf
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions server/services/zigbee2mqtt/exposes/numericType.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ module.exports = {
max: 1000,
},
},
current_heating_setpoint: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.THERMOSTAT,
type: DEVICE_FEATURE_TYPES.THERMOSTAT.TARGET_TEMPERATURE,
min: 5,
max: 40,
},
},
current_phase_b: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.SWITCH,
Expand Down Expand Up @@ -152,6 +160,22 @@ module.exports = {
forceOverride: true,
},
},
occupied_cooling_setpoint: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.THERMOSTAT,
type: DEVICE_FEATURE_TYPES.THERMOSTAT.TARGET_TEMPERATURE,
min: 5,
max: 40,
},
},
occupied_heating_setpoint: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.THERMOSTAT,
type: DEVICE_FEATURE_TYPES.THERMOSTAT.TARGET_TEMPERATURE,
min: 5,
max: 40,
},
},
position: {
types: {
cover: {
Expand Down Expand Up @@ -184,6 +208,22 @@ module.exports = {
max: 150,
},
},
unoccupied_cooling_setpoint: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.THERMOSTAT,
type: DEVICE_FEATURE_TYPES.THERMOSTAT.TARGET_TEMPERATURE,
min: 5,
max: 40,
},
},
unoccupied_heating_setpoint: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.THERMOSTAT,
type: DEVICE_FEATURE_TYPES.THERMOSTAT.TARGET_TEMPERATURE,
min: 5,
max: 40,
},
},
voltage: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.SWITCH,
Expand Down

0 comments on commit 0400ecf

Please sign in to comment.