Commit Graph

250 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
d2b23b391e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-25 15:13:55 +00:00
saveriol
2357f672bd refactor ifs 2024-09-25 17:13:47 +02:00
saveriol
6e4b1465ff Update README.md to remove stdout redirect 2024-09-25 16:45:32 +02:00
saveriol
f551d9c2e6 change default HCPY_DEVICES_FILE 2024-09-25 16:28:14 +02:00
saveriol
92b99304da exec hc-login.py at first run; use bashio to read options.json 2024-09-25 16:25:45 +02:00
saveriol
3887a312a3 Add a nice success message at the end of the script 2024-09-25 16:23:35 +02:00
saveriol
76b77fe0b1 Map addon_config and add HC email and password to HA addon configuration 2024-09-25 16:19:44 +02:00
saveriol
282dfb9cef Install bashio also 2024-09-25 16:17:28 +02:00
saveriol
c73c696634 Do not print on stdout, use arg and write file instead
This ensures we don't put errors inside devices.json file.
2024-09-25 16:15:28 +02:00
pmagyar
24d4ec17c7 Merge pull request #94 from Meatballs1/addon-version-v0.1.4
addon version v0.1.4
2024-09-25 09:14:20 +02:00
Ben Campbell
058e0dbea7 addon version v0.1.4 2024-09-21 19:17:53 +01:00
Ben Campbell
57d55d1c72 Merge pull request #93 from saveriol/Revert-host-to-name-in-mqtt-topic
Revert host to name in mqtt topic
2024-09-21 19:14:42 +01:00
saveriol
1c9d897f89 Revert host to name in mqtt topic 2024-09-16 14:35:32 +02:00
saveriol
f9f8894365 Revert host to name in mqtt topic 2024-09-16 14:33:41 +02:00
pmagyar
3f203639df Merge pull request #87 from pmagyar/addon_v0.1.3
addon version v0.1.3
2024-08-19 17:56:24 +02:00
p_magyar
3cdd673c45 addon version v0.1.3 2024-08-19 17:54:47 +02:00
pmagyar
c05ea3ced8 Merge pull request #86 from jamesremuscat/feature/ha-discovery
Add Home Assistant MQTT autodiscovery
2024-08-19 16:06:39 +02:00
James Muscat
be781c94bd Update comments. 2024-08-11 16:42:38 +01:00
pre-commit-ci[bot]
f5994a6dc9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-11 15:41:13 +00:00
James Muscat
5fc93f6c1c Correct definition for RemoteControlStartAllowed. 2024-08-11 16:17:05 +01:00
James Muscat
be28bc942b Add autodiscovery section to README. 2024-08-11 16:17:05 +01:00
James Muscat
50862902c4 Add overrides for most dishwasher features. 2024-08-11 16:17:05 +01:00
James Muscat
5a2611967b Move MQTT discovery information into devices.json.
We inject some "magic" overrides when `devices.json` is created, rather
than at runtime; this means that users can update the discovery
information directly in their `devices.json` configuration rather than
in the code. This way, they can change existing or add new discovery
information without needing a code change.
2024-08-11 16:17:05 +01:00
James Muscat
d9196ad5bf Override some properties of state for special HA handling. 2024-08-11 16:17:05 +01:00
James Muscat
e37369f90b All Events act as binary sensors. 2024-08-11 16:17:05 +01:00
James Muscat
bf45fcd69a Use single state payload and HA value templates. 2024-08-11 16:17:05 +01:00
James Muscat
2186c61b5a Include events and options in discovery messages. 2024-08-11 16:17:05 +01:00
James Muscat
11d91c964b Include HA discovery code in Docker build. 2024-08-11 16:17:05 +01:00
James Muscat
c111df49cb Publish state changes.
At the moment this publishes all entity states every time one thing
changes, which is not optimal.
2024-08-11 16:17:05 +01:00
James Muscat
0a812e75a0 Start publishing HA auto-discovery information. 2024-08-11 16:17:03 +01:00
pmagyar
ad7f739885 Merge pull request #85 from hcpy2-0/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-08-08 14:45:40 +02:00
pre-commit-ci[bot]
f71217a3f9 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 24.4.2 → 24.8.0](https://github.com/psf/black/compare/24.4.2...24.8.0)
- [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.1.0...7.1.1)
2024-08-05 17:03:36 +00:00
Meatballs1
d9758ff425 Bump addon version to 0.1.2 2024-07-21 09:43:10 +01:00
Meatballs1
807dc96ffa Fix line length lint 2024-07-21 09:29:26 +01:00
pre-commit-ci[bot]
ae0d8d1105 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-07-20 20:41:57 +00:00
Dis90
9afcc3da8e New feature: selecting program 2024-07-20 23:34:47 +03:00
pmagyar
d6ef327344 Merge pull request #76 from hcpy2-0/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-07-14 08:16:41 +02:00
pre-commit-ci[bot]
d8b22dfa1d [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0)
2024-06-17 16:55:41 +00:00
pmagyar
ec0a9b50a0 Merge pull request #71 from Meatballs1/domain_suffix
Add domain_suffix option
2024-05-14 07:24:52 +02:00
Meatballs1
753d418c22 Merge branch 'domain_suffix' of github.com:Meatballs1/hcpy-2.0 into domain_suffix 2024-05-13 18:42:06 +01:00
Meatballs1
f17a2384d4 Bump addon version to 0.1.1 2024-05-13 18:41:51 +01:00
pre-commit-ci[bot]
4a7f15acf9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-13 17:41:21 +00:00
Meatballs1
7c0fc9d01d Merge branch 'main' into domain_suffix 2024-05-13 18:41:10 +01:00
pmagyar
c71ce21946 Merge pull request #70 from Meatballs1/debug
Add debug options
2024-05-13 19:05:26 +02:00
Meatballs1
1119e1e26f Add debug option to Addon 2024-05-13 12:21:53 +01:00
Meatballs1
4605926d3c Merge branch 'domain_suffix' of github.com:Meatballs1/hcpy-2.0 into domain_suffix 2024-05-13 12:20:47 +01:00
Meatballs1
f6fa50dfe7 Add option to Addon 2024-05-13 12:20:28 +01:00
pre-commit-ci[bot]
853e1ff6d5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-13 11:17:59 +00:00
Meatballs1
c1e31e7c1a Add domain_suffix option 2024-05-13 12:15:51 +01:00
Meatballs1
0def45c39d Merge branch 'debug' of github.com:Meatballs1/hcpy-2.0 into debug 2024-05-13 12:05:22 +01:00