include a test sensor

This commit is contained in:
Yordan Suarez
2022-07-24 03:21:57 -04:00
parent 69ac6527f6
commit a1dbe51f10
3 changed files with 84 additions and 38 deletions

View File

@@ -1,4 +1,8 @@
"""Constants for fpl."""
#
DEBUG = True
# Base component constants
NAME = "FPL Integration"
DOMAIN = "fpl"
@@ -25,15 +29,6 @@ PLATFORMS = [SENSOR]
# Device classes
BINARY_SENSOR_DEVICE_CLASS = "connectivity"
# Configuration
CONF_BINARY_SENSOR = "binary_sensor"
CONF_SENSOR = "sensor"
CONF_SWITCH = "switch"
CONF_ENABLED = "enabled"
CONF_NAME = "name"
CONF_USERNAME = "username"
CONF_PASSWORD = "password"
# Defaults
DEFAULT_NAME = DOMAIN