Open adyannu opened 1 week ago
@adyannu I had a quick look and came up with this. It will be a binary sensor. I tested on my system that does not have parity check enabled so it shows nothing but if you have it enabled then it will show you info.
@domalab Sounds good. A binary sensor as "Unraid Parity is Valid" with the current state, and other info as Last check, Next check, Avg. Speed, Errors count could be attributes of that sensor.
@adyannu I released a new version with parity check sensor. Let me know if it works for you.
Also replied in a less related topic. But Parity is shown, but not completely right. Status is correct in de attributes, but not shown in the entity status
Hello @domalab, thank you for your fast development... nice job!!
Here I have some feedback:
Screenshots:
@adyannu I made some adjustments to the parity sensor code. Not sure if it will work or not as I don't use parity.
Copy the code files from unraid folder in repo to your custom_components\unraid folder and restart home assistant.
Best to test it on HA Dev instance if you have one.
Also, if you want to, please send me your parity-check.log file situated in \boot\config folder. I don't have enough parity log file data to check if sensor will work or not.
I also looked everywhere and couldn't find a config file on unraid that stores parity check schedule data.
Is your feature request related to a problem? Please describe. The integration could provide information about Parity Check status
Describe the solution you'd like Add sensors with information about Parity as shown on Unraid UI, like: Last check, Next check, Avg. Speed, Current status, Errors count, etc.
Additional context This is the information provided by Unraid UI: