mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 13:34:24 +00:00
fix: Home Assistant: expose the internal_temperature sensor with the correct device class (#25289)
This commit is contained in:
@@ -180,6 +180,11 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
|
||||
humidity_min: {entity_category: 'config', icon: 'mdi:water-percent'},
|
||||
illuminance_calibration: {entity_category: 'config', icon: 'mdi:wrench-clock'},
|
||||
illuminance: {device_class: 'illuminance', state_class: 'measurement'},
|
||||
internal_temperature: {
|
||||
device_class: 'temperature',
|
||||
entity_category: 'diagnostic',
|
||||
state_class: 'measurement',
|
||||
},
|
||||
linkquality: {
|
||||
enabled_by_default: false,
|
||||
entity_category: 'diagnostic',
|
||||
|
||||
Reference in New Issue
Block a user