-
-
Notifications
You must be signed in to change notification settings - Fork 703
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
Added support for OLO, Slovakia suource #3283
Conversation
PARAM_TRANSLATIONS = { # Optional dict to translate the arguments, will be shown in the GUI configuration form as placeholder text | ||
"en": { | ||
"street": "Enter street name", | ||
"registrationNumber": "Enter registration number" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove enter
from the string
HOW_TO_GET_ARGUMENTS_DESCRIPTION = { # Optional dictionary to describe how to get the arguments, will be shown in the GUI configuration form above the input fields, does not need to be translated in all languages | ||
"en": "HOW TO GET ARGUMENTS DESCRIPTION" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either fill in correct information or remove this Variable. This placeholder text would be shown in the configuration GUI at the moment
headers = { | ||
"Content-Type": "application/json", | ||
"Accept": "application/json", | ||
"authorization": "Bearer ae84ae0982c2162a81eb253765ceaa8593abd9105c71954cf5c9620b0178cbb6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there another way to get this header, I don't like hard coding a Bearer token
@@ -0,0 +1,37 @@ | |||
# fcc Environment (VYLOŽ SMETI APP) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Headline copy-paste leftovers?
### Configuration Variables | ||
|
||
**street** | ||
*(String) (required)* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
registrationNumber missing
sources: | ||
- name: olo_sk | ||
args: | ||
street: Jantarova 47 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
registrationNumber missing
```yaml | ||
waste_collection_schedule: | ||
sources: | ||
- name: olo_sk | ||
args: | ||
city: Jasovska 8 | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
city is not a valid argument
Sorry. This PR was created by mistake on unfinished code. I'll be back with a new one in few days. |
No description provided.