Skip to content

Commit fc5b238

Browse files
committed
docs: add toggle action to readme
1 parent d1dcd54 commit fc5b238

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ alternate_unit:
5858
| --------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
5959
| `entity` | **Required** | An entity_id in the `sensor` domain containing the schedule |
6060
| `switch` | _Optional_ | An entity_id in the `switch` domain containing the on/off toggle for the schedule. |
61-
| `actions` | _Optional_ | `add`, `edit`, and `remove` actions |
61+
| `actions` | _Optional_ | `add`, `edit`, `remove`, and `toggle` (enable/disable individual entry) actions. |
6262
| `editable` | _Optional_ | Whether the schedule is editable. `always`, `toggle`, or `never`.<br><br> Default `toggle` if `actions` are defined, otherwise `never`. |
6363
| `unit_of_measurement` | _Optional_ | Optional override for the unit label. <br><br> Default `portions`. |
6464
| `alternate_unit` | _Optional_ | Configuration to display a secondary unit of measurement, with a conversion factor. |
@@ -72,6 +72,7 @@ alternate_unit:
7272
| `add` | _Optional_ | action_id that accepts `id`, `hour`, `minute`, `amount` `*`. |
7373
| `edit` | _Optional_ | action_id that accepts `id`, `hour`, `minute`, `amount` `*`. |
7474
| `remove` | _Optional_ | action_id that accepts `id`. |
75+
| `toggle` | _Optional_ | action_id that accepts `id`. |
7576

7677
`*` - `portions` is also accepted as a parameter instead of `amount`.
7778

0 commit comments

Comments
 (0)