Matthias Alphart and GitHub
70cf176d93
Add value_template option to KNX expose ( #117732 )
...
* Add value_template option to KNX expose
* template exception handling
2024-05-22 00:09:42 +02:00
Matthias Alphart and GitHub
622d1e4c50
Add data point type option to knx.telegram trigger ( #117463 )
...
* Add data point type (dpt) option to `knx.telegram` trigger
* Rename from `dpt` to `type` to match services
* Add test for GroupValueRead telegrams
* Fix device trigger schema inheritance
* Typesafe dispatcher signal
* readability
* Avoid re-decoding with same transcoder
2024-05-22 00:03:54 +02:00
Matthias Alphart and GitHub
b94735a445
Add async_turn_on/off methods for KNX climate entities ( #117882 )
...
Add async_turn_on/off methods for KNX climate entities
2024-05-21 23:54:43 +02:00
J. Nick Koston and GitHub
5a609c34bb
Fix blocking I/O in the event loop when loading timezones ( #117721 )
2024-05-20 11:06:03 +02:00
Matthias Alphart and GitHub
bca277a027
Add knx.telegram integration specific trigger; update KNX Interface device trigger ( #107592 )
...
* Add `knx.telegram` integration specific trigger
* Move implementation to trigger.py, use it from device_trigger
* test device_trigger
* test trigger.py
* Add "incoming" and "outgoing" and handle legacy device triggers
* work with mixed group address styles
* improve coverage
* Add no-op option
* apply changed linting rules
* Don't distinguish legacy device triggers from new ones
that's now supported since frontend has fixed default values of extra_fields
* review suggestion: reuse trigger schema for device trigger extra fields
* cleanup for readability
* Remove no-op option
2024-05-14 14:45:49 +02:00
481de8cdc9
Ensure config entry operations are always holding the lock ( #117214 )
...
Co-authored-by: Martin Hjelmare <[email protected] >
Co-authored-by: Paulus Schoutsen <[email protected] >
2024-05-12 08:20:08 +09:00
Jan Bouwhuis and GitHub
7eb8f265fe
Add shared notify service migration repair helper ( #117213 )
...
* Add shared notifiy service migration repair helper
* Delete ecobee repairs.py
* Update dependency
* Fix file test
* Fix homematic tests
* Improve tests for file and homematic
2024-05-11 21:13:44 +02:00
Matthias Alphart and GitHub
f115525137
Migrate KNX notify service to entity platform ( #115665 )
2024-04-24 07:51:02 +02:00
Sid and GitHub
f8b6629b26
Enable Ruff PGH rules ( #115091 )
2024-04-08 15:42:22 +02:00
epenet and GitHub
0b01326f9f
Use is in ConfigEntryState enum comparison in tests (A-M) ( #114925 )
2024-04-05 17:16:55 +02:00
Joost Lekkerkerker and GitHub
b9281327c4
Use FlowResultType enum in config flow tests A-M ( #114681 )
2024-04-03 09:21:17 +02:00
Joost Lekkerkerker and GitHub
5d500cb74b
Use is in enum comparison in config flow tests K-O ( #114672 )
2024-04-02 11:21:42 -10:00
Jan Bouwhuis and GitHub
acf2f855fe
Raise ServiceValidationError on number out of range exception ( #114589 )
2024-04-02 12:22:00 +02:00
Sid and GitHub
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02:00
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <[email protected] >
Co-authored-by: Marc Mueller <[email protected] >
Co-authored-by: J. Nick Koston <[email protected] >
2024-03-26 00:02:16 +01:00
J. Nick Koston and GitHub
23ebd80285
Schedule coroutines with eager_task from async_track_state_change_event ( #112807 )
2024-03-09 11:24:54 -10:00
J. Nick Koston and GitHub
a50883d975
Run service call tasks eagerly ( #112791 )
2024-03-08 20:37:21 -10:00
Marc Mueller and GitHub
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller and GitHub
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
J. Nick Koston and GitHub
da50e459bf
Ensure knx tests add config entry before updating it ( #110425 )
2024-02-12 23:13:10 +01:00
J. Nick Koston and GitHub
5528ae9707
Migrate knx to use async_update_entry to alter config entries ( #110312 )
2024-02-12 09:39:05 +01:00
Matthias Alphart and GitHub
f53109f513
Move KNX service registration to async_setup ( #106635 )
2024-01-07 23:26:46 +01:00
Matthias Alphart and GitHub
a9b51f0255
Fix KNX telegram device trigger not firing after integration reload ( #107388 )
2024-01-07 20:32:17 +01:00
Jan Bouwhuis and GitHub
c7eab49c70
Raise ServiceValidationError on invalid select option ( #106350 )
...
* Raise ServiceValidationError on invalid select option
* Fix tests
* Correct place holders
* More test fixes
2023-12-27 09:45:55 +01:00
Joost Lekkerkerker and GitHub
a82410d5e9
Deduplicate constants E-Z ( #105657 )
2023-12-13 17:05:37 +01:00
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <[email protected] >
2023-11-27 14:38:59 +01:00
Erik Montnemery and GitHub
67e25dc0bf
Quote domain name in setup logs ( #104239 )
...
* Quote domain name in setup logs
* Update tests
2023-11-20 12:55:16 +01:00
Erik Montnemery and GitHub
80813e992d
Improve formatting of component errors ( #104081 )
...
* Improve formatting of component errors
* Update tests
2023-11-17 23:01:00 +01:00
Jan-Philipp Benecke and GitHub
0eafc8f2cd
Update k-l* tests to use entity & device registry fixtures ( #103929 )
2023-11-13 20:02:33 +01:00
Matthias Alphart and GitHub
70196d5ee0
Fix KNX expose default value when attribute is None ( #103446 )
...
Fix KNX expose default value when attribute is `null`
2023-11-06 08:39:40 +01:00
e6895b5738
Fix menu in knx config flow ( #102168 )
...
* Fix menu in knx config flow
* Update tests
* Fix strings.json
* Rename new menu steps for readabiltiy
---------
Co-authored-by: Matthias Alphart <[email protected] >
2023-10-17 22:25:35 +02:00
Michael Hammer and GitHub
f899e5159b
KNX: Provide project data and parser version via websocket ( #100676 )
...
* feat(knxproject-explore): providing knxproject via websocket, also xknxproject version in info mesage
* feat(knxproject-explore): adding test case
* reverted back adding of xknxproject version
* fix(): Enriching get project test case to check against FIXTURE
* feat(knxproject-explore): providing knxproject via websocket, also xknxproject version in info mesage
* feat(knxproject-explore): adding test case
* reverted back adding of xknxproject version
* fix(): Enriching get project test case to check against FIXTURE
2023-09-26 23:17:37 +02:00
9c54c4abf5
Use snapshot assertion for KNX diagnostics ( #98724 )
...
Co-authored-by: farmio <[email protected] >
2023-08-21 11:48:55 +02:00
Matthias Alphart and GitHub
0f5d423d1e
Move KNX keyring validation and storage to helper module ( #97931 )
...
* Move KNX keyfile validation and store to helper module
* Rename module and fix tests
2023-08-07 23:30:14 +02:00
83af2f5b8b
Allow to sort options in select selector ( #97680 )
...
Co-authored-by: Franck Nijhof <[email protected] >
2023-08-03 21:49:22 +02:00
Matthias Alphart and GitHub
74deb8b011
Add datetime platform to KNX ( #97190 )
2023-07-25 11:04:05 +02:00
Matthias Alphart and GitHub
8ff9f2ddbe
Add date platform to KNX ( #97154 )
2023-07-24 21:12:37 +02:00
Matthias Alphart and GitHub
89259865fb
Restore KNX telegram history ( #95800 )
...
* Restore KNX telegram history
* increase default log size
* test removal of telegram history
2023-07-09 21:15:55 +02:00
Matthias Alphart and GitHub
479015244d
KNX Cover: Use absolute tilt position if available ( #96192 )
2023-07-09 12:00:51 +02:00
Matthias Alphart and GitHub
c81b6255c2
Use async_on_remove for KNX entities removal ( #95658 )
...
* Use `async_on_remove` for KNX entities removal
* review
2023-07-01 07:16:45 -04:00
Matthias Alphart and GitHub
1615f3e1fd
Add reload service to KNX ( #95489 )
2023-06-28 21:45:17 -04:00
Matthias Alphart and GitHub
489781c1e6
Add time platform to KNX ( #95302 )
2023-06-28 15:19:32 +02:00
Franck Nijhof and GitHub
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
Matthias Alphart and GitHub
2ce23c17ca
Update KNX frontend - add Group monitor telegram detail view ( #95144 )
...
* Use TelegramDict for WS communication
* Update knx_frontend
2023-06-25 14:58:08 +02:00
Matthias Alphart and GitHub
733bca88f1
Fix KNX device trigger passing info data ( #95076 )
2023-06-22 21:13:10 +02:00
Ville Skyttä and GitHub
2e59ae9e90
Import util.dt as dt_util in components/[k-o]* ( #93760 )
2023-05-29 23:02:14 +02:00
Matthias Alphart and GitHub
b10e73e2d4
Configurable KNX Telegram history size ( #93248 )
...
* Configurable KNX Telegram history size
* Add maximum value to description
2023-05-22 18:09:59 +02:00
Matthias Alphart and GitHub
c522ea855d
KNX Group Monitor: Load latest 50 Telegrams on start ( #93153 )
...
* remove impossible test
IndividualAddress telegrams are not processed by xknx.telegram_queue
* Use Telegrams helper class for group monitor messages
* Store 50 telegrams in deque for group monitor
* Send recent telegrams at once on connection of group monitor
* Update KNX-frontend to support group monitor prepopulation
2023-05-17 09:58:00 +02:00
Matthias Alphart and GitHub
2f8e8901fc
Add KNX interface device trigger for telegrams ( #93102 )
...
* telegram device trigger initial
* add Telegrams helper class
to parse and convert Telegram only once instead of once per device trigger
* translation
* label for extra_field
* test device trigger
* test trigger callback removal
* rename extra_field key to same name as used in trigger
* typo
2023-05-15 22:59:29 +02:00
6250b0a230
Add a custom panel for KNX with a group monitor ( #92355 )
...
* Add KNX panel
* provide project data for the panel group monitor
* upload and delete project from panel
* test project store
* more tests
* finish tests
* use integers for DPTBinary payload monitor display
* add project to diagnostics
* require new frontend version
* update knx_frontend
* review suggestions
* update xknxproject to 3.1.0
---------
Co-authored-by: Marvin Wichmann <[email protected] >
2023-05-11 00:13:22 +02:00