Support specifying Airzone System ID (#69751)
This commit is contained in:
parent
00621617c2
commit
c76b21e24e
12 changed files with 122 additions and 32 deletions
|
@ -27,7 +27,7 @@ from aioairzone.const import (
|
|||
)
|
||||
|
||||
from homeassistant.components.airzone import DOMAIN
|
||||
from homeassistant.const import CONF_HOST, CONF_PORT
|
||||
from homeassistant.const import CONF_HOST, CONF_ID, CONF_PORT
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from tests.common import MockConfigEntry
|
||||
|
@ -35,6 +35,18 @@ from tests.common import MockConfigEntry
|
|||
CONFIG = {
|
||||
CONF_HOST: "192.168.1.100",
|
||||
CONF_PORT: 3000,
|
||||
CONF_ID: 0,
|
||||
}
|
||||
|
||||
CONFIG_NO_ID = {
|
||||
CONF_HOST: CONFIG[CONF_HOST],
|
||||
CONF_PORT: CONFIG[CONF_PORT],
|
||||
}
|
||||
|
||||
CONFIG_ID1 = {
|
||||
CONF_HOST: CONFIG[CONF_HOST],
|
||||
CONF_PORT: CONFIG[CONF_PORT],
|
||||
CONF_ID: 1,
|
||||
}
|
||||
|
||||
HVAC_MOCK = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue