Improve HACS release display assets

This commit is contained in:
2026-04-22 20:36:22 -05:00
parent dcbcf44aa6
commit 32c4dcb712
5 changed files with 36 additions and 2 deletions
+1 -1
View File
@@ -22,5 +22,5 @@ jobs:
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
body_path: README.md
body_path: RELEASE_NOTES.md
files: relaytv.zip
+34
View File
@@ -0,0 +1,34 @@
# RelayTV HA 0.3.11
## Companion App Share Automation
This release highlights the Home Assistant Companion App share automation flow. You can share URLs or text from the Home Assistant mobile app and send them directly to RelayTV with `relaytv.smart_url`.
```yaml
alias: RelayTV - Smart play from share
description: Opens shared URLs/text in RelayTV via relaytv.smart_url
triggers:
- event_type: mobile_app.share
trigger: event
conditions:
- condition: template
value_template: "{{ shared | trim | length > 0 }}"
actions:
- data:
url: "{{ shared | trim }}"
action: relaytv.smart_url
mode: single
variables:
shared: |-
{{ trigger.event.data.url
if trigger.event.data.url is defined else
(trigger.event.data.text if trigger.event.data.text is defined else '') }}
```
## HACS Display Assets
- Keeps integration brand assets under `custom_components/relaytv/brand/`.
- Adds root-level `icon.png` and `logo.png` fallbacks for repository/HACS renderers that look at the repository root.
- Uses the README screenshot hosted from GitHub raw content for reliable rendering in HACS.
Note: HACS' integration list icon is ultimately loaded from `brands.home-assistant.io` for integration domains. If the RelayTV icon still appears generic in the list, the remaining step is submitting `relaytv` to the Home Assistant Brands repository.
+1 -1
View File
@@ -12,5 +12,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/mcgeezy/relaytv-ha/issues",
"requirements": [],
"version": "0.3.10"
"version": "0.3.11"
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB