How did you know you should be working with PCA ? If it's log analysis, github search logapi. Complete code which has explanation about PCA.
Home assistant vs openhab ?
Any quick python click tips?