Commit graph

169 commits

Author SHA1 Message Date
Andre Basche 4dc60c29ee Fix crash in loading attributs Andre0512/hon#134 2024-01-11 01:21:38 +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 e44b9b6773 Update mypy 2023-10-12 22:26:12 +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
Andre Basche ff8ae160bb Fix empty prStr 2023-10-06 01:29:38 +02:00
Andre Basche 10c8d961c4 Support new style rules hon#112 2023-10-02 01:38:40 +02:00
Andre Basche 1ed81c2a77 Simplify get favorites 2023-07-24 02:33:45 +02:00
Andre Basche e6c796e822 Improve type hints 2023-07-23 21:55:42 +02:00
Andre Basche 59ca8b6caf Not loading favorite if base program renamed 2023-07-22 11:53:39 +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 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 9a6a07fd46 Sync enum values of commands 2023-07-10 23:58:24 +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 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
Andre Basche 55966dd52f Fix typeerror hon#77 2023-06-21 18:02:07 +02:00
Andre Basche 8c65a37f29 Add command loader class 2023-06-15 02:16:03 +02:00
Andre Basche 1ca89995a2 Lock attributes 2023-06-13 00:39:18 +02:00
Andre Basche f6139db0b5 Use class for attributes 2023-06-13 00:12:29 +02:00
Andre Basche 310d1bafd7 Improve rule parsing 2023-06-10 06:47:37 +02:00
Andre Basche 9e35dcf9cf Don't send optional program rules 2023-06-10 06:40:55 +02:00
Andre Basche f9d0fa4ae8 Add wine cellar 2023-06-09 22:52:33 +02:00
Andre Basche 11988c73a6 Fix command parameter issue hon#63 2023-06-09 02:09:20 +02:00