I am using the google cloud integration for speech to text to be used for voice assistant.
In order to find the current usage quota, I have to go to the google cloud console and check the usage of the api.
Google cloud provides a free API - “Cloud Quotas API” - to know the amount of quota consumed within the current billing cycle.
Can we add a support of this additional API so that we can add sensors for consumed data and total allowed data? (e.g. in case of STT, it would be total used minutes and total allowed minutes.)
Then we could get a warning from within the home assistant that we are nearing the quota; and can choose to switch to whisper or other STT for the remainder of the month. Or could set up an automation to change the voice assistant for that voice device(s)