Commit graph

42 commits

Author SHA1 Message Date
Andre Basche b0e3b15ff0 Add pylint checks 2023-07-12 19:36:32 +02:00
Andre Basche 3d5c8405ea Improve error handling 2023-07-09 23:58:55 +02:00
Andre Basche a10ab4423e Add stricter mypy rules 2023-07-01 14:59:09 +02:00
Andre Basche 44f40c531e Fix some minor issues 2023-06-29 22:08:51 +02:00
Andre Basche b5d8a90d79 Fix messed up parameters in request 2023-06-28 20:25:52 +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 11988c73a6 Fix command parameter issue hon#63 2023-06-09 02:09:20 +02:00
Andre Basche 3c7ad3f395 Fix changed hOn login 2023-06-07 02:27:02 +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 af4fbdd8cd Make 'code' attribute optional, fix hon#51 2023-05-16 20:46:46 +02:00
Andre Basche 22a98e1781 Add favorites request 2023-05-14 23:04:36 +02:00
Andre Basche d350d639cc Add maintenance cycle 2023-05-13 00:16:52 +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 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 ad864286fc Use firmware id optional 2023-04-23 14:40:39 +02:00
Andre Basche b04c601ad6 Add log for empty token 2023-04-21 23:51:35 +02:00
Andre Basche 46ff9be4a2 Fix code depts 2023-04-15 23:02:37 +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 d26e33a055 Fix error in starting programs 2023-04-15 00:29:24 +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 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 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