Commit graph

165 commits

Author SHA1 Message Date
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 eea79e28b9 Fix for fridge program names 2023-05-22 01:07:55 +02:00
Andre Basche 9cd12e3234 Fixes for fridge 2023-05-21 20:33:08 +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 dfbc24452b Fix value check 2023-05-16 21:26:24 +02:00
Andre Basche af4fbdd8cd Make 'code' attribute optional, fix hon#51 2023-05-16 20:46:46 +02:00
Andre Basche b5af81b744 Improve set parameters 2023-05-15 19:29:42 +02:00
Andre Basche 22a98e1781 Add favorites request 2023-05-14 23:04:36 +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 365a37b42d Fix send command error 2023-05-07 01:17:02 +02:00
Andre Basche 2bde6bb61c Fix mypy error 2023-05-07 00:48:42 +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 7dcb34559b Raise error if missing token 2023-04-24 21:50:25 +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
Andre Basche d4c6ccdce3 Use parameter optional 2023-04-23 20:15:07 +02:00
Andre Basche 9594b9ebd8 Use firmware version optional 2023-04-23 19:28:56 +02:00
Andre Basche b011d98e07 Expose fixed parameter as setting 2023-04-23 16:21:34 +02:00
Andre Basche ad864286fc Use firmware id optional 2023-04-23 14:40:39 +02:00
Andre Basche 5fc6245806 Get values for every parameter 2023-04-22 23:08:44 +02:00
Andre Basche 1dad0e14b8 Handle special dry level 11 2023-04-22 23:08:24 +02:00
Andre Basche b04c601ad6 Add log for empty token 2023-04-21 23:51:35 +02:00
Miguel Ángel 78bc85132f Black Style 2023-04-19 20:12:52 +02:00
Miguel Ángel 191928287f Override Oven attributes when is disconnected 2023-04-19 19:29:59 +02:00
Miguel Ángel c0aab8b99d Merge remote-tracking branch 'origin/main' 2023-04-19 18:57:13 +02:00
Andre Basche 411effd814 Fix disappearing programs 2023-04-17 00:37:55 +02:00
Andre Basche 04f19c4609 Fix error when sending commands 2023-04-17 00:07:22 +02:00
Miguel Ángel a68dcac379 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	pyhon/appliance.py
2023-04-16 16:37:11 +02:00
Andre Basche 6c44aa895d Disable zones for devices with just 1 zone, fixes #11 2023-04-16 13:33:21 +02:00
Andre Basche 8372c75e30 expose ancillary parameter in settings 2023-04-16 13:11:56 +02:00
Miguel Ángel 40cc0013a5 Override Oven attributes when is disconnected 2023-04-16 11:36:10 +02:00
Miguel Ángel f2aa3dc8fd Merge remote-tracking branch 'origin/main'
# Conflicts:
#	pyhon/appliances/ov.py
2023-04-16 09:58:00 +02:00
Andre Basche e887371bec expose ancillary parameter in settings 2023-04-16 04:23:08 +02:00
Andre Basche 5b91747ec1 Add dish washer 2023-04-16 02:46:30 +02:00
Andre Basche 8da2018302 Set fixed values 2023-04-16 02:44:20 +02:00
Andre Basche 03187745bf Split up parameters 2023-04-16 01:43:37 +02:00
Andre Basche 461a247ad3 More type hints 2023-04-16 01:36:10 +02:00
Andre Basche 834f25a639 Remove filters, filter out recies #9 2023-04-16 00:40:59 +02:00
Andre Basche 46ff9be4a2 Fix code depts 2023-04-15 23:02:37 +02:00
Andre Basche a1618bb18a Fix missing zone attribute 2023-04-15 22:25:34 +02:00
Andre Basche a957d7ac0f Fix error for zone devices 2023-04-15 21:58:20 +02:00
Andre Basche f54b7b2dbf Add mypy checks 2023-04-15 15:57:36 +02:00
Andre Basche b6ca12ebff Use dataclass for login data 2023-04-15 14:37:27 +02:00
Andre Basche 4a0ee8569b Refactor, add hon auth handler 2023-04-15 14:22:04 +02:00
Andre Basche d52d622785 Add zone support 2023-04-15 04:16:50 +02:00
Andre Basche d26e33a055 Fix error in starting programs 2023-04-15 00:29:24 +02:00
Andre Basche 0301427497 Remove coords from diagnose 2023-04-14 23:24:31 +02:00
Andre Basche 272556586e Refresh token workaround because expires to fast 2023-04-14 23:15:27 +02:00
Andre Basche e82c14ec99 Add some type hints 2023-04-13 23:35:43 +02:00
Andre Basche 970b94bfa7 Fix unclear session errors 2023-04-12 19:14:50 +02:00
Andre Basche 33454f68b8 Encode username/password 2023-04-12 02:10:37 +02:00
Andre Basche 6b2c60d552 Fix session issues 2023-04-12 01:07:33 +02:00
Andre Basche 46e6a85e84 add diagnose property for devices 2023-04-11 22:14:36 +02:00
Andre Basche 8c832b44cd Fix token refresh problems 2023-04-11 17:09:02 +02:00
Andre Basche b4b782c52c Improve logging for authentication errors 2023-04-11 00:59:00 +02:00
Andre Basche e857fe91de Fix login issue 2023-04-10 20:32:35 +02:00
Andre Basche 79c9678492 Fix float convertion 2023-04-10 18:48:46 +02:00
Andre Basche 7c49589944 Use float for range parameter 2023-04-10 16:59:10 +02:00
Andre Basche f421cf1ce6 Merge branch 'refactor' 2023-04-10 06:50:25 +02:00
Andre Basche ba208ffd98 Improve logging 2023-04-10 06:45:56 +02:00
Andre Basche 3e3fc7ad66 Fix translation command 2023-04-10 06:45:56 +02:00
Andre Basche e8531f3faf Small fixes, Add checks 2023-04-10 06:45:56 +02:00
Andre Basche 2597cbd883 Use regex oven filters #9 2023-04-09 21:49:58 +02:00
Andre Basche 8dc6cd71cd Format with black 2023-04-09 20:55:36 +02:00
Andre Basche 36fad84ee2 Refactor api access 2023-04-09 20:50:28 +02:00
Andre Basche eb6741145a Get new token via refresh-token #10 2023-04-09 18:43:57 +02:00
Andre Basche 8fa01343bc Use connection handler 2023-04-09 18:13:50 +02:00
Miguel Ángel 18b0ecdd68 Override Oven attributes when is disconnected 2023-04-08 22:24:14 +02:00
Andre Basche 36079c3c77 Add oven and program filter 2023-04-08 04:06:36 +02:00
Andre Basche 6d40e73881 Fix missing command attribute 2023-03-22 23:09:48 +01:00
Andre Basche 6c3da96a03 Fix not showing device active when running 2023-03-22 22:42:40 +01:00
drudgebg 5e32dd76c0
Create td.py
Need to work with Tumble Dryers. Tested and work with Tumble Dryer haier HD80-A3959.
2023-03-21 08:39:20 +02:00
Andre Basche 5ec1a760f6 get translation keys 2023-03-21 01:11:33 +01:00
Andre Basche cd5a4c345e Add more api calls 2023-03-21 01:11:33 +01:00
Alexandre Leites e12edda588 Added WD params 2023-03-18 18:02:20 +01:00
Andre Basche 409aa11fcb Clean up authentication 2023-03-17 01:56:04 +01:00
Andre Basche f73ef26e74 Restore last command value only if possible #6 2023-03-14 23:17:36 +01:00
Alexandre Leites c9d4461f8f
Update commands.py to fix None values 2023-03-14 14:30:00 +01:00
Alexandre Leites 318e60e91e
Update device.py trying to set fixed value from history 2023-03-14 14:29:25 +01:00
Alexandre Leites fde41ac456
Update parameter.py to fix parameter being set from history 2023-03-14 14:28:22 +01:00
Andre Basche 7c99ffeaf7 Ignore virtual virtual wine cellar #3 2023-03-13 23:07:36 +01:00
Alexandre Leites f00ee03c0d
Update parameter.py to support missing parameter in some cases with HW5600 2023-03-13 03:59:42 +01:00
Alexandre Leites ec7355e341
Update api.py to correctly set firmwareId 2023-03-13 03:58:45 +01:00
Andre Basche 96233dd7fd Handle appliances without attributes 2023-03-11 22:55:11 +01:00
Andre Basche ef4f7f7398 Restore last command parameters 2023-03-11 02:31:56 +01:00
Andre Basche fc8c92d538 cut and lower program keys 2023-03-11 01:10:27 +01:00
Andre Basche fe4f6e766e Fix connection loose 2023-03-11 00:28:53 +01:00
Andre Basche 6b346f766f Fix command start 2023-03-08 23:01:59 +01:00