Remove comma thousands formatting

This commit is contained in:
Carlos Cristobal
2023-01-05 18:58:03 +00:00
parent 433c0defbe
commit b30ce5e85e

View File

@@ -449,7 +449,7 @@ class FitbitSensor(SensorEntity):
self._attr_native_value = raw_state self._attr_native_value = raw_state
else: else:
try: try:
self._attr_native_value = f"{int(raw_state):,}" self._attr_native_value = f"{int(raw_state)}"
except TypeError: except TypeError:
self._attr_native_value = raw_state self._attr_native_value = raw_state