Skip to content

Commit

Permalink
Expose the internal_temperature sensor with the correct device class
Browse files Browse the repository at this point in the history
  • Loading branch information
rohankapoorcom committed Dec 22, 2024
1 parent bc6eccf commit e47322d
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 @@ -244,6 +244,11 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
illuminance_calibration: {entity_category: 'config', icon: 'mdi:wrench-clock'},
illuminance_lux: {device_class: 'illuminance', state_class: 'measurement'},
illuminance: {device_class: 'illuminance', enabled_by_default: false, 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 e47322d

Please sign in to comment.