b28bb18287
Enable restarting systemd service on failure
2024-11-22 18:57:08 +01:00
088643cae5
Create module
2024-11-21 15:51:55 +01:00
89e4c5e7f0
Force Python 3.10
2024-11-21 15:48:53 +01:00
e553adc033
Wrap hc_login module logic to a main function
2024-11-21 14:10:01 +01:00
f77d2a6efa
Fix lock file
2024-11-21 14:09:37 +01:00
9c9f9b5d14
Refactor inputs
2024-11-21 12:49:06 +01:00
8b04a55af0
Create wrapper script
2024-11-21 12:09:05 +01:00
fa6704f5cd
Init flake and make project buildable
2024-11-21 10:13:11 +01:00
Ben Campbell
2b94bc6b3e
Merge pull request #106 from Meatballs1/readme_updates
...
Small fixes for docker-compose commands
2024-11-08 18:03:41 +00:00
Ben Campbell
68b2c2a487
Small fixes for docker-compose commands
2024-11-06 18:11:51 +00:00
pmagyar
255c731074
Merge pull request #101 from hcpy2-0/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-10-14 21:58:30 +02:00
pre-commit-ci[bot]
44fcd4aeac
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0 )
2024-10-14 17:01:20 +00:00
pmagyar
10c04ea09a
Merge pull request #99 from hcpy2-0/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-10-08 07:10:26 +02:00
pre-commit-ci[bot]
06896563aa
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0 )
2024-10-07 17:10:26 +00:00
Ben Campbell
922d8e515d
Merge pull request #98 from hcpy2-0/v0.1.5
...
Release Version v0.1.5
2024-10-07 16:47:50 +01:00
pmagyar
c9fdcf302d
Release Version v0.1.5
2024-10-07 17:10:03 +02:00
pmagyar
6fe53764a8
Merge pull request #95 from saveriol/execute-hc-login-on-first-run
...
Execute hc login on first run
2024-10-07 17:08:21 +02:00
saveriol
c3a0bd4c4b
Check SHA256 of bashio after download
2024-10-04 16:32:39 +02:00
pre-commit-ci[bot]
bbacc86e75
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-09-26 07:32:31 +00:00
saveriol
6aa65ee356
Print discovered devices name and hostname
2024-09-26 09:32:24 +02:00
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