fix: Home Assistant: expose the internal_temperature sensor with the correct device class (#25289)

This commit is contained in:
Rohan Kapoor
2024-12-22 19:15:34 +00:00
committed by GitHub
parent 6eae15fb5e
commit 5d059b7bcb
+5
View File
@@ -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',