Update fitbit.py (#9064)

Minor format update, set ‘type’ attribute to lowercase (Fitbit returns
all uppercase currently)
This commit is contained in:
Matt Schmitt authored and Fabian Affolter committed 2017-08-21 07:15:15 +02:00
1 parent ebd64cded9
commit c3d548a0dd
1 file changed
+1 -1
+1 -1
View File
@@ -441,7 +441,7 @@ class FitbitSensor(Entity):
if self.extra:
attrs['model'] = self.extra.get('deviceVersion')
attrs['type'] = self.extra.get('type')
attrs['type'] = self.extra.get('type').lower()
return attrs