mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +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/smarty/* @z0mbieprocess
|
||||||
homeassistant/components/sms/* @ocalvo
|
homeassistant/components/sms/* @ocalvo
|
||||||
homeassistant/components/smtp/* @fabaff
|
homeassistant/components/smtp/* @fabaff
|
||||||
|
homeassistant/components/solaredge/* @frenck
|
||||||
homeassistant/components/solaredge_local/* @drobtravels @scheric
|
homeassistant/components/solaredge_local/* @drobtravels @scheric
|
||||||
homeassistant/components/solarlog/* @Ernst79
|
homeassistant/components/solarlog/* @Ernst79
|
||||||
homeassistant/components/solax/* @squishykid
|
homeassistant/components/solax/* @squishykid
|
||||||
|
@ -9,6 +9,8 @@ from homeassistant.helpers.typing import HomeAssistantType
|
|||||||
from .const import CONF_SITE_ID, DEFAULT_NAME, DOMAIN
|
from .const import CONF_SITE_ID, DEFAULT_NAME, DOMAIN
|
||||||
|
|
||||||
CONFIG_SCHEMA = vol.Schema(
|
CONFIG_SCHEMA = vol.Schema(
|
||||||
|
vol.All(
|
||||||
|
cv.deprecated(DOMAIN),
|
||||||
{
|
{
|
||||||
DOMAIN: vol.Schema(
|
DOMAIN: vol.Schema(
|
||||||
{
|
{
|
||||||
@ -18,6 +20,7 @@ CONFIG_SCHEMA = vol.Schema(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
),
|
||||||
extra=vol.ALLOW_EXTRA,
|
extra=vol.ALLOW_EXTRA,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/solaredge",
|
"documentation": "https://www.home-assistant.io/integrations/solaredge",
|
||||||
"requirements": ["solaredge==0.0.2", "stringcase==1.2.0"],
|
"requirements": ["solaredge==0.0.2", "stringcase==1.2.0"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"codeowners": [],
|
"codeowners": ["@frenck"],
|
||||||
"dhcp": [{"hostname":"target","macaddress":"002702*"}]
|
"dhcp": [{ "hostname": "target", "macaddress": "002702*" }]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user