Fitbit Error when accessing localized data


If I configure localized monitored_resources like distance, weight,…
I get the following error:

homeassistant.components.sensor: Error while setting up platform fitbit
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/”, line 98, in _setup_platform
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/”, line 239, in setup_platform
dev.append(FitbitSensor(authd_client, config_path, resource))
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/”, line 331, in init
measurement_system = FITBIT_MEASUREMENTS[self.client.system]
KeyError: ‘es_ES’

My fitbit is localized as es_ES

My configuration:

  • platform: fitbit
    • “activities/steps”
    • “activities/distance”
    • “body/weight”
    • “sleep/efficiency”

If I include only to monitor not localized data like steps or sleep/Efficiency it works.

  • platform: fitbit
    • “activities/steps”
    • “sleep/efficiency”

Thats because there is no spanish on the fitbit component.

And how can I fix it?