Skip to content

Commit

Permalink
quick skim missed these are properties so it was correct before
Browse files Browse the repository at this point in the history
  • Loading branch information
krbaker committed May 14, 2023
1 parent 6ae2dfb commit 8aef21b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/sunpower/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
PVS_SENSORS[sensor][5],
)
try:
spb.native_value() # ensure we can pull a value here, otherwise throw out this value
spb.native_value # ensure we can pull a value here, otherwise throw out this value
entities.append(spb)
except KeyError:
pass
Expand All @@ -80,7 +80,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
METER_SENSORS[sensor][5],
)
try:
smb.native_value() # ensure we can pull a value here, otherwise throw out this value
smb.native_value # ensure we can pull a value here, otherwise throw out this value
entities.append(smb)
except KeyError:
pass
Expand All @@ -106,7 +106,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
INVERTER_SENSORS[sensor][5]
)
try:
sib.native_value() # ensure we can pull a value here, otherwise throw out this value
sib.native_value # ensure we can pull a value here, otherwise throw out this value
entities.append(sib)
except KeyError:
pass
Expand Down

0 comments on commit 8aef21b

Please sign in to comment.