Skip to content

Commit

Permalink
fix: Home Assistant: expose the internal_temperature sensor with the …
Browse files Browse the repository at this point in the history
…correct device class (#25289)
  • Loading branch information
rohankapoorcom authored Dec 22, 2024
1 parent 6eae15f commit 5d059b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/extension/homeassistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5d059b7

Please sign in to comment.