usernein / tv-card

📺 TV Remote Card (with touchpad and haptic feedback)
Apache License 2.0
109 stars 28 forks source link

Add support Sony Bravia TV #22

Open Zixties60 opened 2 years ago

Zixties60 commented 2 years ago

Just got new Sony Bravia TV and modify this card to work with it. I have to modify some code to not just send key but instead call the specific action, like calling remote service.

I'm using this modify with my Bravia TV daily for almost a month now and it works fine.

This PR also includes

HanukkahJamboree commented 2 years ago

Any update on getting this merged into the project? I've got a sony bravia myself and would love to have the same set up as with my samsung TV Card HA layout

RacingHell commented 2 years ago

Just got new Sony Bravia TV and modify this card to work with it. I have to modify some code to not just send key but instead call the specific action, like calling remote service.

I'm using this modify with my Bravia TV daily for almost a month now and it works fine.

Works perfectly. Thank you a lot. 👍

RacingHell commented 2 years ago

Any update on getting this merged into the project? I've got a sony bravia myself and would love to have the same set up as with my samsung TV Card HA layout

Temporarily you could add the forked Repo from Zixties60 into HACS like I did: https://github.com/Zixties60/tv-card

RacingHell commented 2 years ago

Minor bug: Buttons won’t work after setting up custom icons on a Bravia setup. Examples:

info: icon: mdi:television-guide channel_up: icon: mdi:chevron-up-box-outline channel_down: icon: mdi:chevron-down-box-outline

magyarl89 commented 1 year ago

I added this forked repo, and it works flawless! Thank you very much! I strongly suggest to merge this fork.

This is my version for my old Sony Bravia:

type: custom:tv-card
entity: media_player.sony_kdl_43w755c
platform: braviatv
rows:
  power_row:
    - camera
    - street_camera
    - power
  apps_row:
    - youtube
    - spotify
    - kodi
  volume_row: buttons
  navigation_row: touchpad
  media_control_row:
    - return
    - play
    - stop
    - home
custom_keys:
  stop:
    icon: mdi:stop
    service: remote.send_command
    service_data:
      command: Stop
      entity_id: remote.sony_kdl_43w755c
  camera:
    icon: mdi:webcam
    service: script.baby_camera
  street_camera:
    icon: mdi:doorbell-video
    service: script.street_camera
  kodi:
    icon: mdi:kodi
    service: script.kodi

image