So i made remake of someone’s from there remote, ad made it kind of easier.
My tv is samsung (without android) with amazon and netflix and unused rakutten:
You need simply script (scripts.yaml) and learned tv keys
#script.yaml
tv_command:
alias: tv_command
sequence:
- service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
mode: single
icon: mdi:code-tags-check
Codes (maybe someone will use that)
{
"version": 1,
"minor_version": 1,
"key": "broadlink_remote_a043b0725975_codes",
"data": {
"television": {
"turn on": "JgDSAJKVEjcSOBE4EhMSExEUERQRExI4ETgSOBEUERQRFBETEhMRFBE4EjgRFBEUETgSOBE4EjgRFBQQEjgRORETEhMSExEABgOTlRI4ETgSOBEUERQRExITERQROBI4ETkRExITEhMRFBEUERMSOBE4EhMSExE5ETgSOBE4EhMRFBE4EjgRFBEUERMSAAYDk5USNxI4ETgSExITERQRFBETEjgRORE4ERQRFBEUERMSExEUETkRExITERQRFBETEhMSOBEUETgSOBQ1FDYROBI4EQANBQ==",
"turn off": "JgDSAJKVEjcSOBE4EhMRFBEUERQRExI4ETkROBEUERQRFBETEhMSExE5ETgRFBEUETgSOBE4EjgRFBEUETgSOBEUERMSExIABgKUlBM3ETkROBITERQRFBEUERMSOBE4EjgRFBEUERMSExITERQROBI4ExIRFBM2EjgROBM3ERQTEhE4EzcTEhETExITAAYBlJUSNxI4ETgSExITERQRFBETEjgRORE4ERQRFBEUERMSExEUETgSExITERQRFBETEhMSOBEUETgSOBE4EjgRORE4EgANBQ==",
"source": "JgBQAJGVEjgROBI4ERQRFBETEhMRFBE4FDYTNxMRFBETEhMSExITNhMSExITEhMRFBETEhMSExEUNhM3EzYTNxM2FDYTNhQABjwLHgoNChYKAA0F",
"1": "JgBQAJKVEjcSOBE4EhMSExEUERQRExI4ETkROBEUERQRFBETEhMRFBEUETgSExEUERQRExITETkROBITETkROBI4ETgSOBEABj4KIAgPCBgIAA0F",
"2": "JgBQAJGVFDYROBI4ERQRFBETEhMSExE5ETgSOBEUERMSExITERQROBITEjgRFBETEhMRFBEUERQROBEUETgSOBE5ETgSOBEABj4KHwwLCRgIAA0F",
"3": "JgBQAJKUEzcRORQ1EhMRFBEUERMSExI4ETgSOBEUERQRExITFBERFBE4EjgRFBETEhMSExEUETgSExITETkTNhE5FDUSOBEABj4KIAgPCBgIAA0F",
"4": "JgBQAJKVEjcSOBE5ERMSExITERQRFBE4ETkROBITERQRFBEUERMSExEUERQROBITERQRFBEUETgRORE4EhMRORE4EjgROBIABj4JIAsMCxUJAA0F",
"5": "JgBQAJKUFDYTNxM2ExITEhMSExEUERM3EzYTNxMSExEUERMSExITNhQRExITNhQRFBETEhMSExIaLxQ2ExEUNhM3EzYTNxMABjwJIAsMCRcJAA0F",
"6": "JgBQAJGVEjgROBI4ERQRExITERQRFBE4EjgROBITEhMRFBEUERMSExI4ERQROBITERQRFBETEjgRFBE4EhMRORE4EjgROREABj4LHgkOCRcJAA0F",
"7": "JgBQAJSVEjcSOBE5ERMSExITERQRFBE4EjgROBITERQRFBEUERMSExEUETgSOBEUERQRExITEjgROBITERQRORE4ETkROBIABj4JIAkOCBgJAA0F",
"8": "JgBQAJKUEzcRORE4ERQRFBEUERMSExE5ETgSOBEUERMSExITERQROBITEjgROBITERQRFBETEhMSOBEUERMSOBE5ETgSOBEABj4KHwkOCRcJAA0F",
"9": "JgBQAJGVEjgROBI4ERQRExITEhMRFBE4EjgROBITEhMRFBEUERMSExI4ETgSOBEUERQRExITEjgRFBETEhMRORE4EjgROBIABj4JIAsMCBgIAA0F",
"ttx": "JgBQAJGVFDYROBI4ERQRFBETERQRFBE4EzcRORETEhMRFBEUERMSExITETkROBITETkRExQREjgROBITEhMRORETEjgROREABj4JIAkOCRcJAA0F",
"0": "JgBQAJGVEjgROBE5ERMSExITERQRFBE4EjgROBITFBERFBQRERMSOBEUERMSExI4ERQRExITEhMRORE4ETkRFBE4ETkROBIABj4JIAsMCBgIAA0F",
"prech": "JgBQAJGVEjgROBI4ERQRFBETEhMRFBE4EjgRORETEhMSExEUERQROBE5ERQRFBE4ERQRExITEhMRFBE4EjgRFBE4EjgROBIABj4LHgkOCBgIAA0F",
"vol_up": "JgBQAJKVEjcSOBE4EhMRFBEUERQRExI4ETgSOBEUERQRExITEhMRORE4EjgRFBETEhMRFBEUERQRExITETkROBI4ETgSOBEABj8KHwsMChYKAA0F",
"vol_down": "JgBQAJKVEjgROBI4ERQRFBETEhMRFBE4EjgRORETEhMRFBEUERQROBE5ERMSOBEUERQRExITERQRFBE4EhMRORE4EjgROBIABj4LHggPCBgIAA0F",
"mute": "JgBGAJOTEzcROBI4ERQTEhETExISExM3EjcTNxMSEhITEhMSExITNhM3EzYTNxMSExITERMSExITEhMSExETNxM2EzcTNxMADQU=",
"chlist": "JgBQAJKVEjcSOBE5ERMSExITFBERFBE4ETkROBITERQRFBETEhMSOBE4EhMSOBEUETgSOBEUERMSExE5ERMSOBEUERQROBIABj4JIAgPCBgIAA0F",
"ch_up": "JgBQAJOTEzcTNhM3ExITERQRFBETEhM2FDYTNhQRExITEhMSExEUERM3ExITERQ2ExITEhMRFDYTEhM2FDYTEhM2EzcTNhQABjwLHggPCBgIAA0F",
"ch_down": "JgBQAJKVETgRORE4EhMRFBEUERMTEhE5ETgSOBEUERQRExITERQRFBETEhMSFQ85ERMSExITETkROBI4ETgSExE5ETgSOBEABj8JHwkOCRcJAA0F",
"netflix": "JgBQAJKVEjcSOBE4EhMSExEUERQRExI4ETkROBEUERQRFBETEhMRORE4EhMRFBE4EjgRORE4EhMRFBE4EjgRFBEUERMSExEABj8IIQgPCBgIAA0F",
"home": "JgBQAJGVEjgROBI4ERQRFBETEhMRFBE5ETgRORETEhMSExEUERQROBIXDRQROBI4ETkROBEUERQROBI4ERQRFBETEhMROREABj4LHgkOCRcJAA0F",
"prime": "JgBQAJOTFDUUNhM3ExEUERMSExITEhM2EzcTNhYPExITEhMRFBETEhMSEzYUERM3EzYUNhM2FDYTNxMRFDYTEhMSExETEhMABjwKIAoMCRgIAA0F",
"rakuten": "JgBQAJKTEzgRORE4ERQRFBEUERMSExI4ETgSOBEUERMSExITERQRFBETEjgROBI4ETkRExI4ETkROBEUERQRExITEjgRFBEABj4JIAsMCBgJAA0F",
"up": "JgBQAJGVEjgROBM3ExITERMSERQTEhE4EzcTNhITEhMRFBEUERMSExEUExITEhMRFDYTNhQRFDYTNhQ2EzcTNhMSExITNhQABjwLHgkOCBgJAA0F",
"guide": "JgBQAJKUEjgRORE4EhMRFBEUERMSExE5ETgSOBEUExISEhMSExITNhM3EzYUNhMSExITNhMSExITEhMRFBETNxM2FBETNxMABjwJIAkOCRcJAA0F",
"left": "JgBQAJKVFDUSOBE4EhMSExEUERQRExI4FDUSOBQRERQRExITEhMRORETEjgRFBEUEzYRORETEhMSOBEUETgUNhETEhMSOBEABj8JHwkOCRcJAA0F",
"ok": "JgBQAJGVEjgROBI4ERQRExITEhMRFBE4EjgRORETEhMSExEUERQRExITEhMRORETEjgRORETEjgROBI4ERQROBITEhMROREABj4JIAkOCRcJAA0F",
"right": "JgBQAJKUFDYRORQ1EhMSExEUERMSExI4ETgSOBEUERQRExITERQRFBE4EhMRFBITETgSOBEUETgSExE5ETgSOBEUERMSOBEABj8JIAgPCBgIAA0F",
"return": "JgBQAJGVEjgROBI4ERQRFBETEhMRFBE4EjgRORETEhMSExEUERQRExITEhMRORE4ERQROBITEjgROBI4ERQRFBE4ERQROREABj4JIAkOCBgIAA0F",
"down": "JgBQAJGVEjgROBI4ERQRFBETEhMRFBE4EjgRORETFRASExEUERQROBEUERQRExITEjgROBITERQRORE4ETkROBITERQROBIABj4JIAgPCBgIAA0F",
"exist": "JgBQAJOTFDYTNhQ2ExITEhMRFBETEhM2FDYTNxMRFBETEhMSExITNhMSEzYUNhMSEzYUERMSExITNhQRExITNxMREzcTNhQABjwKHw0KChYKAA0F",
"settings": "JgBQAJGVEjgROBI4ERQRExITEhMRFBE4EjgRORETEhMRFBEUERQRExI4ERQROBI4ERQRExITEjgRFBE4EhMRFBE4EjgROREABj4KHwkOCRcJAA0F",
"info": "JgBQAJGVEjgROBI4ERQRFBETEhMRFBE5ETgRORETEhMSExEUERQROBI4ETgSOBE5ERMSExEUERQRFBETEhMRFBE4EjgROREABj4LHgkOCRcJAA0F",
"sub": "JgBQAJKVEjcSOBE5ERMSExEUERQRFBE4ETkROBITERQRFBETEhMROREUETgRFBEUETgTEhMSExITNhMSEzcTNhMSEzcTNhMABjwKIAgOCRgIAA0F",
"stop": "JgBQAJKUEzcRORE4ERQRFBEUERMSExE5ETgSOBEUERMSExITERQRFBE4EjgRFBETEhMUNhEUETgSExEUETgSOBE4EhMSOBEABj8JIAgOCRgIAA0F",
"rewind": "JgBQAJKVEjcSOBE4EhMSExEUERQRExI4ETkROBEUERQRFBETEhMRORETEjgRFBEUERMSOBEUERQROBITETkROBI4ERQROBIABj4JIAkOCRcJAA0F",
"play": "JgBQAJGVEjgROBE5ERMSExITERQRFBE4EjgROBITEhMRFBEUERMSOBE5ETgRFBEUERQROBEUERQRExITEjgROBI4ERQROBIABj8JHwkPCBcJAA0F",
"pause": "JgBQAJGVEjgROBI4ExIRFBMRExITEhM2FDYTNxMRFBETEhMSExITERQ2ExITNhMSExITNhQREzcTEhM2ExITNhQ2ExIROBIABj4JIAkOCRcJAA0F",
"wind": "JgBQAJKUEzcRORE4EhMRFBEUERMSExI4ETgSOBEUERQRExITERQRFBETEhMSOBEUERMSOBEUETgSOBE5ERMSOBE4EhMSOBEABj8JIAgOCRgIAA0F"
}
}
}
and finally lovelace card:
- entities:
- entity: script.tv_command
icon: mdi:power
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: turn on
device: television
- entity: script.tv_command
icon: mdi:aws
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: prime
device: television
- entity: script.tv_command
icon: mdi:netflix
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: netflix
device: television
- entity: script.tv_command
icon: mdi:open-source-initiative
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: source
device: television
- entity: script.tv_command
icon: mdi:nintendo-switch
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: netflix
device: television
- entity: script.tv_command
icon: mdi:volume-off
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: mute
device: television
- entity: script.tv_command
icon: mdi:home
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: home
device: television
- entity: script.tv_command
icon: mdi:chevron-up-box-outline
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: up
device: television
- entity: script.tv_command
icon: mdi:play-pause
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: play
device: television
- entity: script.tv_command
icon: mdi:stop
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: stop
device: television
- entity: script.tv_command
icon: mdi:volume-plus
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: vol_up
device: television
- entity: script.tv_command
icon: mdi:chevron-left-box-outline
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: left
device: television
- entity: script.tv_command
icon: mdi:checkbox-blank-circle-outline
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: ok
device: television
- entity: script.tv_command
icon: mdi:chevron-right-box-outline
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: right
device: television
- entity: script.tv_command
icon: mdi:rewind
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: rewind
device: television
- entity: script.tv_command
icon: mdi:volume-minus
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: vol_down
device: television
- entity: script.tv_command
icon: mdi:undo
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: return
device: television
- entity: script.tv_command
icon: mdi:chevron-down-box-outline
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: down
device: television
- entity: script.tv_command
icon: mdi:closed-caption
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: sub
device: television
- entity: script.tv_command
icon: mdi:fast-forward
name: ' '
tap_action:
action: call-service
service: remote.send_command
target:
device_id: a18d544471ea9edf3eb9136b31d353f5
service_data:
command: wind
device: television
show_state: false
title: Samsung TV
type: glance
state_color: false
Also its my remote: