1
0
mirror of https://github.com/JarvyJ/HomeIntent.git synced 2022-02-11 01:01:05 +03:00

215 Commits

Author SHA1 Message Date
Jarvy Jarvison
144de74b24 Home Intent: HA API translation support (#279)
* HA API translation support at API layer

* fix for empty list on call_service with added delay

* removed debugging print statements

* Update README.md

closes #274, #275
2022-01-09 12:21:39 -06:00
Jarvy Jarvison
d04a94e4bd Home Intent: Fix satellite ids not getting pasesd to alias functions (#285) 2022-01-08 22:24:19 -06:00
Jarvy Jarvison
f648890b13 Home Intent: Fix beeps in satellite base station (#283)
* fix beeps in satellite base station

* fixing bug introduced when trying base stations. Curious if it was a one-off.
2022-01-08 21:47:34 -06:00
Jarvy Jarvison
b16ff3bb9f Home Intent: Fixing audio playback for satellite (#282) 2022-01-06 19:51:48 -06:00
Jarvy Jarvison
ed1920d503 Home Intent: Added ability to disable audio at base station (#280)
* added ability to disable audio at base station

* added warning message if no audio devices are connected
2022-01-05 23:02:56 -06:00
Jarvy Jarvison
0ddc61d686 Home Intent: Initial satellites support (#271)
* started satellite support

* adding support to specify satellite ids in config

This should fix the actual bug that was reported in #258. I'm going to do some testing and ensure that is the case.
2022-01-05 21:12:18 -06:00
Jarvy Jarvison
9db07eb9ab UI: Updated frontend deps (#278) 2022-01-05 20:52:23 -06:00
Jarvy Jarvison
1ffc12890a Home Intent: Update Python dependencies (#276) 2022-01-05 20:22:27 -06:00
Jarvy Jarvison
1aa42d06ed 2022.01 release! (#260) 2022.01.0 2022-01-05 19:33:56 -06:00
Jarvy Jarvison
6c8d6a9be4 Home Intent: Local development fixes (#263)
* fixed TTS based on language environment variable
* fallback to english will now work properly with the new module-based import system
* local development shouldn't need to specify the rhasspy api and mqtt urls any more
2022-01-02 23:09:43 -06:00
Jarvy Jarvison
05788659d0 UI: Can now edit Home Assistant scripts in the UI (#259)
* scripts can now be added via the UI

* updated docs for scripts and fix the ui tab bug

* jsprettier messed around with my markdown... grumble grumble

closes #259
2021-12-30 23:16:58 -06:00
Jarvy Jarvison
09e96ca892 Home Intent: require percent for Home Assistant brightness changes (#250)
closes #229
2021-12-30 14:03:10 -06:00
Jarvy Jarvison
331d1889e2 UI: Better Exception Handling UX (#254)
* Completely redid the logging page
  * Effectively created a custom python JSON logger that plays nicely with JS
  * Has exceptions shown with a jump-to button
  * No more Rhasspy logs in the UI (maybe i'll bring it back later)
* Restart pop-down now shows errors raised during restart
* Moved UI form exceptions above Save button so it's easier to see when clicking save.
* Disabled auto-restart in supervisord
* Cleared up some exceptions and how they are handled.

closes #238 and #240
2021-12-30 14:00:37 -06:00
Jarvy Jarvison
66bdaac935 UI: Prettier and refactor (#247)
* ran everything through prettier

* fixed prettierrc and reran

* commited to this refactor

* will now update custom settings properly when switching between them
2021-12-26 09:43:20 -06:00
dependabot[bot]
ad9151801f GitHub Actions: Bump docker/login-action from 1.10.0 to 1.12.0 (#246)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 1.12.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](f054a8b539...42d299face)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-22 18:41:03 -06:00
Jarvy Jarvison
2111efd6e6 UI: Updating components (#245) 2021-12-20 20:14:31 -06:00
Jarvy Jarvison
112ce43f38 Home Intent: Added the ability to voice control HA scripts via config (#239) 2021-12-20 19:39:50 -06:00
Jarvy Jarvison
0df066aa73 UI: Log exceptions to the frontend (#244) 2021-12-20 19:37:19 -06:00
Jarvy Jarvison
7d511f4a86 UI: Return errors back to the users (#233)
pydantic errors are returned back to the user
2021-12-20 19:29:25 -06:00
dependabot[bot]
e0a44379ac GitHub Actions: Bump docker/metadata-action from 3.6.1 to 3.6.2 (#213)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](a2e02890a0...e5622373a3)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 19:28:00 -06:00
dependabot[bot]
b3dafcbc88 Docs: Bump mkdocs-material from 8.0.4 to 8.1.3 (#243)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.0.4 to 8.1.3.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.0.4...8.1.3)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 19:27:38 -06:00
dependabot[bot]
bb9239ef08 API: Bump uvicorn[standard] from 0.15.0 to 0.16.0 (#216)
Bumps [uvicorn[standard]](https://github.com/encode/uvicorn) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.15.0...0.16.0)

---
updated-dependencies:
- dependency-name: uvicorn[standard]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 19:27:16 -06:00
dependabot[bot]
3d907356e1 API: Bump fastapi from 0.70.0 to 0.70.1 (#223)
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.70.0 to 0.70.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.70.0...0.70.1)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 19:23:45 -06:00
Jarvy Jarvison
f571342b56 Bug Fix: Log exceptions to the frontend (#236) 2021-12-19 11:05:44 -06:00
Jarvy Jarvison
9f3e37e6d4 Home Intent: add repeatable dictionary (#234)
* added repeatable dictionary

* updated docs with how it all works.
2021-12-17 23:13:57 -06:00
Jarvy Jarvison
3c509e51c0 Bug Fix: first boot issues (#227)
This resolves some of the issues with first boot:

 * training with no sentences/slots throws an error. For now, we accept and move on
 * should have checked to see if "home_assistant" was in the settings object, as opposed to seeing if was None
 * for some reason there was a dynamic import error in svelte. That should also now be resolved.

should address the issues in #226
2021.12.1
2021-12-15 22:21:07 -06:00
Jarvy Jarvison
303c90d088 Home Intent: fix some small bugs around climate (#215)
* fixed some typos

* fixed some output sentences

* fixed setting the low/high temperature
2021.12.0
2021-12-07 19:58:35 -06:00
dependabot[bot]
6a6a5a5834 Docs: Bump mkdocs-material from 8.0.3 to 8.0.4 (#211)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.0.3 to 8.0.4.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.0.3...8.0.4)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-06 16:08:22 -06:00
Jarvy Jarvison
866acd2651 Bug Fix: switched snake case class name to module name instead (#209) 2021-12-05 11:29:25 -06:00
Jarvy Jarvison
359f54eba6 loads the correct customizations file 2021-12-05 09:20:09 -06:00
Jarvy Jarvison
f3b7287e91 Docs: Updated to promote translations (#208)
* updated docs to promote translations

* Update README.md
2021-12-04 23:13:33 -06:00
Jarvy Jarvison
7aef007fb5 Home Intent: In Home Assistant climate, lock, and humidifier are now ignored by default (#207)
* climate, lock, and humidifier are now ignored by default
* updated docs a bit to clarify a restart is needed after adding new entities in Home Assistant
* made the language string optional to fix the ui not being able to save the settings >.<
* fixed bug with svelte config pointing to ui and not api for the default dev container.

closes #30 (for now. may revisit later)
2021-12-04 23:11:05 -06:00
Jarvy Jarvison
789994be83 not using the cache. 2021-12-04 16:58:16 -06:00
dependabot[bot]
627539eecb Docs: Bump mkdocs-material from 8.0.2 to 8.0.3 (#206)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.0.2...8.0.3)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 08:45:46 -06:00
Jarvy Jarvison
c70dd0f316 Home Intent: work without specifying language 2021-12-04 08:29:14 -06:00
Jarvy Jarvison
43fefdbecf Update shopping_items.txt 2021-12-04 08:15:40 -06:00
Jarvy Jarvison
be0e8cb1ad Home Intent: Add updater and rename most of the slots (#205)
* added updater

* renamed pretty much all the slots

* updated docs for the new slot style and updated pics

closes #191
2021-12-03 16:16:49 -06:00
dependabot[bot]
178b6b52ae Docs: Bump mkdocs-material from 8.0.1 to 8.0.2 (#204)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.0.1...8.0.2)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 18:58:22 -06:00
Jarvy Jarvison
4536211c0f API: switched to aiofiles 0.8.0 with async isfile (#203) 2021-11-30 20:24:34 -06:00
Jarvy Jarvison
f6af67d4aa Home Intent: adding climate controls! (#192)
* adding climate control

* updating docs with climate information
2021-11-30 20:02:24 -06:00
dependabot[bot]
099fa196a1 GitHub Actions: Bump docker/metadata-action from 3.6.0 to 3.6.1 (#200)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](548e2346a9...a2e02890a0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 19:38:45 -06:00
dependabot[bot]
f05ccf8422 Home Intent: Bump humanize from 3.12.0 to 3.13.1 (#201)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.12.0...3.13.1)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 19:37:50 -06:00
Jarvy Jarvison
013bb77576 Home Intent: Adding [de]humidifier (#173)
* adding [de]humidifier. 

* updated the humidifier code to properly support i18n

* update docs
2021-11-30 19:37:00 -06:00
Jarvy Jarvison
5adf922d2b Adding license file (#202)
* adding license

* added license file
2021-11-30 19:26:42 -06:00
dependabot[bot]
4a357ecb83 UI: Bump postcss from 8.3.11 to 8.4.4 in /ui/frontend (#197)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.11 to 8.4.4.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.11...8.4.4)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 19:07:07 -06:00
dependabot[bot]
53812ba124 Docs: Bump mkdocs-material from 7.3.6 to 8.0.1 (#198)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 7.3.6 to 8.0.1.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Upgrade guide](https://github.com/squidfunk/mkdocs-material/blob/master/docs/upgrade.md)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/7.3.6...8.0.1)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 19:04:57 -06:00
dependabot[bot]
2d16091602 UI: Bump cssnano from 5.0.11 to 5.0.12 in /ui/frontend (#195)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.11...cssnano@5.0.12)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 19:02:28 -06:00
dependabot[bot]
137fc0ba26 UI: Bump @sveltejs/kit from 1.0.0-next.196 to 1.0.0-next.201 in /ui/frontend (#196)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.196 to 1.0.0-next.201.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 19:02:01 -06:00
dependabot[bot]
085cfcf341 UI: Bump prettier from 2.4.1 to 2.5.0 in /ui/frontend (#194)
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 19:01:21 -06:00
dependabot[bot]
04e1a2da11 UI: Bump svelte from 3.44.1 to 3.44.2 in /ui/frontend (#182)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.44.1 to 3.44.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.44.1...v3.44.2)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 19:43:35 -06:00