1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-06 07:26:58 +01:00

Allow multiline post in Mastodon (#157647)

This commit is contained in:
Andrew Jackson
2025-12-01 17:35:59 +00:00
committed by GitHub
parent e8acced335
commit 39f76787ab
2 changed files with 6 additions and 2 deletions
@@ -9,6 +9,7 @@ post:
required: true
selector:
text:
multiline: true
visibility:
selector:
select:
+5 -2
View File
@@ -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,