Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bruxy70 authored Jan 26, 2022
1 parent 71965da commit f6d6080
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The configuration via `configuration.yaml` has been deprecated. If you have prev
| `name` | Yes | Sensor friendly name
| `frequency` | Yes | `"weekly"`, `"even-weeks"`, `"odd-weeks"`, `"every-n-weeks"`, `"every-n-days"`, `"monthly"`, `"annual"`, `"group"` or `"blank"`
| `manual_update` | No | (Advanced). Do not automatically update the status. Status is updated manualy by calling the service `garbage_collection.update_state` from an automation triggered by event `garbage_collection_loaded`, that could manually add or remove collection dates, and manually trigger the state update at the end. [See the example](#manual-update-examples).</br>**Default**: `False`
| `offset` | No | (obsolete) Offset calculated date by `offset` days (makes most sense for monthly frequency). Examples of use:</br>for last Saurday each month, configure first Saturday each month with `offset: -7`</br>for 1<sup>st</sup> Wednesday in of full week, configure first Monday each month with `offset: 2`</br>(integer between -31 and 31) **Default**: 0.<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `offset` | No | **🔴(obsolete)** Offset calculated date by `offset` days (makes most sense for monthly frequency). Examples of use:</br>for last Saurday each month, configure first Saturday each month with `offset: -7`</br>for 1<sup>st</sup> Wednesday in of full week, configure first Monday each month with `offset: 2`</br>(integer between -31 and 31) **Default**: 0.<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `hidden` | No | Hide in calendar (useful for sensors that are used in groups)<br/>**Default**: `False`
| `icon_normal` | No | Default icon **Default**: `mdi:trash-can`
| `icon_today` | No | Icon if the collection is today **Default**: `mdi:delete-restore`
Expand All @@ -86,14 +86,14 @@ The configuration via `configuration.yaml` has been deprecated. If you have prev
|:----------|----------|------------
| `first_month` | No | Month three letter abbreviation, e.g. `"jan"`, `"feb"`...<br/>**Default**: `"jan"`
| `last_month` | No | Month three letter abbreviation.<br/>**Default**: `"dec"`
| `exclude_dates` | No | (obsolete) List of dates with no collection (using international date format `'yyyy-mm-dd'`. Make sure to enter the date in quotes!<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `include_dates` | No | (obsolete) List of extra collection (using international date format `'yyyy-mm-dd'`. Make sure to enter the date in quotes!<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `move_country_holidays` | No | (obsolete) Country holidays - the country code (see [holidays](https://github.com/dr-prodigy/python-holidays) for the list of valid country codes).<br/>Automatically move garbage collection on public holidays to the following day.<br/>*Example:* `US`<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `holiday_in_week_move` | No | (obsolete) Move garbage collection to the following day if a holiday is in week.<br/>**Default**: `false`<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `holiday_move_offset` | No | (obsolete) Move the collection by the number of days (integer -7..7) **Default**: 1<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `prov` | No | (obsolete) Country holidays - province (see [holidays](https://github.com/dr-prodigy/python-holidays) ).<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `state` | No | (obsolete) Country holidays - state (see [holidays](https://github.com/dr-prodigy/python-holidays) ).<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `observed` | No | (obsolete) Country holidays - observed (see [holidays](https://github.com/dr-prodigy/python-holidays) ).<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `exclude_dates` | No | **🔴(obsolete)** List of dates with no collection (using international date format `'yyyy-mm-dd'`. Make sure to enter the date in quotes!<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `include_dates` | No | **🔴(obsolete)** List of extra collection (using international date format `'yyyy-mm-dd'`. Make sure to enter the date in quotes!<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `move_country_holidays` | No | **🔴(obsolete)** Country holidays - the country code (see [holidays](https://github.com/dr-prodigy/python-holidays) for the list of valid country codes).<br/>Automatically move garbage collection on public holidays to the following day.<br/>*Example:* `US`<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `holiday_in_week_move` | No | **🔴(obsolete)** Move garbage collection to the following day if a holiday is in week.<br/>**Default**: `false`<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `holiday_move_offset` | No | **🔴(obsolete)** Move the collection by the number of days (integer -7..7) **Default**: 1<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `prov` | No | **🔴(obsolete)** Country holidays - province (see [holidays](https://github.com/dr-prodigy/python-holidays) ).<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `state` | No | **🔴(obsolete)** Country holidays - state (see [holidays](https://github.com/dr-prodigy/python-holidays) ).<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.
| `observed` | No | **🔴(obsolete)** Country holidays - observed (see [holidays](https://github.com/dr-prodigy/python-holidays) ).<br />This is obsolete feature. Use a [blueprint](#blueprints-for-manual-update) with `manual_update`.


#### PARAMETERS FOR ALL FREQUENCIES EXCEPT ANNUAL, EVERY-N-DAYS, GROUP and BLANK
Expand Down

0 comments on commit f6d6080

Please sign in to comment.