Commit graph

193 commits

Author SHA1 Message Date
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
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
Andre Basche 61dd470588 Set versions of dependant packages to 'compatible releases' 2023-07-27 19:16:23 +02: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
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
Andre Basche 442e7a07dd Fix pylint check 2023-07-14 00:40:48 +02:00
Andre Basche b0e3b15ff0 Add pylint checks 2023-07-12 19:36:32 +02:00
Andre Basche 2788a3ac91 Reset commands to defaults 2023-07-12 00:05:27 +02:00
Andre Basche bc7e8994c9 Bump version 2023-07-11 00:21:37 +02:00
Andre Basche 8ca40d7ad0 Add missing requirement typing-extensions 2023-07-10 23:59:55 +02:00
Andre Basche 9a6a07fd46 Sync enum values of commands 2023-07-10 23:58:24 +02:00
Andre Basche f1818bbc5d Bump version 2023-07-09 23:59:27 +02:00
Andre Basche 3d5c8405ea Improve error handling 2023-07-09 23:58:55 +02:00
Andre Basche e234ef3bbb Remove old code in ov hon#88 2023-07-09 01:36:03 +02:00
Andre Basche e00e147ecd Bump version 2023-07-01 16:29:29 +02:00
Andre Basche 26bc35c8a6 Fix issue in locking attribute updates 2023-07-01 16:27:50 +02:00
Andre Basche 17d73cdeb8 Sync parameter to settings 2023-07-01 16:04:34 +02:00
Andre Basche a10ab4423e Add stricter mypy rules 2023-07-01 14:59:09 +02:00
Andre Basche 0553e6c17d Improvements 2023-07-01 14:31:37 +02:00
Andre Basche 44f40c531e Fix some minor issues 2023-06-29 22:08:51 +02:00
Andre Basche 4e88bc7a9f Fix error in archive again 2023-06-29 18:49:33 +02:00
Andre Basche b5d8a90d79 Fix messed up parameters in request 2023-06-28 20:25:52 +02:00
Andre Basche 52837f16e3 Improve appliance import 2023-06-28 19:45:37 +02:00
Andre Basche 2a6b040193 Add import parameter 2023-06-28 19:17:17 +02:00
Andre Basche 9eb99f283b Add more type hints 2023-06-28 19:02:11 +02:00
Andre Basche ad0d065b03 Fix creating wrong zip archive 2023-06-26 02:19:07 +02:00
Andre Basche 924e2c240d Fix wrong archive link 2023-06-25 18:30:29 +02:00
Andre Basche 76bd189e7b Bump version 2023-06-25 17:49:03 +02:00
Andre Basche ef67188b93 Create data archive and use it to test 2023-06-25 17:30:15 +02:00
Andre Basche 66cb7bcc24 Merge branch 'refactor2' 2023-06-22 00:03:07 +02:00
Andre Basche c25e898b42 Bump version 2023-06-21 19:56:09 +02:00