Move all used modbus constants to Stiebel (#98044)

pull/98047/head
Joost Lekkerkerker 2023-08-08 17:38:38 +02:00 committed by GitHub
parent 500d9a4da0
commit ce1077934a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -5,11 +5,6 @@ import logging
from pystiebeleltron import pystiebeleltron
import voluptuous as vol
from homeassistant.components.modbus import (
CONF_HUB,
DEFAULT_HUB,
DOMAIN as MODBUS_DOMAIN,
)
from homeassistant.const import CONF_NAME, DEVICE_DEFAULT_NAME, Platform
from homeassistant.core import HomeAssistant
from homeassistant.helpers import discovery
@ -17,6 +12,9 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.typing import ConfigType
from homeassistant.util import Throttle
CONF_HUB = "hub"
DEFAULT_HUB = "modbus_hub"
MODBUS_DOMAIN = "modbus"
DOMAIN = "stiebel_eltron"
CONFIG_SCHEMA = vol.Schema(