Hey All,
I use the Waste Collection Schedule to tell me and my partner when each bin needs to be taken out. I have my sensors configured as below.
- platform: waste_collection_schedule
name: next_collection
- platform: waste_collection_schedule
name: Recycling Collection
details_format: appointment_types
value_template: "due in {{value.daysTo}} days"
types:
- Recycling
- platform: waste_collection_schedule
name: Black Bin Collection
details_format: appointment_types
value_template: "due in {{value.daysTo}} days"
types:
- Refuse
waste_collection_schedule:
sources:
- name: iweb_itouchvision_com
args:
postcode: POSTCODE
uprn: UPRN
council: SOMERSET
This works great and when I have my cards configured, it displays this information as below.
I have set up the following automation and I’m wondering if I’ve set this up correctly. Can someone help me and confirm my automation setup?
alias: Black Bin - Notification
description: ""
trigger:
- platform: numeric_state
entity_id:
- sensor.black_bin_collection
attribute: Refuse
below: 2
condition: []
action:
- service: notify.mobile_app_emma_s_new_phone
metadata: {}
data:
message: "The Black Bin needs taken out. "
title: Black Bin is collected tomorrow
- service: notify.mobile_app_jacobs_iphone
metadata: {}
data:
message: "The Black Bin needs taken out today. "
title: Black Bin is collected tomorrow
mode: single