question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid config for [media_player.samsungtv_custom]: [token]

See original GitHub issue

Hi - Thank you for all your effort!

I recently updated to 3.0.5. I updated through HACS and restarted HA. I get the following error when adding the “token” parameter to my config file. Any idea what is going on here?

Invalid config for [media_player.samsungtv_custom]: [token] is an invalid option for [media_player.samsungtv_custom]. Check: media_player.samsungtv_custom->token. (See ?, line ?).

Not sure how to get the format to show right on this. I have a dash before platform and its two space in from media_player, and everything else is tw space in from “- platform: samsungtv_custom”.

media_player: platform: samsungtv_custom host: 192.168.1.72 port: 8001 mac: tc:d1:3:95:6d:11 sourcelist: ‘{“RaspberryPi”: “KEY_HDMI2”, “Chromecast”: “KEY_HDMI3”}’ protocol: ctl_beta token: 9116a675c22276a3f0f2222rtae03db9 id: 57661078-1111-02w34-ae75-664e04943af3

I have a 2015 J-series TV. Im running HassOS 4.10 and version 0.111.4 on Windows in VM.

If it helps:

{ "id": "uuid:id", "name": "[TV] UN55JS8500", "version": "2.0.25", "device": { "type": "Samsung SmartTV", "duid": "uuid:id", "model": "15_HAWKM_UHD", "modelName": "UN55JS8000", "description": "Samsung DTV RCR", "networkType": "wired", "ssid": "", "ip": "192.168.1.72", "firmwareVersion": "Unknown", "name": "[TV] UN55JS8500", "id": "uuid:id", "udn": "uuid:id", "resolution": "1920x1080", "countryCode": "US", "msfVersion": "2.0.25", "smartHubAgreement": "true", "wifiMac": "mac", "developerMode": "0", "developerIP": "" }, "type": "Samsung SmartTV", "uri": "http://192.168.1.72:8001/api/v2/" }

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

4reactions
ralpho1337commented, Aug 5, 2020

Hi,

Changing the lines 64 and 65 in media_player.py to: CONF_ID = "id" CONF_TOKEN = "token" solves to problem.

Best Ralph

0reactions
new-kirtecommented, Apr 24, 2021

The issue is still present, but the line numbers changed to 65 and 66: Changing the lines 65 and 66 in media_player.py to: CONF_ID = “id” CONF_TOKEN = “token” solves to problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Samsung TV 2014 H Series not working - Configuration
Invalid config for [media_player.samsungtv_custom]: [token] is an invalid option for [media_player.samsung_custom].
Read more >
MediaPlayer - Android Developers
On this page; Developer Guides; State Diagram; Valid and invalid states ... Calling this method in an invalid state transfers the object to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found