-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial implementation of Wem Portal component
- Loading branch information
1 parent
a76da17
commit d1a6f15
Showing
7 changed files
with
638 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Validate | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
validate: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: "actions/checkout@v2" | ||
- name: HACS validation | ||
uses: "hacs/action@main" | ||
with: | ||
category: "integration" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""The WEM Portal component.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
""" Constants for the WEM Portal Integration """ | ||
|
||
import logging | ||
|
||
_LOGGER = logging.getLogger('wemportal') | ||
DOMAIN = "wemportal" | ||
DEFAULT_NAME = "WEM Portal" | ||
DEFAULT_TIMEOUT = 60 | ||
START_URLS = ['https://www.wemportal.com/Web/login.aspx'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"domain": "wemportal", | ||
"name": "WEM Portal", | ||
"documentation": "https://github.com/erikkastelec/hass-WEM-Portal", | ||
"dependencies": [], | ||
"codeowners": [ | ||
"@erikkastelec" | ||
], | ||
"requirements": [ | ||
"scrapyscript==1.1.0", | ||
"scrapy==2.4.1" | ||
] | ||
} |
Oops, something went wrong.