Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in newest version #2

Open
Wassini opened this issue Jun 24, 2022 · 5 comments
Open

Bug in newest version #2

Wassini opened this issue Jun 24, 2022 · 5 comments

Comments

@Wassini
Copy link

Wassini commented Jun 24, 2022

This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/flagdays_dk/init.py:41
Integration: FlagDays DK (documentation, issues)
First occurred: 12:19:50 (1 occurrences)
Last logged: 12:19:50

Error during setup of component flagdays_dk
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/config/custom_components/flagdays_dk/init.py", line 41, in async_setup
flags.append(DEFAULT_FLAG)
AttributeError: 'str' object has no attribute 'append'

@J-Lindvig
Copy link
Owner

I will look into it later this evening.

@J-Lindvig
Copy link
Owner

Sorry for the delay.
I am unable to reproduce the error on my setup. Could ypu please provide me with a copy of your config?

/Jacob

@Wassini
Copy link
Author

Wassini commented Jul 5, 2022

Very simple:

flagdays_dk:
  time_offset: 10
  flags:
    Dannebrog

@Wassini
Copy link
Author

Wassini commented Jul 5, 2022

Ok - found the "bug". I need to write it in small letters :-)

@J-Lindvig
Copy link
Owner

J-Lindvig commented Jul 5, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants