Hey everyone, I’m new to the world of smart homes and I’m absolutely thrilled to be here! I recently set up Home Assistant on a Linux PC using VirtualBox, and it’s been an incredible learning experience. HA has automatically discovered most of my devices, which is amazing, but I’m running into a bit of trouble with my Samsung TV integration.
I want to control my TV with voice commands, starting with switching it on and off. Turning it off works perfectly, both manually and through voice commands, but turning it on is proving to be a challenge. I followed some online guides and created a button in HA to change the input to Netflix, which is perfect since my physical remote has a dedicated Netflix button.
Here’s what my configuration looks like:
yaml
show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: remote.send_command
target:
area_id: salon
device_id: 42f4231a4ccda0a8dbe8bab36afe5e70
entity_id: remote.samsung_7_series_55
data:
num_repeats: 1
delay_secs: 0.4
hold_secs: 0
command: KEY_HOME
entity: media_player.tv_samsung_7_series_55
show_state: true
theme: Caule Black Blue
hold_action:
action: none
This setup works for the Netflix button, but when I try to send multiple commands to navigate to Netflix, it doesn’t quite work as expected. I’ve tried adding each key press on a new line, but it still doesn’t function as smoothly as I hoped.
Does anyone have any suggestions on how to improve this? Maybe there’s a better way to structure the commands or a different approach altogether? I’m really excited to get this working and would love to hear from anyone who has tackled a similar project. Thanks in advance for your help!