mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 02:04:22 +01:00
Add Pronatura Bydgoszcz (#2138)
* Add Pronatura Bydgoszcz * follow contribution guide, clean code, address PR comments * rename + minor changes pronatura_bydgoszcz rename to match URL (add _pl) removed unnecessary method get_data NAME_MAP[waste_type] and ICON_MAP[waste_type] with get equivalents to prevent failour on name change modified md file to be more in line with other sources --------- Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
35
doc/source/pronatura_bydgoszcz_pl.md
Normal file
35
doc/source/pronatura_bydgoszcz_pl.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Pronatura Bydgoszcz
|
||||
|
||||
Support for schedules provided by [Pronatura Bydgoszcz](http://www.pronatura.bydgoszcz.pl/), serving Bydgoszcz, Poland.
|
||||
|
||||
There are other companies providing garbage collection services in Bydgoszcz (Remondis and Corimp) but this source does not support them.
|
||||
|
||||
To check which provider you have, visit this page at [Czysta Bydgoszcz](https://www.czystabydgoszcz.pl/odpady-komunalne/podzial-na-sektory/).
|
||||
|
||||
## Configuration via configuration.yaml
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: pronatura_bydgoszcz_pl
|
||||
args:
|
||||
street_name: STREET_NAME
|
||||
street_number: STREET_NUMBER
|
||||
```
|
||||
|
||||
**street_name**
|
||||
*(string) (required)*
|
||||
|
||||
**street_number**
|
||||
*(string|integer) (required)*
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: pronatura_bydgoszcz_pl
|
||||
args:
|
||||
street_name: JÓZEFA SOWIŃSKIEGO
|
||||
street_number: 22A
|
||||
```
|
||||
Reference in New Issue
Block a user