A compact size custom mod webos player for Home Assistant Lovelace
- navigator pad
- keynumber pad
- sources selector
- favorite channels selector
- channel up/down
- play/pause
- forward/rewind
- volume slider
- volume value
- volume mute button
- home, back, exit buttons
- settings, channels list, info buttons
- color buttons
- channel logo background
- source image background
- power on/off
- channel/source name label
- input text to write, notify or web search
At least one webos tv integrated in Home Assistant with customized sources
webostv:
- name: my_tv
host: !secret my_tv_ip
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: !secret my_tv_mac
customize:
sources:
- Browser Web
- Live TV
- HDMI 1
- ...
-
Download tv_logos folder into ' www/ ' directory, add here yours tv logos with .png extension
-
Add the webos player custom template wosp-template.yaml to button_card_templates:
-
Put a package wosp_package.yaml into the packages folder, and rename it for one specific tv device.
E.g.: wosp_package_my_tv.yaml or wosp_package_bedroom_tv.yaml.Into the renamed package:
- replace all occurences of WOSP_ENTITY with the webos media_player object_id.
E.g.: media_player.my_tv --> replace WOSP_ENTITY with my_tv - edit your favorite channels after 'favorites' field
E.g.:options: > {{ [ 'favorites' , 'channel 1' , 'channel 2' , 'channel 3' ] }}
- check tv channel source name
in some webos versions the name of tv channels source is different from 'Live TV', because depends on the system language.
In this case need modify the name on the package, replacing "Live TV" with correct name of tv channels source
E.g: for italian language the correct source name is "Canali TV". So
Fromtovariables: source: "Live TV"
variables: source: "Canali TV"
- replace all occurences of WOSP_ENTITY with the webos media_player object_id.
- cards:
- type: 'custom:button-card'
entity: media_player.my_tv
template: wosp