Conversion of SensorEntityDatabaseAggregator sensor to Plugin.