1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Remove YAML support from powerwall (#45381)

This commit is contained in:
J. Nick Koston
2021-01-21 20:59:33 -06:00
committed by GitHub
parent 59f178ab9e
commit 38d4af1a6e
6 changed files with 17 additions and 70 deletions

View File

@@ -14,9 +14,6 @@ from tesla_powerwall import (
SiteMaster,
)
from homeassistant.components.powerwall.const import DOMAIN
from homeassistant.const import CONF_IP_ADDRESS
from tests.common import load_fixture
@@ -85,8 +82,3 @@ async def _async_load_json_fixture(hass, path):
load_fixture, os.path.join("powerwall", path)
)
return json.loads(fixture)
def _mock_get_config():
"""Return a default powerwall config."""
return {DOMAIN: {CONF_IP_ADDRESS: "1.2.3.4"}}