diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c55774b..aa48104 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md new file mode 100644 index 0000000..5a17cc3 --- /dev/null +++ b/RELEASE_NOTES.md @@ -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. diff --git a/custom_components/relaytv/manifest.json b/custom_components/relaytv/manifest.json index 3a564e4..5088af8 100644 --- a/custom_components/relaytv/manifest.json +++ b/custom_components/relaytv/manifest.json @@ -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" } diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..c385e96 Binary files /dev/null and b/icon.png differ diff --git a/logo.png b/logo.png new file mode 100644 index 0000000..79b8830 Binary files /dev/null and b/logo.png differ