Skip to content

Commit

Permalink
Initial implementation of Wem Portal component
Browse files Browse the repository at this point in the history
  • Loading branch information
erikkastelec committed Feb 17, 2021
1 parent a76da17 commit d1a6f15
Show file tree
Hide file tree
Showing 7 changed files with 638 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/validaate.yaml
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"
1 change: 1 addition & 0 deletions custom_components/wemportal/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""The WEM Portal component."""
9 changes: 9 additions & 0 deletions custom_components/wemportal/const.py
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']
13 changes: 13 additions & 0 deletions custom_components/wemportal/manifest.json
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"
]
}
Loading

0 comments on commit d1a6f15

Please sign in to comment.