New template format #890
Replies: 2 comments 4 replies
-
Could you add a link to the documentation you are refering to? Just follow the waste_collection_schedule documentation regarding configuration and sensor setup. There are a lot of examples in the generic part which describes - amongst others - the sensor configuration and also in the source specific documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This documentation applies only to the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm new to home assistant and found a hint in the documentation, that the legacy format for sensor configuration still works but is no longer recommended.
Is there a way to use the modern sensor configuration format with waste_collection_schedule?
- platform: waste_collection_schedule
name: AbfallBiotonnenext
details_format: "upcoming"
value_template: 'am: {{value.date.strftime("%d.%m.%Y")}}'
types:
- BioTonne
I fail with the transformation of the above legacy format, because "platform" does not exits in the modern format.
How should the modern sensor format look like?
Thanks in advance for your support.
Cheers
Frank
Beta Was this translation helpful? Give feedback.
All reactions