Skip to content

Commit

Permalink
Update sensors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
flip555 committed Oct 6, 2023
1 parent 3374acd commit 58c4c1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/bms_connector/bms/seplos/v2/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def unit_of_measurement(self):
result = self._calc_function(self.coordinator.data)
if isinstance(result, bool):
return None # No unit for boolean states

else:
return ''

async def async_update_data():
#Need to generate these, they're all for 0x00 atm .... 42H, 44H, 47H, 51H
Expand Down

0 comments on commit 58c4c1d

Please sign in to comment.