Skip to content

Commit

Permalink
fix: add missing CONFIG_SCHEMA
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Jul 27, 2023
1 parent f0b97ba commit 6e4a441
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions custom_components/tesla_custom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
)
from homeassistant.core import callback
from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.event import async_call_later
from homeassistant.helpers.httpx_client import SERVER_SOFTWARE, USER_AGENT
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
Expand Down Expand Up @@ -48,6 +49,8 @@

_LOGGER = logging.getLogger(__name__)

CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)


@callback
def _async_save_tokens(hass, config_entry, access_token, refresh_token, expiration):
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Tesla",
"hacs": "1.6.0",
"homeassistant": "2023.4.0",
"homeassistant": "2023.6.0",
"zip_release": true,
"filename": "tesla_custom.zip"
}

0 comments on commit 6e4a441

Please sign in to comment.