I’m posting this custom sensor in order to get some feedback (improvements and validation)
The basic idea is that a sensor retrieves data from an SQL query. My current use case is monitoring HA database size, but I see various other use cases. Please share your ideas