Skip to content

Commit

Permalink
Zigbee2mqtt: Add illuminance sensor (#1979)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles authored Dec 15, 2023
1 parent 4fa39d6 commit 9b2e67b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions server/services/zigbee2mqtt/exposes/numericType.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,15 @@ module.exports = {
max: 100000,
},
},
illuminance: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.LIGHT_SENSOR,
type: DEVICE_FEATURE_TYPES.SENSOR.DECIMAL,
unit: DEVICE_FEATURE_UNITS.LUX,
min: 0,
max: 100000,
},
},
local_temperature: {
feature: {
category: DEVICE_FEATURE_CATEGORIES.TEMPERATURE_SENSOR,
Expand Down

0 comments on commit 9b2e67b

Please sign in to comment.