Update fitbit.py (#9064)

Minor format update, set ‘type’ attribute to lowercase (Fitbit returns
all uppercase currently)
This commit is contained in:
Matt Schmitt 2017-08-21 01:15:15 -04:00 committed by Fabian Affolter
parent ebd64cded9
commit c3d548a0dd

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