Fork garbage_collection avec décalage jours fériés FR

This commit is contained in:
2026-06-17 11:16:24 +02:00
commit 162483ba3c
43 changed files with 4120 additions and 0 deletions
@@ -0,0 +1,60 @@
collect_garbage:
description: Set the last_collection attribute to the current date and time.
target:
entity:
integration: garbage_collection
fields:
entity_id:
description: The garbage_collection sensor entity_id
example: sensor.general_waste
last_collection:
description: Date and time of the last collection (optional)
example: "2020-08-16 10:54:00"
add_date:
description: Manually add collection date.
target:
entity:
integration: garbage_collection
fields:
entity_id:
description: The garbage_collection sensor entity_id
example: sensor.general_waste
date:
description: Collection date to add
example: '"2020-08-16"'
offset_date:
description: Move the collection date by a number of days.
target:
entity:
integration: garbage_collection
fields:
entity_id:
description: The garbage_collection sensor entity_id
example: sensor.general_waste
date:
description: Collection date to move
example: '"2020-08-16"'
offset:
description: Nuber of days to move (negative number will move it back)
example: 1
remove_date:
description: Remove automatically calculated collection date.
target:
entity:
integration: garbage_collection
fields:
entity_id:
description: The garbage_collection sensor entity_id
example: sensor.general_waste
date:
description: Collection date to remove
example: '"2020-08-16"'
update_state:
description: Update the entity state and attributes. Used with the manual_update option, do defer the update after changing the automatically created schedule by automation trigered by the garbage_collection_loaded event.
target:
entity:
integration: garbage_collection
fields:
entity_id:
description: The garbage_collection sensor entity_id
example: sensor.general_waste