mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Fix string quoting in yaml of notify.telegram (#5870)
Strings containing a single quote must be enclosed in double quotes to generate valid YAML
This commit is contained in:
parent
e8142b764f
commit
4512ec9496
@ -99,7 +99,7 @@ action:
|
||||
service: notify.NOTIFIER_NAME
|
||||
data:
|
||||
title: '*Send a message*'
|
||||
message: 'That's an example that _sends_ a *formatted* message with a custom inline keyboard.'
|
||||
message: "That's an example that _sends_ a *formatted* message with a custom inline keyboard."
|
||||
data:
|
||||
inline_keyboard:
|
||||
- 'Task 1:/command1, Task 2:/command2'
|
||||
@ -121,7 +121,7 @@ action:
|
||||
service: notify.NOTIFIER_NAME
|
||||
data:
|
||||
title: Send an images
|
||||
message: That's an example that sends an image.
|
||||
message: "That's an example that sends an image."
|
||||
data:
|
||||
photo:
|
||||
- url: http://192.168.1.28/camera.jpg
|
||||
@ -164,7 +164,7 @@ action:
|
||||
service: notify.NOTIFIER_NAME
|
||||
data:
|
||||
title: Send a video
|
||||
message: That's an example that sends a video.
|
||||
message: "That's an example that sends a video."
|
||||
data:
|
||||
video:
|
||||
- url: http://192.168.1.28/camera.mp4
|
||||
@ -194,7 +194,7 @@ action:
|
||||
service: notify.NOTIFIER_NAME
|
||||
data:
|
||||
title: Send a document
|
||||
message: That's an example that sends a document and a custom keyboard.
|
||||
message: "That's an example that sends a document and a custom keyboard."
|
||||
data:
|
||||
document:
|
||||
file: /tmp/whatever.odf
|
||||
|
Loading…
x
Reference in New Issue
Block a user