-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from denysdovhan/move-to-new-repo
Migrate to HA OS
- Loading branch information
Showing
64 changed files
with
498 additions
and
138 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 |
---|---|---|
@@ -1 +1 @@ | ||
2023.12.1 | ||
2024.3.3 |
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,12 @@ | ||
# EditorConfig | ||
# https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_size = 2 | ||
indent_style = space |
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,3 @@ | ||
github: denysdovhan | ||
patreon: denysdovhan | ||
custom: [buymeacoffee.com/denysdovhan] |
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,50 @@ | ||
name: Home Assistant CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
schedule: | ||
- cron: 0 12 * * * | ||
|
||
jobs: | ||
home-assistant: | ||
name: Home Assistant Config | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
version: ['stable', 'beta', 'dev'] | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Prepare Stubs | ||
run: cp -R ./stubs/* . | ||
|
||
- name: 📥 Clone custom component - Powercalc | ||
run: | | ||
git clone https://github.com/bramstroker/homeassistant-powercalc.git | ||
mv -v homeassistant-powercalc/custom_components/* custom_components | ||
- name: 📥 Clone custom component - Car Wash | ||
run: | | ||
git clone https://github.com/Limych/ha-car_wash.git | ||
mv -v ha-car_wash/custom_components/* custom_components | ||
- name: 📥 Clone custom component - Snowtire | ||
run: | | ||
git clone https://github.com/Limych/ha-snowtire.git | ||
mv -v ha-snowtire/custom_components/* custom_components | ||
- name: 📥 Clone custom component - xiaomi_cloud_map_extractor | ||
run: | | ||
git clone https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor.git | ||
mv -v Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/custom_components/* custom_components | ||
- name: Home Assistant Check | ||
uses: frenck/action-home-assistant@v1 | ||
with: | ||
path: . | ||
secrets: secrets.example.yaml | ||
version: '${{ matrix.version }}' |
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,51 @@ | ||
# Generic ignores | ||
*.log* | ||
*.conf | ||
*.db | ||
*.db.corrupt.* | ||
*.db-shm | ||
*.db-wal | ||
*.pyc | ||
._* | ||
__pycache__ | ||
.env | ||
*.DS_Store | ||
|
||
# Ignore folders | ||
.deleted | ||
.ssh | ||
.storage | ||
.cloud | ||
.google.token | ||
deps | ||
tts | ||
image | ||
|
||
# Home Assistant | ||
secrets.yaml | ||
ip_bans.yaml | ||
known_devices.yaml | ||
.homekit.state | ||
.ps4-games*.json | ||
GA_SERVICE_ACCOUNT.json | ||
www/community | ||
/custom_components/** | ||
!/custom_components/README.md | ||
watchman_report.txt | ||
token-*.txt | ||
|
||
# Zigbee2MQTT | ||
/zigbee2mqtt/secret.yaml | ||
/zigbee2mqtt/state.json | ||
/zigbee2mqtt/log | ||
/zigbee2mqtt/coordinator_backup.json | ||
|
||
# PlayStation to MQTT | ||
/ps5-mqtt/credentials.json | ||
|
||
# IDE | ||
.vscode | ||
.Trash* | ||
|
||
# Specific keeps | ||
!.gitkeep |
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 @@ | ||
# https://pre-commit.com/ | ||
|
||
fail_fast: true | ||
exclude: custom_components | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: 'v2.3.0' | ||
hooks: | ||
- id: prettier | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: 'v2.3.0' | ||
hooks: | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-added-large-files | ||
- id: check-symlinks | ||
- id: detect-private-key |
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 @@ | ||
automations.yaml | ||
scripts.yaml | ||
blueprints | ||
custom_components | ||
www | ||
.cloud | ||
.ssh | ||
.storage | ||
deps | ||
|
||
*.db* | ||
*.conf | ||
*.log |
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,5 @@ | ||
{ | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"singleQuote": true | ||
} |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 Denys Dovhan | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,35 @@ | ||
[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua/) | ||
|
||
# Denys Dovhan Smart Home | ||
|
||
![Home](https://user-images.githubusercontent.com/3459374/152371766-1d2a1e17-34d3-4fe6-9e6d-aded02f14de1.png) | ||
|
||
[![GitHub Workflow Status][github-img]][github-url] | ||
[![Last Commit][last-commit-img]][github-url] | ||
[![Commit Activity][commit-activity-img]][github-url] | ||
[![License][license-img]][license-url] | ||
[![GitHub Stars][stars-img]][github-url] | ||
[![Twitter Followers][twitter-img]][twitter-url] | ||
|
||
This is my personal Home Assistant configuration, awakening my home with automations. I hope this will help you inspire on the way to built your own smart home. | ||
|
||
[**Read the documentation**](https://denysdovhan.com/smart-home) | ||
|
||
I also have a [public Notion board](https://www.notion.so/denysdovhan/f09ea06da5db4cfa84d3ca50417b93b2?v=5fccab53c2fd4ac188ee0b92c2ca1cb9) with ideas and tasks for my smart home. You can follow and comment my plans there. | ||
|
||
## License | ||
|
||
[MIT][license-url] © [Denys Dovhan][denysdovhan] | ||
|
||
<!-- References --> | ||
|
||
[github-url]: https://github.com/denysdovhan/smart-home | ||
[github-img]: https://img.shields.io/github/actions/workflow/status/denysdovhan/smart-home/homeassistant.yml?style=flat-square | ||
[last-commit-img]: https://img.shields.io/github/last-commit/denysdovhan/smart-home?style=flat-square | ||
[commit-activity-img]: https://img.shields.io/github/commit-activity/m/denysdovhan/smart-home?style=flat-square | ||
[license-url]: https://github.com/denysdovhan/smart-home/blob/master/LICENSE | ||
[license-img]: https://img.shields.io/github/license/denysdovhan/smart-home?style=flat-square | ||
[twitter-url]: https://twitter.com/denysdovhan | ||
[twitter-img]: https://img.shields.io/twitter/follow/denysdovhan?label=Follow | ||
[stars-img]: https://img.shields.io/github/stars/denysdovhan/smart-home?style=social | ||
[denysdovhan]: https://denysdovhan.com |
Oops, something went wrong.