hass-core/homeassistant/components/trend/__init__.py
Jack Boswell 3d3aa824b3
Refactor Trend to use async_setup_platform (#78216)
* Move trend constants to const.py

* Migrate to async_setup_platform

* Fix test

* Reorder attrs
2022-09-28 08:46:13 +02:00

5 lines
137 B
Python

"""A sensor that monitors trends in other components."""
from homeassistant.const import Platform
PLATFORMS = [Platform.BINARY_SENSOR]