mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Deprecate SolarEdge YAML configuration (#48533)
This commit is contained in:
parent
c80f34a754
commit
d4d8f74858
@ -433,6 +433,7 @@ homeassistant/components/smarttub/* @mdz
|
||||
homeassistant/components/smarty/* @z0mbieprocess
|
||||
homeassistant/components/sms/* @ocalvo
|
||||
homeassistant/components/smtp/* @fabaff
|
||||
homeassistant/components/solaredge/* @frenck
|
||||
homeassistant/components/solaredge_local/* @drobtravels @scheric
|
||||
homeassistant/components/solarlog/* @Ernst79
|
||||
homeassistant/components/solax/* @squishykid
|
||||
|
@ -9,15 +9,18 @@ from homeassistant.helpers.typing import HomeAssistantType
|
||||
from .const import CONF_SITE_ID, DEFAULT_NAME, DOMAIN
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
{
|
||||
DOMAIN: vol.Schema(
|
||||
{
|
||||
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
|
||||
vol.Required(CONF_API_KEY): cv.string,
|
||||
vol.Required(CONF_SITE_ID): cv.string,
|
||||
}
|
||||
)
|
||||
},
|
||||
vol.All(
|
||||
cv.deprecated(DOMAIN),
|
||||
{
|
||||
DOMAIN: vol.Schema(
|
||||
{
|
||||
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
|
||||
vol.Required(CONF_API_KEY): cv.string,
|
||||
vol.Required(CONF_SITE_ID): cv.string,
|
||||
}
|
||||
)
|
||||
},
|
||||
),
|
||||
extra=vol.ALLOW_EXTRA,
|
||||
)
|
||||
|
||||
|
@ -4,6 +4,6 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/solaredge",
|
||||
"requirements": ["solaredge==0.0.2", "stringcase==1.2.0"],
|
||||
"config_flow": true,
|
||||
"codeowners": [],
|
||||
"dhcp": [{"hostname":"target","macaddress":"002702*"}]
|
||||
"codeowners": ["@frenck"],
|
||||
"dhcp": [{ "hostname": "target", "macaddress": "002702*" }]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user