Files
RelayTV-HA/custom_components/relaytv
mark f06d1a3d71 Prepare repository for HACS
Update integration metadata, sync translations, add HACS and Hassfest validation workflows, and add local brand assets for Home Assistant integration branding.
2026-04-03 17:33:19 -05:00
..
2026-04-03 17:33:19 -05:00
2026-04-03 17:33:19 -05:00
2026-02-23 21:16:21 -06:00
2026-02-23 21:16:21 -06:00
2026-02-20 12:25:32 -06:00
2026-04-03 17:33:19 -05:00
2026-02-23 21:16:21 -06:00
2026-02-23 21:16:21 -06:00
2026-02-23 21:16:21 -06:00

RelayTV Home Assistant Integration

This integration provides a RelayTV media_player entity, RelayTV service actions, and an optional Home Assistant sidebar panel embedding RelayTV UI.

Implemented Behavior

  • media_player platform is enabled (custom_components/relaytv/media_player.py).
  • Polling coordinator refreshes RelayTV GET /status every 3 seconds.
  • Sidebar panel is registered via Home Assistant frontend iframe panel APIs.
  • RelayTV services are registered from services.yaml:
    • smart_url
    • play_now
    • announce
    • play_temporary
    • overlay
    • play_synced
    • snapshot
    • play_with_resume

Setup

  1. Place this folder at:

    /config/custom_components/relaytv/

  2. Restart Home Assistant.

  3. Add integration: Settings -> Devices & Services -> Add Integration -> RelayTV.

  4. Provide RelayTV base URL (example: http://relaytv-host:8787) and a server/display name.

Options

  • panel_enabled
  • panel_target_entry_id
  • sensor_stream_mappings

Notes

  • play_now and announce currently target RelayTV POST /play.
  • Overlay requires text or image_url.
  • Snapshot responses are normalized to absolute URLs for Home Assistant entity attributes.

For fuller documentation and examples, see the repository root README.