G Johansson
93aade6e8e
Change lock state to an enum ( #126379 )
...
* Add new LockState enum for lock states
* Add rest
* Fix insteon tests
* Fix mqtt tests
* Fix tesla_fleet
* Revert back ST_STATE_LOCKED
* Add back constant
2024-09-24 12:30:50 +02:00
G Johansson
f102d99004
Fix insteon test ( #126404 )
...
* Fix insteon test
* Increase time
* More sleep
2024-09-21 21:04:29 -04:00
Tom Harris
7433d2eca9
Add broken link and missing device lists to insteon configuration panel ( #119715 )
...
* Add broken link and missing device lists
* Fix incorrect import
* Add tests
* Bump pyinsteon
* Typing
2024-09-20 12:11:51 +02:00
epenet
1afcbd02a9
Move insteon base entity to separate module ( #126099 )
2024-09-17 15:40:33 +02:00
epenet
f0af33bd2b
Add missing hass type hint in component tests (i) ( #124216 )
2024-08-19 12:40:17 +02:00
epenet
3e967700fd
Add missing return type in test __init__ method (part 2) ( #123939 )
...
* Add missing return type in test __init__ method (part 2)
* Adjust
* One more
* One more
* More
2024-08-14 17:59:15 +02:00
Michael
0d4ca35784
Remove unused async_setup method in insteon ( #123201 )
2024-08-06 10:13:12 +02:00
epenet
3059bf0536
Improve type hints in insteon tests ( #121504 )
2024-07-08 11:34:50 +02:00
epenet
fb1b0058ee
Fix consider-using-tuple pylint warnings in component tests ( #119464 )
...
* Fix consider-using-tuple pylint warnings in component tests
* Apply su
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-06-12 15:50:27 +02:00
Erik Montnemery
db8597a742
Reduce scope of JSON/XML test fixtures ( #116197 )
2024-04-25 19:12:36 -05:00
Tom Harris
c5c407b3bb
Move Insteon configuration panel to config entry ( #105581 )
...
* Move Insteon panel to the config menu
* Bump pyinsteon to 1.5.3
* Undo devcontainer.json changes
* Bump Insteon frontend
* Update config_flow.py
* Code cleanup
* Code review changes
* Fix failing tests
* Fix format
* Remove unnecessary exception
* codecov
* Remove return from try
* Fix merge mistake
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-16 09:10:32 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
epenet
0b01326f9f
Use is in ConfigEntryState enum comparison in tests (A-M) ( #114925 )
2024-04-05 17:16:55 +02:00
Joost Lekkerkerker
b9281327c4
Use FlowResultType enum in config flow tests A-M ( #114681 )
2024-04-03 09:21:17 +02:00
Joost Lekkerkerker
906d3198e3
Use is in enum comparison in config flow tests F-J ( #114670 )
...
* Use right enum expression F-J
* Fix
2024-04-02 23:01:37 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
J. Nick Koston
88fce6a76d
Fix formatting of mac addresses from dhcp discovery mocking in insteon ( #110578 )
...
dhcp returns addresses in lowercase without :
2024-02-14 20:49:32 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Tom Harris
4096687112
Allow for manual config entry of Insteon PLM path ( #103705 )
2023-11-24 12:33:51 +01:00
Jan-Philipp Benecke
92b3c0c96b
Update i-j* tests to use entity & device registry fixtures ( #103900 )
2023-11-13 11:51:55 +01:00
Ville Skyttä
e7b6037419
Remove unnnecessary pylint configs from components [e-l]* ( #99004 )
2023-08-25 09:46:34 +02:00
Tom Harris
3eedbe92ad
Fix issue with Insteon linked devices maintaining current state ( #94286 )
...
* Bump pyinsteon
* Update tests
2023-06-11 10:21:33 -04:00
Erik Montnemery
0916a6c0cb
Remove insteon import flow ( #93952 )
2023-06-02 09:21:19 +02:00
Tom Harris
e2fb1de0d9
Clean up Insteon config_flow ( #93004 )
...
* Clean up config_flow
* Remove unnecessary logging
* Remove logger
* Add more tests
* Test closing modem connection
* Simplify patching
2023-05-23 17:31:17 +02:00
Tom Harris
0c0c86bf7b
Add support for new Insteon i3 devcies ( #89892 )
2023-03-20 21:56:44 -10:00
epenet
c51bde9a26
Fail CI on lingering tasks ( #88905 )
2023-03-07 11:35:48 +01:00
epenet
ec5c3d6330
Add type hints to integration tests ( #88476 )
2023-02-20 11:43:51 +01:00
Tom Harris
d84fde8c54
Insteon scenes ( #87803 )
...
* Add Insteon scene support
* Bump to pyinsteon 1.3.1
* Add tests
* Bump Insteon Panel to 0.3.1
* Change docstring
2023-02-18 15:52:49 +01:00
epenet
ea29cdfe83
Add type hints to integration tests (part 12) ( #87997 )
2023-02-13 13:03:51 +01:00
Tom Harris
926534bde2
Bump pyinsteon to 1.3.1 ( #87788 )
...
* Bump pyinsteon to 1.3.1
* Fix record received test
* Fix status received test
2023-02-09 21:40:06 +01:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) ( #87703 )
2023-02-08 18:12:56 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Tom Harris
8cf6ebd363
Allow changing the Insteon USB device ( #86290 )
...
* Reconfig PLM device
* Test config change
2023-01-21 23:04:25 -05:00
Franck Nijhof
79b52a2b41
Stricter pylint message control ( #86154 )
2023-01-20 13:47:55 +01:00
Tom Harris
4ffd6fc4be
Add Insteon lock and load controller devices ( #75632 )
2022-07-27 10:06:33 -10:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
Tom Harris
08b69319ca
Insteon bug fixes ( #73791 )
2022-06-22 10:04:11 +02:00
epenet
4eb46d45ca
Cleanup deprecated async_get_registry in tests ( #72059 )
2022-05-18 13:12:38 +02:00
Tom Harris
781ec87dff
Fix Insteon tests ( #71092 )
2022-04-29 21:26:27 -07:00
Tom Harris
a9ca774e7e
Insteon Device Control Panel ( #70834 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-28 12:35:43 -07:00
Tom Harris
6363c67398
Insteon HUB DHCP discovery ( #70685 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-25 09:01:56 -07:00
Paulus Schoutsen
b049ffca23
Add Insteon USB discovery ( #70306 )
...
* Add Insteon USB discovery
* Update tests/components/insteon/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Black
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-20 10:07:35 -07:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +02:00
Simone Chemelli
969930b9c9
Remove debug print ( #63460 )
2022-01-05 15:34:33 +01:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Tom Harris
3461f61f9f
Create APIs for Insteon panel ( #49785 )
2021-07-22 08:11:36 -10:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00