Commit graph

223 commits

Author SHA1 Message Date
Vadym Melnychuk 73fe98032b Merge branch 'main' of https://github.com/VadymMelnychuk/pyhOn
# Conflicts:
#	pyhon/appliances/wh.py
2023-12-03 17:51:19 +02:00
Andre Basche 7bc9e718a0
Merge pull request #17 from MiguelAngelLV/main
Use class attribute to check active
2023-11-26 13:43:44 +01:00
Mguel Ángel d4e5793186 Fix check active oven 2023-11-26 13:36:41 +01:00
Andre Basche e9f2bb9f4f Send program name Andre0512/hon#124 2023-11-21 02:23:53 +01:00
Andre Basche ea81e2891f Bump version 2023-11-20 17:51:32 +01:00
Andre Basche c71f8f17f5 Fix error in wh 2023-11-20 17:50:28 +01:00
Andre Basche 27d974abba Fix dependencies 2023-11-20 16:38:39 +01:00
Andre Basche ab18e45f97 Add python3.12 support 2023-11-19 23:53:21 +01:00
Andre Basche e44b9b6773 Update mypy 2023-10-12 22:26:12 +02:00
Andre Basche 5c650d722b Bump version 2023-10-12 22:16:02 +02:00
Vadym 6ae40481e3
Issue with sync_command (#16)
* Added water heater appliance. Added ability to send only mandatory parameters

* fixed build

* formatting

* cleanup

* cleanup

* reformatting

* Added ability to send specific parameters. Useful in case the command has many not mandatory parameters and you want to send only one/few

* cleanup

* Fixed code style

* sync_command - fixed typos, skip to sync(actually reset) parameters of different types. Improved WaterHeater appliance

* cleanup

* cleanup

* clean code style

* check if base parameter is mandatory

* Reverted back sync_command, send mandatory parameters beside with specified

---------

Co-authored-by: Vadym Melnychuk <vme@primexm.com>
2023-10-12 16:43:41 +02:00
Vadym Melnychuk 1ebd83b70d Reverted back sync_command, send mandatory parameters beside with specified 2023-10-12 16:33:28 +03:00
Vadym 38363420f5
Merge branch 'Andre0512:main' into main 2023-10-10 22:42:14 +03:00
Andre Basche ff8ae160bb Fix empty prStr 2023-10-06 01:29:38 +02:00
Andre Basche 658e80a8f4 Change dependencies to variable major version 2023-10-02 03:21:51 +02:00
Andre Basche ffba85bf0d Bump version 2023-10-02 01:38:54 +02:00
Andre Basche 10c8d961c4 Support new style rules hon#112 2023-10-02 01:38:40 +02:00
Vadym 6053b36654
Merge branch 'Andre0512:main' into main 2023-08-23 11:45:15 +03:00
Andre Basche 61dd470588 Set versions of dependant packages to 'compatible releases' 2023-07-27 19:16:23 +02:00
Vadym Melnychuk 5d0225e0c3 check if base parameter is mandatory 2023-07-24 18:10:16 +03:00
Vadym Melnychuk 59943f1d4d clean code style 2023-07-24 18:02:00 +03:00
Vadym Melnychuk bab8bce804 cleanup 2023-07-24 17:36:03 +03:00
Vadym Melnychuk 293dd47079 cleanup 2023-07-24 16:28:32 +03:00
Vadym Melnychuk 8a876d953a sync_command - fixed typos, skip to sync(actually reset) parameters of different types. Improved WaterHeater appliance 2023-07-24 16:16:07 +03:00
Vadym 3d8011deea
Merge branch 'Andre0512:main' into main 2023-07-24 13:45:49 +03:00
Andre Basche 1ed81c2a77 Simplify get favorites 2023-07-24 02:33:45 +02:00
Andre Basche e4dc3cb1d0 Next try to add py.typed in package 2023-07-24 01:47:45 +02:00
Andre Basche 2523069ce9 Fix false name caused by chatgpt's wrong advice 2023-07-23 23:18:09 +02:00
Andre Basche eeb458cb1b Add py.typed into package 2023-07-23 22:54:46 +02:00
Andre Basche 2764700bc7 Bump version 2023-07-23 21:56:16 +02:00
Andre Basche e6c796e822 Improve type hints 2023-07-23 21:55:42 +02:00
Andre Basche 454f2d8916 Use equal mypy cnofig as home assistant 2023-07-22 12:39:50 +02:00
Andre Basche 59ca8b6caf Not loading favorite if base program renamed 2023-07-22 11:53:39 +02:00
Andre Basche 44c55c681d Update requirements 2023-07-20 23:55:40 +02:00
Andre Basche cfee10df5f Improve logging for test api 2023-07-20 23:52:46 +02:00
Andre Basche e0774677eb Add and apply some mypy rules 2023-07-20 23:52:07 +02:00
Andre Basche fc60d15e60 Fix error for fridge without quickmode 2023-07-19 23:55:37 +02:00
Andre Basche 8ef8c0405d Fix empty value in settings 2023-07-19 19:52:21 +02:00
Andre Basche 5575b240e1 Bump version 2023-07-18 21:32:12 +02:00
Andre Basche 22367242a2 Add flake8 config 2023-07-18 21:31:26 +02:00
Vadym 4f7d4860db
Water Heater. Ability to send only mandatory parameters (#14)
* Added water heater appliance. Added ability to send only mandatory parameters

* fixed build

* formatting

* cleanup

* cleanup

* reformatting

* Added ability to send specific parameters. Useful in case the command has many not mandatory parameters and you want to send only one/few

* cleanup

* Fixed code style

---------

Co-authored-by: Vadym Melnychuk <vme@primexm.com>
2023-07-18 21:26:11 +02:00
Vadym Melnychuk e2e2fcb6e5 Fixed code style 2023-07-17 10:00:50 +03:00
Andre Basche 5a778373b6 Enable more pylint checks 2023-07-16 05:53:23 +02:00
Andre Basche e1c8bc5835 Reduce complexity and line length for flake8 2023-07-16 04:42:29 +02:00
Vadym Melnychuk e575722dd3 cleanup 2023-07-14 11:30:17 +03:00
Vadym 8952397bda
Merge branch 'Andre0512:main' into main 2023-07-14 11:24:20 +03:00
Andre Basche 442e7a07dd Fix pylint check 2023-07-14 00:40:48 +02:00
Vadym Melnychuk 25fa89552d Added ability to send specific parameters. Useful in case the command has many not mandatory parameters and you want to send only one/few 2023-07-13 19:34:49 +03:00
Andre Basche b0e3b15ff0 Add pylint checks 2023-07-12 19:36:32 +02:00
Vadym Melnychuk 68b6b7b24d reformatting 2023-07-12 09:47:53 +03:00