mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-15 01:54:33 +00:00
Update fitbit.py
This commit is contained in:
@@ -165,8 +165,8 @@ def request_app_setup(hass, config, add_devices, config_path,
|
|||||||
if os.path.isfile(config_path):
|
if os.path.isfile(config_path):
|
||||||
config_file = load_json(config_path)
|
config_file = load_json(config_path)
|
||||||
if config_file == DEFAULT_CONFIG:
|
if config_file == DEFAULT_CONFIG:
|
||||||
error_msg = ("You didn't correctly modify the {}}",
|
error_msg = ("You didn't correctly modify the file",
|
||||||
" please try again").format(config_path)
|
" please try again")
|
||||||
configurator.notify_errors(_CONFIGURING['fitbit'],
|
configurator.notify_errors(_CONFIGURING['fitbit'],
|
||||||
error_msg)
|
error_msg)
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user