Files
zorruno-homeassistant/packages/waste_collection.yaml
2024-05-27 22:20:04 +12:00

56 lines
1.5 KiB
YAML

waste_collection_schedule:
sources:
- name: aucklandcouncil_govt_nz
args:
area_number: 12344403722 # see 'How to get the source argument below'
sensor:
- platform: waste_collection_schedule
#source_index: 0
name: Auckland Council Waste
details_format: upcoming
count: 1
leadtime: 1
#value_template: VALUE_TEMPLATE
#date_template: DATE_TEMPLATE
add_days_to: true
#event_index: EVENT_INDEX
types:
- rubbish
- platform: waste_collection_schedule
#source_index: 0
name: Auckland Council Recycling
details_format: upcoming
count: 1
leadtime: 1
#value_template: VALUE_TEMPLATE
#date_template: DATE_TEMPLATE
add_days_to: true
#event_index: EVENT_INDEX
types:
- recycle
- platform: waste_collection_schedule
#source_index: 0
name: Auckland Council Food-Waste
details_format: upcoming
count: 1
leadtime: 1
#value_template: VALUE_TEMPLATE
#date_template: DATE_TEMPLATE
add_days_to: true
#event_index: EVENT_INDEX
types:
- food-waste
mqtt:
sensor:
- unique_id: auckland_council_red_waste_bin_out
name: "Red Waste Bin Out"
state_topic: "viewroad-status/rubbishbinstatus/redbin-out"
- unique_id: auckland_council_green_recycling_bin_out
name: "Green Recycling Bin Out"
state_topic: "viewroad-status/rubbishbinstatus/greenbin-out"
- unique_id: auckland_council_food_waste_bin_out
name: "Food Waste Bin Out"
state_topic: "viewroad-status/rubbishbinstatus/foodbin-out"