Comments (6)
Fixed with - https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer/releases/tag/v2.5.9
from home_assistant_skyq_mediaplayer.
EDIT: After change to UI setup
Ok, it worked!
It seems that devices are not duplicated, with UI setup.
This morning i found the same entities, all of them available.
This is the log (3AM):
Logger: custom_components.skyq.media_player
Source: custom_components/skyq/media_player.py:185
Integration: Sky Q (documentation, issues)
First occurred: 3:00:57 (3 occurrences)
Last logged: 3:00:57
W0010M - Device is not available: Sky Q - Mini Taverna
W0010M - Device is not available: Sky Q - Mini Camera
W0010M - Device is not available: Sky Q - Platinum
then (5AM)
Logger: homeassistant.helpers.entity
Source: custom_components/skyq/media_player.py:447
First occurred: 5:02:15 (2 occurrences)
Last logged: 5:02:22
Update for media_player.sky_q_mini_taverna fails
Update for media_player.sky_q_mini_camera fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 292, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 490, in async_device_update
raise exc
File "/config/custom_components/skyq/media_player.py", line 353, in async_update
await self._async_updateState()
File "/config/custom_components/skyq/media_player.py", line 447, in _async_updateState
powerState = await self.hass.async_add_executor_job(self._remote.powerStatus)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/pyskyqremote/skyq_remote.py", line 92, in powerStatus
self._setupRemote()
File "/usr/local/lib/python3.8/site-packages/pyskyqremote/skyq_remote.py", line 486, in _setupRemote
self._channels = self._getChannels()
File "/usr/local/lib/python3.8/site-packages/pyskyqremote/skyq_remote.py", line 466, in _getChannels
return channels["services"]
KeyError: 'services'
followed by
Logger: custom_components.skyq.media_player
Source: custom_components/skyq/media_player.py:586
Integration: Sky Q (documentation, issues)
First occurred: 5:02:21 (3 occurrences)
Last logged: 5:02:34
W0020M - Device is now available: Sky Q - Mini Taverna
W0020M - Device is now available: Sky Q - Mini Camera
W0020M - Device is now available: Sky Q - Platinum
The ‘id codes’ are different (w0010m - w0020M) but there are no ‘duplicates’ and they are available, both in the UI and in the status page.
from home_assistant_skyq_mediaplayer.
Do you reboot your HASS instance overnight at 3am by any chance? The only way you should get W0010M (and then W0020M) is at HASS startup.
from home_assistant_skyq_mediaplayer.
Do you reboot your HASS instance overnight at 3am by any chance? The only way you should get W0010M (and then W0020M) is at HASS startup.
Yes!
I forgot it, but there is an automation for rebooting, exactly at 3AM.
Now it's disabled.
from home_assistant_skyq_mediaplayer.
Yes!
I forgot it, but there is an automation for rebooting, exactly at 3AM.
Now it's disabled.
Well I'm working a solution for the error you were getting in the logs, so it handles unavailable devices better. Can't get a full resolution for YAML based. I expect there is a way, but I can't figure it out. So just take the next update, and those errors should go, or schedule the reboot for earlier (UK sleep times are 2.45-5.45).
from home_assistant_skyq_mediaplayer.
Ok!
Thanks a lot for the help....
For the moment, i'm not interested in resuming the reboot, so i'll leave the situation as it is.
from home_assistant_skyq_mediaplayer.
Related Issues (20)
- Switch name contain "in the room name" - Trying to use it with Alexa HOT 2
- Restored from backup, "failed to connect to host" HOT 2
- MDI replacement HOT 3
- [BUG] Error handling status file HOT 4
- [BUG] media_content_type attribute alway tvshow HOT 2
- [BUG] Schedule date/time shows 0 HOT 8
- Ip Address of sky box HOT 10
- How to replicate screenshot? HOT 1
- [BUG] Error on startup for schedule sensor HOT 3
- Sky Glass and Puck support HOT 5
- Change IP Address HOT 1
- Launch an ap endpoint HOT 6
- Integration not start HOT 3
- Scheduled Recordings DST HOT 7
- [BUG] Media Browser not working - Unknown error HOT 2
- [BUG] Media Browser Issue HOT 4
- [BUG] Storage and EPG sensors unavailable HOT 3
- Stream movies from NAS to Sky Q via home assistant HOT 1
- [BUG] Device is discoverers every day newly. HOT 22
- SkyQ - No devices or entities HOT 20
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 home_assistant_skyq_mediaplayer.