Closed bradlsi01 closed 1 year ago
You can enable them via the settings, devices and services dialogue. I'm afraid I made the assumption in the documentation that users would have an understanding of entities and how to enable/disable them. No problem being a newbie 😀
Hi Roger,
Thanks for the quick response, but I'm not THAT much of a newbie :-) I suspect I have messed up in a much more creative way, as I'm not seeing those entities at all
Sorry, not sure how you've done that. I'd delete and re-add it. Note the sensors don't get created for SkyQ mini box (just in case that is what you are adding).
Im seeing the same, the entity stopped working with a recent ha december update, my storage entity said it was no longer providing the i formation. I deleted the storage entity but i cant see how to get it back.
I’ll investigate some more, but have you tried deleting and re-adding? Also checking it isn’t just disabled?
@bradlsi01 , @nightmare1111 I think I know what it might be. Can you confirm if you have diagnostics enabled in your HA config?
If that isn't the case, please run the following against the ip of your box, and report back. Block out any sensitive info such as token, ids and Mac.
HI Roger, Merry Christmas!
I should have said, I got then back by removing the integration entirely and installing an earlier version. That seems to have stabilised something, as the later release have continued to work.
@bradlsi01 , @nightmare1111 I think I know what it might be. Can you confirm if you have diagnostics enabled in your HA config?
I don't think I do, but I will do if you tell me what to turn on :-)
If that isn't the case, please run the following
Run whatnow?
I should have said, I got then back by removing the integration entirely and installing an earlier version. That seems to have stabilised something, as the later release have continued to work.
So are you now on the latest release?
Run whatnow?
192.168.1.122:9006/as/system/information
So are you now on the latest release?
Yes, v2.10.6a2
Strange that going to an older version fixed anything.
192.168.1.122:9006/as/system/information { "ASVersion" : "Q210.000.06.03-AS_27.4.0", "CAType" : "VIDEOGUARD", "DRMActivationStatus" : true, "IPAddress" : "192.168.xxx", "MACAddress" : "xxxxx", "activeStandby" : false, "airplayID" : "Main Sky Q", "btID" : "Sky Q 2TB Box8763", "cable" : false, "deviceID" : "xxxxx", "deviceType" : "GATEWAYSTB", "gateway" : true, "gatewayIPAddress" : "not MR", "hardwareModel" : "ES340d9UKIE", "hardwareName" : "Titan", "hdrCapable" : true, "householdToken" : "xxxx", "localIRDatabase" : true, "manufacturer" : "Sky", "meshEnabled" : true, "modelNumber" : "Q210.000.06.03L (5k4107v)", "networkVersion" : "2.00", "numDTTTuners" : 0, "pipCapable" : true, "purchasebalance" : "0.01", "purchaselimit" : "100.01", "receiverID" : "xxxxx", "serialNumber" : "xxxxx", "systemUptime" : 54016, "uhdCapable" : true, "versionNumber" : "32B206", "viewingCardNumber" : "XXXX", "wakeReason" : "ECO" }
That's what I'd expect to see, it only creates the sensors for GATEWAYSTB, and now creates as diagnostic entities which is why I asked about diagnostics. I'd need to have someone who currently has the problem to try and see what is causing it.
Thanks for your help.
I am still seeing the issue with no storage sensor
`Logger: homeassistant.components.sensor Source: custom_components/skyq/utils.py:120 Integration: Sensor (documentation, issues) First occurred: 5:22:45 PM (3 occurrences) Last logged: 5:47:23 PM
Error while setting up skyq platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/skyq/sensor.py", line 65, in async_setup_entry sensors = [SkyQUsedStorage(hass, remote, config)] File "/config/custom_components/skyq/sensor.py", line 83, in init attributes = read_state( File "/config/custom_components/skyq/utils.py", line 120, in read_state if sensor[Platform.SENSOR] == sensor_type: KeyError: <Platform.SENSOR: 'sensor'> `
@nightmare1111 Can you post the contents of .storage/skyq.restore_state
to help my debugging. Then you can delete/rename that file and you should be sorted.
thanks where would i find .storage/skyq.restore_state
In your configuration directory, it is a hidden folder. Assuming you have file editor addon installed and can’t see it, go to configuration of the addon and remove .storage as an ignored folder.
@nightmare1111 Can you post the contents of
.storage/skyq.restore_state
to help my debugging. Then you can delete/rename that file and you should be sorted.
[ { "host": "192.168.0.17", "attributes": { "quota_max": 675048, "quota_used": 248504 } } ]
@RogerSelwyn thanks for your help that has solved it.
Ok, I’ll do a fix for others updating tomorrow.
I'm happy to accept I'm an HA dumb newbie, but I'm missing the magic beans needed to re-enable the storage sensor. I know it used to work, but since a recent release it has stopped working. How do I turn it back on?
I'm also really confused about how the schedule sensor works and is enabled. The documentation isn't a huge amount of help.
Any pointers would be really appreciated.