Add eq3btsmart integration (#109291)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
4adbf7c730
commit
282cbfc048
23 changed files with 965 additions and 1 deletions
15
homeassistant/components/eq3btsmart/schemas.py
Normal file
15
homeassistant/components/eq3btsmart/schemas.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
"""Voluptuous schemas for eq3btsmart."""
|
||||
|
||||
from eq3btsmart.const import EQ3BT_MAX_TEMP, EQ3BT_MIN_TEMP
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import CONF_MAC
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
|
||||
SCHEMA_TEMPERATURE = vol.Range(min=EQ3BT_MIN_TEMP, max=EQ3BT_MAX_TEMP)
|
||||
SCHEMA_DEVICE = vol.Schema({vol.Required(CONF_MAC): cv.string})
|
||||
SCHEMA_MAC = vol.Schema(
|
||||
{
|
||||
vol.Required(CONF_MAC): str,
|
||||
}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue