Update fitbit.py (#9064)
Minor format update, set ‘type’ attribute to lowercase (Fitbit returns all uppercase currently)
This commit is contained in:
parent
ebd64cded9
commit
c3d548a0dd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue