mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 09:03:13 +01:00
Allow multiline post in Mastodon (#157647)
This commit is contained in:
@@ -9,6 +9,7 @@ post:
|
||||
required: true
|
||||
selector:
|
||||
text:
|
||||
multiline: true
|
||||
visibility:
|
||||
selector:
|
||||
select:
|
||||
|
||||
@@ -118,9 +118,12 @@ from tests.common import MockConfigEntry
|
||||
},
|
||||
),
|
||||
(
|
||||
{ATTR_STATUS: "test toot", ATTR_IDEMPOTENCY_KEY: "post_once_only"},
|
||||
{
|
||||
"status": "test toot",
|
||||
ATTR_STATUS: "test toot\nwith idempotency",
|
||||
ATTR_IDEMPOTENCY_KEY: "post_once_only",
|
||||
},
|
||||
{
|
||||
"status": "test toot\nwith idempotency",
|
||||
"idempotency_key": "post_once_only",
|
||||
"language": None,
|
||||
"spoiler_text": None,
|
||||
|
||||
Reference in New Issue
Block a user