Commit graph

64 commits

Author SHA1 Message Date
Andre Basche 86c2956d69 Handle mqtt connection events 2024-03-29 14:39:08 +01:00
Andre Basche 11da4ebfbc Improve mqtt client 2024-03-29 01:10:27 +01:00
Andre Basche 7e59f76784 subscribe to updates 2024-03-25 02:14:17 +01:00
Andre Basche 2a74000ff3 Update requirements 2024-02-11 05:11:21 +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 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 e0774677eb Add and apply some mypy rules 2023-07-20 23:52:07 +02:00
Andre Basche 8ef8c0405d Fix empty value in settings 2023-07-19 19:52:21 +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 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 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 52837f16e3 Improve appliance import 2023-06-28 19:45:37 +02:00
Andre Basche 9eb99f283b Add more type hints 2023-06-28 19:02:11 +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 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 11988c73a6 Fix command parameter issue hon#63 2023-06-09 02:09:20 +02:00
Andre Basche 7b51caecca Improve update performance 2023-06-08 19:52:08 +02:00
Andre Basche 31c03faca8 Get program name 2023-05-29 19:05:37 +02:00
Andre Basche a081ef1f97 Add favourites to progams hon#47 2023-05-28 19:24:02 +02:00
Andre Basche 4888f2b1d0 Add oven climate support 2023-05-28 17:41:20 +02:00
Andre Basche 7c6ac15901 Add and improve fridge 2023-05-28 07:37:38 +02:00
Andre Basche c2765fe953 Add rule handling 2023-05-21 02:25:43 +02:00
Andre Basche 9971fe95e2 Get appliance code from serial number 2023-05-20 13:24:24 +02:00
Andre Basche 9f130e2e85 Make 'code' attribute really optional 2023-05-19 00:48:08 +02:00
Andre Basche b5af81b744 Improve set parameters 2023-05-15 19:29:42 +02:00
Andre Basche 2feb3295e1 Fix some dw bugs 2023-05-14 23:03:46 +02:00
Andre Basche d350d639cc Add maintenance cycle 2023-05-13 00:16:52 +02:00
Andre Basche 81c202d730 Use test devies 2023-05-11 00:44:18 +02:00
Andre Basche 022da71800 Fix none-type attributes 2023-05-08 02:23:48 +02:00
Andre Basche 8e16b4a215 Fix some errors 2023-05-08 00:03:53 +02:00
Andre Basche 7bd3aac7c5 Fix error for no category 2023-05-07 17:39:22 +02:00
Andre Basche ccff32e6c1 Fix missing program 2023-05-07 00:47:08 +02:00
Andre Basche 22cbd7474a Fix performance issues 2023-05-07 00:28:24 +02:00
Andre Basche dd61b24eed Improve output 2023-05-06 20:06:51 +02:00
Andre Basche ea8f481b01 More general parsing 2023-05-06 16:08:36 +02:00
Andre Basche 5db13a90e7 Fix some stuff for hoover appliances 2023-04-24 04:33:00 +02:00
Andre Basche 9ee5dbc956 Get program name by prcode 2023-04-23 21:42:44 +02:00