* Add Compensation Integration Adds the Compensation Integration * Add Requirements add missing requirements to compensation integration * Fix for tests Fix files after tests * Fix isort ran isort * Handle ADR-0007 Change the configuration to deal with ADR-0007 * fix flake8 Fix flake8 * Added Error Trapping Catch errors. Raise Rank Warnings but continue. Fixed bad imports * fix flake8 & pylint * fix isort.... again * fix tests & comments fix tests and comments * fix flake8 * remove discovery message * Fixed Review changes * Fixed review requests. * Added test to test get more coverage. * Roll back numpy requirement Roll back numpy requirement to match other integrations. * Fix flake8 * Fix requested changes Removed some necessary comments. Changed a test case to be more readable. * Fix doc strings and continue * Fixed a few test case doc strings * Removed a continue/else * Remove periods from logger Removed periods from _LOGGER errors. * Fixes changed name to unqiue_id. implemented suggested changes. * Add name and fix unique_id * removed conf name and auto construct it
16 lines
343 B
Python
16 lines
343 B
Python
"""Compensation constants."""
|
|
DOMAIN = "compensation"
|
|
|
|
SENSOR = "compensation"
|
|
|
|
CONF_COMPENSATION = "compensation"
|
|
CONF_DATAPOINTS = "data_points"
|
|
CONF_DEGREE = "degree"
|
|
CONF_PRECISION = "precision"
|
|
CONF_POLYNOMIAL = "polynomial"
|
|
|
|
DATA_COMPENSATION = "compensation_data"
|
|
|
|
DEFAULT_DEGREE = 1
|
|
DEFAULT_NAME = "Compensation"
|
|
DEFAULT_PRECISION = 2
|