Clean up google travel time code (#48708)
This commit is contained in:
parent
2555b10d49
commit
caaa62a7f9
2 changed files with 0 additions and 7 deletions
|
@ -7,11 +7,6 @@ from homeassistant.core import HomeAssistant
|
|||
PLATFORMS = ["sensor"]
|
||||
|
||||
|
||||
async def async_setup(hass: HomeAssistant, config: dict):
|
||||
"""Set up the Google Maps Travel Time component."""
|
||||
return True
|
||||
|
||||
|
||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
||||
"""Set up Google Maps Travel Time from a config entry."""
|
||||
for component in PLATFORMS:
|
||||
|
|
|
@ -31,8 +31,6 @@ def validate_config_entry_fixture():
|
|||
def bypass_setup_fixture():
|
||||
"""Bypass entry setup."""
|
||||
with patch(
|
||||
"homeassistant.components.google_travel_time.async_setup", return_value=True
|
||||
), patch(
|
||||
"homeassistant.components.google_travel_time.async_setup_entry",
|
||||
return_value=True,
|
||||
):
|
||||
|
|
Loading…
Add table
Reference in a new issue