mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 22:25:13 +02:00
Remove comma thousands formatting
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user