* Add config flow to trend * Remove device_class from options flow * Add min_samples and import step to config flow * Fix import * Fixing tests and some cleanup * remove unneeded usefixtures * Apply code review suggestions * Re-add YAML support * Re-add reload service * Fix import * Apply code review suggestions * Add test coverage for yaml setup --------- Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Make the minimum of samples configurable & raise issue when min_samples > max_samples * Wording * Remove issue creation and use a custom schema validator * Remove issue from strings.json * Add test for validator and fix error message
async_setup_platform
* Move trend constants to const.py * Migrate to async_setup_platform * Fix test * Reorder attrs