Skip to content

Commit

Permalink
Update services.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn authored Dec 14, 2022
1 parent a8e646e commit 2a5feb6
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions docs/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@ nav_order: 8
---

# Services
## notify.o365_email

### Service data
## Notify Services

### notify.o365_email_xxxxxxxx

#### Service data

Key | Type | Required | Description
-- | -- | -- | --
`message` | `string` | `True` | The email body
`title` | `string` | `False` | The email subject
`data` | `dict<data>` | `False` | Additional attributes - see table below

### Extended data
#### Extended data

Key | Type | Required | Description
-- | -- | -- | --
Expand All @@ -26,10 +29,10 @@ Key | Type | Required | Description
`zip_attachments` | `boolean` | `False` | Zip files from attachments into a zip file before sending
`zip_name` | `string` | `False` | Name of the generated zip file

### Example notify service call
#### Example notify service call

```yaml
service: notify.o365_email
service: notify.o365_email_xxxxxxxx
data:
message: The garage door has been open for 10 minutes.
title: Your Garage Door Friend
Expand All @@ -56,7 +59,7 @@ Respond to an event in the specified calendar - All parameters are shown in the
### o365.scan_for_calendars
Scan for new calendars and add to o365_calendars.yaml - No parameters. Does not scan for group calendars.
### Example create event service call
#### Example create event service call
```yaml
service: o365.create_calendar_event
Expand Down Expand Up @@ -89,7 +92,7 @@ Delete a To-Do Task - All parameters are shown in the available parameter list o
### o365.scan_for_task_lists
Scan for new task lists and add to o365_tasks.yaml - No parameters.

### Example create task service call
#### Example create task service call

```yaml
service: o365.new_task
Expand All @@ -111,7 +114,7 @@ Schedule the auto reply - All parameters are shown in the available parameter li
### o365.disable_auto_reply
Disable the auto reply - All parameters are shown in the available parameter list on the Developer Tools/Services tab.

### Example enable auto reply service call
#### Example enable auto reply service call

```yaml
service: o365.auto_reply_enable
Expand All @@ -123,4 +126,4 @@ data:
start: 2023-01-01T12:00:00+0000
end: 2023-01-02T12:30:00+0000
external_audience: all
```
```

0 comments on commit 2a5feb6

Please sign in to comment.