Commit Graph

  • 9473d97ad2 Create common interfaces for remaining device types (#895) Steven B 2024-05-10 19:29:28 +01:00
  • 7d4dc4c710 Improve smartdevice update module (#791) Teemu R 2024-05-09 01:43:07 +02:00
  • 1e8e289ac7 Move contribution instructions into docs (#901) Teemu R 2024-05-08 15:25:22 +02:00
  • 353e84438c Add support for contact sensor (T110) (#877) Teemu R 2024-05-07 20:58:18 +02:00
  • 7f98acd477 Add 'battery_percentage' only when it's available (#906) Teemu R 2024-05-07 20:56:24 +02:00
  • b66a337f40 Add H100 1.5.10 and KE100 2.4.0 fixtures (#905) Teemu R 2024-05-07 20:56:03 +02:00
  • fc122eac6b Fix issues after rebasing Teemu Rytilahti 2024-05-07 17:55:14 +02:00
  • 6dcc2758d7 Add update interface for iot and expose it through cli Teemu Rytilahti 2024-04-03 17:54:32 +02:00
  • 3429821b25 Fix linting Teemu Rytilahti 2024-02-23 16:12:28 +01:00
  • 06fe4e71cf Improve smartdevice update module Teemu Rytilahti 2024-02-23 02:32:38 +01:00
  • 39e6aac63b Fix after rebasing Teemu Rytilahti 2024-05-07 17:41:38 +02:00
  • fd8689123f Fix linting Teemu Rytilahti 2024-02-23 16:12:28 +01:00
  • e9dfdf6cf7 Improve smartdevice update module Teemu Rytilahti 2024-02-23 02:32:38 +01:00
  • 253287c7b7 Add warning about tapo watchdog (#902) Teemu R 2024-05-07 14:46:59 +02:00
  • 55653d0346 Improve categorization of features (#904) Teemu R 2024-05-07 11:13:35 +02:00
  • 50b5107f75 Add missing alarm volume 'normal' (#899) Teemu R 2024-05-07 10:38:09 +02:00
  • f063c83378 Add child devices from hubs to generated list of supported devices (#898) Steven B 2024-05-07 07:48:47 +01:00
  • c5d65b624b Make get_module return typed module (#892) Steven B 2024-05-03 16:01:21 +01:00
  • 530fb841b0 Add fixture for waterleak sensor T300 (#897) Teemu R 2024-05-03 15:24:34 +02:00
  • 88381f270f Use Path.save for saving the fixtures (#894) Teemu R 2024-05-03 13:57:43 +02:00
  • 5b486074e2 Add LightEffectModule for dynamic light effects on SMART bulbs (#887) Steven B 2024-05-02 15:31:12 +01:00
  • 5ef81f4669 Improve feature setter robustness (#870) Teemu R 2024-05-02 15:32:06 +02:00
  • 9dcd8ec91b Improve temperature controls (#872) Teemu R 2024-05-02 15:05:26 +02:00
  • 28d41092e5 Update interfaces so they all inherit from Device (#893) Steven B 2024-05-02 13:55:08 +01:00
  • b2194a1c62 Update ks240 fixture with child device query info (#890) Steven B 2024-05-01 16:05:37 +01:00
  • 3fc131dfd2 Fix wifi scan re-querying error (#891) Steven B 2024-05-01 15:56:43 +01:00
  • 46338ee21d Use pydantic.v1 namespace on all pydantic versions (#883) Teemu R 2024-05-01 15:59:35 +02:00
  • 16f17a7729 Add Fan interface for SMART devices (#873) Steven B 2024-04-30 17:42:53 +01:00
  • 7db989e2ec Fix --help on subcommands (#886) Teemu R 2024-04-30 18:30:03 +02:00
  • 5599756d28 Add support for waterleak sensor (T300) (#876) Teemu R 2024-04-30 17:31:47 +02:00
  • 300d823895 Implement choice feature type (#880) Teemu R 2024-04-30 08:56:09 +02:00
  • d3544b4989 Move SmartBulb into SmartDevice (#874) Steven B 2024-04-29 18:19:44 +01:00
  • cb11b36511 Put modules back on children for wall switches (#881) Steven B 2024-04-29 17:34:20 +01:00
  • 6724506fab Update dump_devinfo to print original exception stack on errors. (#882) Steven B 2024-04-29 14:33:46 +01:00
  • e7553a7af4 Fix smartprotocol response list handler to handle null reponses (#884) Steven B 2024-04-29 14:24:30 +01:00
  • d7a36fe071 Add precision_hint to feature (#871) Teemu R 2024-04-29 13:31:42 +02:00
  • fe6b1892cc Fix pypy39 CI cache on macos (#868) Steven B 2024-04-25 15:57:08 +01:00
  • 1ff3162112 Expose IOT emeter info as features (#844) Teemu R 2024-04-25 14:59:17 +02:00
  • 724dad02f7 Do not try coverage upload for pypy (#867) Steven B 2024-04-25 13:02:17 +01:00
  • 6e55c8d989 Add runner.arch to cache-key in CI (#866) Steven B 2024-04-25 13:02:00 +01:00
  • 9efcc0d19f Fix broken CI due to missing python version on macos-latest (#864) Steven B 2024-04-25 08:05:51 +01:00
  • 10629f2db9 Be more lax on unknown SMART devices (#863) Teemu R 2024-04-25 08:36:30 +02:00
  • 53b84b7683 Handle paging of partial responses of lists like child_device_info (#862) Steven B 2024-04-24 19:32:30 +01:00
  • eff8db450d Support for new ks240 fan/light wall switch (#839) Steven B 2024-04-24 19:17:49 +01:00
  • 65874c0365 Embed FeatureType inside Feature (#860) Teemu R 2024-04-24 18:38:52 +02:00
  • e410e4f3f3 Fix incorrect state updates in FakeTestProtocols (#861) Steven B 2024-04-24 12:25:16 +01:00
  • 6e5cae1f47 Implement action feature (#849) Teemu R 2024-04-23 19:49:04 +02:00
  • b860c32d5f Implement feature categories (#846) Teemu R 2024-04-23 19:20:12 +02:00
  • aa969ef020 Better firmware module support for devices not connected to the internet (#854) Steven B 2024-04-23 12:56:32 +01:00
  • 03a0ef3cc3 Include component_nego with child fixtures (#858) Steven B 2024-04-22 18:17:11 +01:00
  • 0ab7436eef Add support for KH100 hub (#847) Adrian Dörr 2024-04-22 15:24:15 +01:00
  • e7d6758b8d Add rust tapo link to README (#857) Teemu R 2024-04-22 14:53:49 +02:00
  • 72db5c6447 Add temperature control module for smart (#848) Teemu R 2024-04-22 13:39:07 +02:00
  • 890900daf3 Add support for feature units (#843) Teemu R 2024-04-22 11:25:30 +02:00
  • 651ad96144 Use brightness module for smartbulb (#853) Teemu R 2024-04-20 20:29:07 +02:00
  • 29b28966e0 Remove mock fixtures (#845) Teemu R 2024-04-20 17:37:24 +02:00
  • 214b26a1ea Re-query missing responses after multi request errors (#850) Steven B 2024-04-20 16:24:49 +01:00
  • aeb2c923c6 Add ColorModule for smart devices (#840) Steven B 2024-04-20 16:18:35 +01:00
  • 4573260ac8 Ignore system environment variables for tests (#851) Teemu R 2024-04-20 17:14:53 +02:00
  • 203bd79253 Enable and convert to future annotations (#838) Steven B 2024-04-17 14:39:24 +01:00
  • 82d92aeea5 smartbulb: Limit brightness range to 1-100 (#829) Teemu R 2024-04-17 13:33:10 +02:00
  • 700643d3cf Add fan module (#764) Teemu R 2024-04-17 12:07:16 +02:00
  • da441bc697 Update poetry locks and pre-commit hooks (#837) Steven B 2024-04-16 19:21:20 +01:00
  • 87fa39dd80 Cache pipx in CI and add custom setup action (#835) Steven B 2024-04-13 18:56:55 +01:00
  • 5d08a4c074 Fix CI issue with python version used by pipx to install poetry (#831) Steven B 2024-03-28 11:57:26 +00:00
  • 0f3b29183d Fix non python 3.8 compliant test (#832) Steven B 2024-03-28 11:38:58 +00:00
  • c08b58cd8b Add colortemp feature for iot devices (#827) Teemu R 2024-03-26 19:33:10 +01:00
  • 35dbda7049 Change state_information to return feature values (#804) Teemu R 2024-03-26 19:28:39 +01:00
  • d63f43a230 Add colortemp module (#814) Teemu R 2024-03-15 17:36:07 +01:00
  • 270614aa02 Revise device initialization and subsequent updates (#807) Teemu R 2024-03-15 17:18:13 +01:00
  • 48ac39e6d8 Refactor split smartdevice tests to test_{iot,smart}device (#822) Teemu R 2024-03-15 16:55:48 +01:00
  • 41e58252f7 Add pre-commit caching and fix poetry extras cache (#817) Steven B 2024-03-15 15:42:40 +00:00
  • 063518b7db Add support for firmware module v1 (#821) Steven B 2024-03-12 17:18:08 +00:00
  • 33be568897 Add P100 fw 1.4.0 fixture (#820) Steven B 2024-03-12 16:28:50 +00:00
  • 7507837734 Fix slow aestransport and cli tests (#816) Steven B 2024-03-11 10:17:12 +00:00
  • 3495bd83df Add T315 fixture, tests for humidity&temperature modules (#802) Teemu R 2024-03-06 19:04:09 +01:00
  • adce92a761 Add iot brightness feature (#808) Steven B 2024-03-06 16:45:08 +00:00
  • 42080bd954 Update test framework for dynamic parametrization (#810) Steven B 2024-03-06 16:18:52 +00:00
  • 652696a9a6 Do not run coverage on pypy and cache poetry envs (#812) Steven B 2024-03-06 15:23:31 +00:00
  • ced879498b Put child fixtures in subfolder (#809) Steven B 2024-03-06 14:54:55 +00:00
  • 0d5a3c8439 Add brightness module (#806) Teemu R 2024-03-05 15:41:40 +01:00
  • eb4c048b57 Simplify device __repr__ (#805) Teemu R 2024-03-05 13:35:19 +01:00
  • fcad0d2344 Add WallSwitch device type and autogenerate supported devices docs (#758) Steven B 2024-03-01 18:32:45 +00:00
  • 0306e05fb9 Fix energy module calling get_current_power (#798) Steven B 2024-02-28 17:57:02 +00:00
  • 24344b71f5 Update dump_devinfo to collect child device info (#796) Steven B 2024-02-28 16:04:57 +00:00
  • 75c60eb97c Add fixture for P110 sw 1.0.7 (#801) Teemu R 2024-02-27 20:06:13 +01:00
  • 97680bdcee Refactor test framework (#794) Steven B 2024-02-27 17:39:04 +00:00
  • 996322cea8 Do not fail fast on pypy CI jobs (#799) Steven B 2024-02-27 14:58:06 +00:00
  • d82747d73f Support multiple child requests (#795) Steven B 2024-02-26 16:13:46 +00:00
  • cbf82c9498 Support for on_off_gradually v2+ (#793) Teemu R 2024-02-24 02:16:43 +01:00
  • a73e2a9ede Add H100 fixtures (#737) Teemu R 2024-02-24 00:12:19 +01:00
  • c3aa34425d Add temperature_unit feature to t315 (#788) Teemu R 2024-02-24 00:05:06 +01:00
  • c61f2e931c Add --child option to feature command (#789) Teemu R 2024-02-23 23:32:17 +01:00
  • 7884436679 Add updated L530 fixture 1.1.6 (#792) Teemu R 2024-02-23 17:13:11 +01:00
  • 9e5d2e5938 Add KS240 fixture ks240_fixture J. Nick Koston 2024-02-22 13:10:10 -10:00
  • bc65f96f85 Add initial support for H100 and T315 (#776) Teemu R 2024-02-22 23:09:38 +01:00
  • 951d41a628 Fix auto update switch (#786) Teemu R 2024-02-22 20:57:42 +01:00
  • 2b0721aea9 Generalize smartdevice child support (#775) Teemu R 2024-02-22 20:46:19 +01:00
  • f965b14021 Add feature for ambient light sensor (#787) Benjamin Ness 2024-02-22 12:11:30 -06:00
  • a87fc3b766 Retry query on 403 after succesful handshake (#785) Steven B 2024-02-22 17:02:03 +00:00