Skip to content

Commit

Permalink
Merge branch 'active_dev' of github.com:itchannel/fordpass-ha into ac…
Browse files Browse the repository at this point in the history
…tive_dev
  • Loading branch information
itchannel committed Nov 6, 2020
2 parents 5f21375 + bc99297 commit 1c613a7
Show file tree
Hide file tree
Showing 9 changed files with 186 additions and 166 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/combined.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Validation And Formatting"
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Download repo
with:
fetch-depth: 0
- uses: actions/setup-python@v2
name: Setup Python
- uses: actions/cache@v2
name: Cache
with:
path: |
~/.cache/pip
key: custom-component-ci
- uses: hacs/integration/action@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CATEGORY: integration
- uses: KTibow/ha-blueprint@stable
name: CI
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 0 additions & 18 deletions .github/workflows/validate.yaml

This file was deleted.

9 changes: 4 additions & 5 deletions custom_components/fordpass/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
"""The FordPass integration."""
import asyncio
from datetime import timedelta
import logging
from datetime import timedelta

import async_timeout
from dotted.collection import DottedDict
from .fordpass_new import Vehicle
import voluptuous as vol

from dotted.collection import DottedDict
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
from homeassistant.core import HomeAssistant
Expand All @@ -19,10 +17,11 @@
)

from .const import DOMAIN, MANUFACTURER, VEHICLE, VIN
from .fordpass_new import Vehicle

CONFIG_SCHEMA = vol.Schema({DOMAIN: vol.Schema({})}, extra=vol.ALLOW_EXTRA)

PLATFORMS = ["lock","sensor", "switch"]
PLATFORMS = ["lock", "sensor", "switch"]

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/fordpass/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from .fordpass_new import Vehicle
import voluptuous as vol

from fordpass import Vehicle
from homeassistant import config_entries, core, exceptions
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME

Expand Down
2 changes: 1 addition & 1 deletion custom_components/fordpass/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

MANUFACTURER = "Ford Motor Company"

VEHICLE = "Ford Vehicle"
VEHICLE = "Ford Vehicle"
Loading

0 comments on commit 1c613a7

Please sign in to comment.