Skip to content

Commit

Permalink
Merge pull request #74 from DerOetzi/homeassistant-auto-discovery
Browse files Browse the repository at this point in the history
Fix bug in entities definition
  • Loading branch information
DerOetzi authored May 18, 2024
2 parents 5bd8e2f + 1819854 commit 3a5e2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solaredge2mqtt/services/homeassistant/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class HomeAssistantEntityType(EnumModel):
ENERGY_KWH = "energy_kwh", "sensor", "energy", "total_increasing", "kWh"
ENERGY_WH = "energy_wh", "sensor", "energy", "total_increasing", "Wh"
FREQUENCY_HZ = "frequency_hz", "sensor", "frequency", "measurement", "Hz"
MONETARY = "monetary", "sensor", "monetary", "measurement", None
MONETARY = "monetary", "sensor", "monetary", None, None
PERCENTAGE = "percentage", "sensor", None, "measurement", "%"
PLUG = "plug", "binary_sensor", "plug", None, None
POWER_FACTOR = "power_factor", "sensor", "power_factor", "measurement", "%"
Expand Down

0 comments on commit 3a5e2d3

Please sign in to comment.