So if you set name: Living Room TV , then the entity id will (most probably) be media_player.living_room_tv (unless this name was already taken, in which case it might be media_player.living_room_tv_2)
What you’re asking is a HA question though, not a component question.
although it might be a HA uestion, it could be a good iead to put in you example… I am a very frequent user and there is so many places in HA in which you can do stuff. I do not even know it… and I think with me a lot of people do not…
This is where I would like to see it:
i will now continue to test due to the fact I am now able to see the device… next is the control of my tv…
@sender For future reference, if you go to “Developer Tools” (left side menu in HA) and then select “States” (top menu), you can then write “media_player” in the “Entity” input field, and it will show all your available media player entity IDs.
@jaruba, thank you. knew it. but if there is no given name a default name will be there and I can not know if it was created by “your” config/plugin. now I do due to my own name reference.
Yes, got it orking on Samsung “the frame”. Next and previous is not supported according to the TV and on and off do work but “off” sets the TV in “frame” mode.
Andy tips on how to totally shut off the TV there?
@sender I have no idea how Samsung Frame works… but the TV is turned off by sending KEY_POWER which turns off any TV I’ve met until now. So it sounds like ur TV is intentionally going to Frame mode with that key, maybe you can change this behavior in the TV’s settings?
Don’t now and i think it is not possible. When the TV is on and i pres the off button it goes to “frame” mode. Pressing th power key some “longer” turn the TV off really.
@sender I believe I saw some work done on allowing to long press keys in the WS module, I’ll look into it but can’t promise anything in regards of when this will be available. And even if I do add it, I can’t make this behaviour the default for turning off TVs, but maybe I’ll make it a setting, we’ll see.
@sender What made you think the previous and next buttons have anything to do with channels? They are used for fast forward and rewind of the currently playing media.
Also, if you enable the SmartThings API in your config, you will get much clearer states then “TV/HDMI”, such as what HDMI source is currently active, the channel names for live tv, etc.
Smart thin API relies on internet services, I prefer not to use those.
Whether you use the SmartThings API or not, all data from your TV goes to their cloud anyway, if you enable it in the component though, you at least get to profit from this.
Any chance I can get the actual channel buttons in that card?
I may add the feature of changing channels with those buttons, but I can tell you now that this feature will ONLY work if you enable SmartThings, because changing channels should only be done when live tv is on, and without the SmartThings API it’s impossible to know when live tv is on.
@jaruba I have just added the smart things API component to my config.yaml, the current channel is a great new feature!
Is there any benefit to sending keys via the API as opposed the the normal way?
I have tried to send channel up but i assume I’m doing something wrong as the TV shows an error message “UP not found. Please try again”
Copy of my script below
'1584629993682':
alias: TV Channel Up comp
sequence:
- data:
entity_id: media_player.samsung_tv_remote_2
media_content_id: ST_CHUP
media_content_type: send_key
service: media_player.play_media