Kane610 / aiounifi

Asynchronous library to communicate with Unifi Controller
MIT License
57 stars 49 forks source link

Add device storage information #662

Closed kimdv closed 1 month ago

kimdv commented 1 month ago

This can be used to add sensors for storage information. And also add automation for storage warnings etc

Kane610 commented 1 month ago

Anything else you're planning to do before I do a new release?

kimdv commented 1 month ago

Yes, maybe I will add

"temperatures": [
                {
                    "name": "CPU",
                    "type": "cpu",
                    "value": 66.0
                },
                {
                    "name": "Local",
                    "type": "board",
                    "value": 48.75
                },
                {
                    "name": "PHY",
                    "type": "board",
                    "value": 50.25
                }
            ],

That is taken from my Dream Machine SE

Kane610 commented 1 month ago

Yes, maybe I will add

"temperatures": [
                {
                    "name": "CPU",
                    "type": "cpu",
                    "value": 66.0
                },
                {
                    "name": "Local",
                    "type": "board",
                    "value": 48.75
                },
                {
                    "name": "PHY",
                    "type": "board",
                    "value": 50.25
                }
            ],

That is taken from my Dream Machine SE

Alright. I'll wait for your next PR before publishing next release