Support specifying Airzone System ID (#69751)

This commit is contained in:
Álvaro Fernández Rojas 2022-04-13 19:12:21 +02:00 committed by GitHub
parent 00621617c2
commit c76b21e24e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 122 additions and 32 deletions

View file

@ -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 = {