Skip to content

Commit

Permalink
fix: Improve power_phase_b and power_phase_c Home Assistant disco…
Browse files Browse the repository at this point in the history
…very (#24538)

Added power_phase_b and power_phase_c
  • Loading branch information
Bacchus777 authored Oct 29, 2024
1 parent ab72606 commit e0a0f86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/extension/homeassistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
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_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 e0a0f86

Please sign in to comment.