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

Cant set enabled hours #148

Closed
supercain opened this issue Sep 14, 2019 · 2 comments
Closed

Cant set enabled hours #148

supercain opened this issue Sep 14, 2019 · 2 comments

Comments

@supercain
Copy link

Hi,

I want to configure the script to enable only a set of available hours like this:

enabled_hours: ['11', '12', '13', '14', '15', '16', '17', '18', '19']

but on the picker only 11 is shown and if I try to change it with the arrows then UNDEFINED appears. Enabled minutes wont work either

enabled_minutes: ['00'],

is this a bug or im doing something wrong?

Thank you.

@stefangabos
Copy link
Owner

I'll look into it this week. Thank you!

@stefangabos
Copy link
Owner

This is now fixed. It was because I expected those values to be given as integers

enabled_hours: [11, 12, 13, 14, 15, 16, 17, 18, 19]

instead of strings

enabled_hours: ['11', '12', '13', '14', '15', '16', '17', '18', '19']

Thank you for reporting and sorry it took so long to finally making time for this

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