From 1d44ca88f9b0197856873d653251d1d8e1d469bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Pantale=C3=A3o=20Gon=C3=A7alves?= Date: Mon, 15 Jul 2024 10:08:00 +0200 Subject: [PATCH] Add json for "update_widgets" push command (#2847) Ref PR: https://github.com/home-assistant/mobile-apps-fcm-push/pull/145 ## Summary ## Screenshots ## Link to pull request in Documentation repository Documentation: home-assistant/companion.home-assistant# ## Any other notes --- .../command_update_widgets.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Sources/PushServer/Tests/SharedPushTests/notification_test_cases.bundle/command_update_widgets.json diff --git a/Sources/PushServer/Tests/SharedPushTests/notification_test_cases.bundle/command_update_widgets.json b/Sources/PushServer/Tests/SharedPushTests/notification_test_cases.bundle/command_update_widgets.json new file mode 100644 index 000000000..292876559 --- /dev/null +++ b/Sources/PushServer/Tests/SharedPushTests/notification_test_cases.bundle/command_update_widgets.json @@ -0,0 +1,23 @@ +{ + "input": { + "title": "extra excluded title", + "message": "update_widgets", + "registration_info": { + "app_id": "io.robbie.HomeAssistant.dev", + "os_version": "10.15", + "app_version": "2024.7" + } + }, + "rate_limit": false, + "headers": { + "apns-push-type": "background" + }, + "payload": { + "aps": { + "contentAvailable": true + }, + "homeassistant": { + "command": "update_widgets" + } + } +}