Skip to content

Commit

Permalink
fix: Home Assistant: remove the diagnostic category classification fo…
Browse files Browse the repository at this point in the history
…r power (#24575)

Co-authored-by: Koen Kanters <[email protected]>
  • Loading branch information
magicus and Koenkk authored Nov 2, 2024
1 parent 67d3f05 commit c078ccb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/extension/homeassistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
pm25: {device_class: 'pm25', state_class: 'measurement'},
people: {state_class: 'measurement', icon: 'mdi:account-multiple'},
position: {icon: 'mdi:valve', state_class: 'measurement'},
power: {device_class: 'power', entity_category: 'diagnostic', state_class: 'measurement'},
power_phase_b: {device_class: 'power', entity_category: 'diagnostic', state_class: 'measurement'},
power_phase_c: {device_class: 'power', entity_category: 'diagnostic', state_class: 'measurement'},
power: {device_class: 'power', state_class: 'measurement'},
power_phase_b: {device_class: 'power', state_class: 'measurement'},
power_phase_c: {device_class: 'power', state_class: 'measurement'},
power_factor: {device_class: 'power_factor', enabled_by_default: false, entity_category: 'diagnostic', state_class: 'measurement'},
power_outage_count: {icon: 'mdi:counter', enabled_by_default: false},
precision: {entity_category: 'config', icon: 'mdi:decimal-comma-increase'},
Expand Down

0 comments on commit c078ccb

Please sign in to comment.