RogerSelwyn / Home_Assistant_SkyQ_MediaPlayer

Home Assistant SkyQ Media player component
MIT License
101 stars 17 forks source link

[BUG] Storage and EPG sensors unavailable #149

Closed luketainton closed 1 year ago

luketainton commented 1 year ago

Describe the bug
When adding a Sky Q box to Home Assistant, the storage and EPG sensors are unavailable.

To Reproduce

  1. Install add-on
  2. Add Sky Q box
  3. See problem

Expected behavior
I should be able to see the used storage and EPG info.

Screenshots

Screenshot 2023-06-01 at 20 52 52 Screenshot 2023-06-01 at 20 53 01

Component versions

  1. What version of SkyQ component are you using? v2.10.14
  2. What was the last version where the problem was not shown? Can't remember

Your configuration
How have you setup your devices, by UI or YAML? UI

Your configuration from the options dialogue
Assuming you have the diagnostics enabled in your install, you can download your configuration from the Device dialogue by clicking on the three dots at bottom right of the Device Info card. config_entry-skyq-3103f505f973f358c0b03744257e536a.json.txt

Output of HA logs

2023-06-01 20:50:03.343 INFO (MainThread) [homeassistant.setup] Setting up skyq
2023-06-01 20:50:03.343 INFO (MainThread) [homeassistant.setup] Setup of domain skyq took 0.0 seconds
2023-06-01 20:50:03.592 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.skyq
2023-06-01 20:50:03.594 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.skyq
2023-06-01 20:50:03.603 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.skyq entity: sensor.sky_q_living_room_used_storage
2023-06-01 20:50:03.604 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.skyq entity: sensor.sky_q_living_room_schedule
2023-06-01 20:50:03.614 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new media_player.skyq entity: media_player.sky_q_living_room
2023-06-01 20:50:13.740 INFO (MainThread) [custom_components.skyq.classes.power] I0020 - Device is now available after startup: Sky Q Living Room
2023-06-01 20:50:24.312 ERROR (MainThread) [frontend.js.latest.202305033] https://ha.tainton.uk/config/devices/device/1544564d386438d68be21fd41044b25c:0:0 ResizeObserver loop completed with undelivered notifications.
2023-06-01 20:55:30.281 ERROR (MainThread) [frontend.js.latest.202305033] https://ha.tainton.uk/config/devices/device/1544564d386438d68be21fd41044b25c:0:0 ResizeObserver loop completed with undelivered notifications.

Additional context
Not sure if useful, but the SkyQ box and the HA server are on different subnets.

RogerSelwyn commented 1 year ago

Have you tried removing the integration, cleaning up all entities, and then re-adding the integration? You will probably need to enable those entities since they may be disabled for a new install.

RogerSelwyn commented 1 year ago

Sorry, just noticed you get this when adding the integration. By default those two sensors are disabled, have you enabled them?

luketainton commented 1 year ago

Wow can't believe I missed that 🤦‍♂️ thanks @RogerSelwyn!