Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 12 additions & 9 deletions homeassistant/components/solaredge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@
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,
)

Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/solaredge/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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*" }]
}