Comments (5)
I'm getting this after installation. The logs are full of
2020-04-27 12:29:58 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.samsung_tv fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
await self.async_update()
File "/config/custom_components/samsungtv_smart/media_player.py", line 546, in async_update
await self._st.async_device_update()
File "/config/custom_components/samsungtv_smart/api/smartthings.py", line 292, in async_device_update
device_volume = int(device_volume) / 100
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
This is with using a smartthings token.
from ha-samsungtv-smart.
I've just commented out the relevant volume lines and manually set volume to work and it all appears to work now.
I don't know why the volume is not set in the data dict but it might be because I have a connected soundbar and have configured the audio out to digital?
from ha-samsungtv-smart.
Never tried with soudbar, I will.
Anyway I will put a check on the code to avoid possible error, also because volume level from smartthings is not accurate and not used at all...
Thx.
from ha-samsungtv-smart.
I close this issue because I do not receive any new feedback.
from ha-samsungtv-smart.
I pulled this update last night. Still need to check if things are working but I didn't get any immediate error logs which is good.
from ha-samsungtv-smart.
Related Issues (20)
- Unable to create WebSocket connection with this Samsung TV device. HOT 2
- Unsupported source HOT 2
- samsung off status HOT 5
- Add power meter from Smartthings Cloud API
- Open Browser Page doesn't work HOT 14
- Feature Request: add a service to turn TV Bluetooth on and connect to a device HOT 3
- Asking for Permission to Connect with Home Assistant on Restart HOT 1
- TV status on/off constantly HOT 3
- Cannot cast anything to TV? HOT 2
- Source is not equal to app_id HOT 2
- On/Off status flipping within 1 second HOT 4
- PictureMode not possible to switch in HDR HOT 3
- Cast issue - CastTubeNotSupported HOT 5
- Art Mode in source list HOT 5
- TV says it's turning on for a 34 seconds every 25 min or so HOT 14
- Missing Ambient Mode Switch
- AttributeError: module 'aiofiles.os' has no attribute 'path' HOT 3
- Using your method of casting video from Youtube doesn't work HOT 2
- Playing media status sensor HOT 3
- Original Integration Faster HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-samsungtv-smart.