Matthias Alphart
d418a40856
Create, update and delete KNX entities from UI / WS-commands ( #104079 )
...
* knx entity CRUD - initial commit - switch
* platform dependent schema
* coerce empty GA-lists to None
* read entity configuration from WS
* use entity_id instead of unique_id for lookup
* Add device support
* Rename KNXEntityStore to KNXConfigStore
* fix test after rename
* Send schema options for creating / editing entities
* Return entity_id after entity creation
* remove device_class config in favour of more-info-dialog settings
* refactor group address schema for custom selector
* Rename GA keys and remove invalid keys from schema
* fix rebase
* Fix deleting devices and their entities
* Validate entity schema in extra step - return validation infos
* Use exception to signal validation error; return validated data
* Forward validation result when editing entities
* Get proper validation error message for optional GAs
* Add entity validation only WS command
* use ulid instead of uuid
* Fix error handling for edit unknown entity
* Remove unused optional group address sets from validated schema
* Add optional dpt field for ga_schema
* Move knx config things to sub-key
* Add light platform
* async_forward_entry_setups only once
* Test crate and remove devices
* Test removing entities of a removed device
* Test entity creation and storage
* Test deleting entities
* Test unsuccessful entity creation
* Test updating entity data
* Test get entity config
* Test validate entity
* Update entity data by entity_id instead of unique_id
* Remove unnecessary uid unique check
* remove schema_options
* test fixture for entity creation
* clean up group address schema
class can be used to add custom serializer later
* Revert: Add light platfrom
* remove unused optional_ga_schema
* Test GASelector
* lint tests
* Review
* group entities before adding
* fix / ignore mypy
* always has_entity_name
* Entity name: check for empty string when no device
* use constants instead of strings in schema
* Fix mypy errors for voluptuous schemas
---------
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com >
2024-07-21 20:01:48 +02:00
..
2024-07-21 08:41:42 +02:00
2024-07-15 20:49:21 +02:00
2024-07-13 16:10:09 +02:00
2024-07-06 12:28:52 +02:00
2024-07-10 09:30:50 +02:00
2024-07-19 14:46:30 +02:00
2024-07-02 22:13:19 +02:00
2024-07-04 21:27:56 +02:00
2024-07-16 22:35:04 +02:00
2024-07-09 10:56:53 -05:00
2024-07-07 13:41:31 -07:00
2024-07-12 16:54:22 +02:00
2024-07-19 14:45:42 +02:00
2024-07-20 14:09:37 +02:00
2024-07-19 11:35:24 +02:00
2024-07-08 22:19:02 +02:00
2024-07-20 14:09:37 +02:00
2024-07-15 09:23:05 +02:00
2024-07-14 23:59:24 +02:00
2024-07-11 00:01:17 +02:00
2024-07-10 09:12:56 +02:00
2024-07-19 14:46:30 +02:00
2024-07-19 13:06:45 +02:00
2024-07-20 11:11:16 +02:00
2024-07-06 18:52:27 +02:00
2024-07-20 11:16:04 +02:00
2024-07-20 11:16:04 +02:00
2024-07-19 14:45:42 +02:00
2024-07-20 11:11:16 +02:00
2024-07-07 16:34:05 +02:00
2024-07-21 13:56:16 +02:00
2024-07-19 16:44:03 +02:00
2024-07-17 13:09:56 +02:00
2024-07-16 22:39:00 +02:00
2024-07-19 14:55:23 +02:00
2024-07-19 14:55:23 +02:00
2024-07-19 16:44:03 +02:00
2024-07-18 11:57:11 +02:00
2024-07-19 14:45:42 +02:00
2024-07-16 15:12:25 +02:00
2024-07-06 18:21:15 +02:00
2024-07-16 15:12:25 +02:00
2024-07-19 17:51:34 +02:00
2024-07-21 12:26:32 +02:00
2024-07-16 11:57:37 +02:00
2024-07-20 11:16:04 +02:00
2024-07-19 12:56:27 +02:00
2024-07-19 11:35:24 +02:00
2024-07-07 21:44:41 +02:00
2024-07-20 11:16:04 +02:00
2024-07-19 14:46:30 +02:00
2024-07-19 14:40:50 +02:00
2024-07-10 11:21:38 +02:00
2024-07-16 15:12:25 +02:00
2024-07-06 10:50:16 +02:00
2024-07-04 10:30:17 +02:00
2024-07-19 19:49:11 +02:00
2024-07-21 19:57:41 +02:00
2024-07-04 10:27:37 +02:00
2024-07-04 05:56:01 -07:00
2024-07-20 11:16:04 +02:00
2024-07-04 02:09:34 -07:00
2024-07-05 11:35:56 +02:00
2024-07-11 09:05:22 +02:00
2024-07-11 00:01:17 +02:00
2024-07-04 10:27:55 +02:00
2024-07-21 09:47:59 -05:00
2024-07-19 18:25:07 +02:00
2024-07-04 10:23:14 +02:00
2024-07-07 17:05:14 +02:00
2024-07-11 09:37:32 +02:00
2024-07-04 04:53:49 -05:00
2024-07-07 17:50:27 +02:00
2024-07-05 09:05:21 +02:00
2024-07-05 16:42:55 +02:00
2024-07-20 11:13:13 +02:00
2024-07-03 14:05:34 -05:00
2024-07-12 16:01:50 +02:00
2024-07-19 13:06:45 +02:00
2024-07-06 15:02:58 +02:00
2024-07-05 13:25:31 +02:00
2024-07-19 16:44:03 +02:00
2024-07-20 14:09:37 +02:00
2024-07-19 16:44:03 +02:00
2024-07-20 11:16:04 +02:00
2024-07-19 11:35:24 +02:00
2024-07-05 09:45:20 +02:00
2024-07-19 08:22:06 +02:00
2024-07-20 11:16:04 +02:00
2024-07-06 19:04:52 +02:00
2024-07-20 11:11:16 +02:00
2024-07-19 14:46:30 +02:00
2024-07-16 15:12:25 +02:00
2024-07-07 20:42:45 +02:00
2024-07-05 15:49:22 +01:00
2024-07-19 16:44:03 +02:00
2024-07-05 11:35:56 +02:00
2024-07-08 11:34:50 +02:00
2024-07-20 11:16:04 +02:00
2024-07-05 15:49:22 +01:00
2024-07-08 13:31:05 +02:00
2024-07-19 12:10:39 +02:00
2024-07-10 09:30:50 +02:00
2024-07-08 12:57:19 +02:00
2024-07-19 12:56:27 +02:00
2024-07-16 15:12:25 +02:00
2024-07-11 11:17:12 +02:00
2024-07-03 23:35:02 +01:00
2024-07-16 15:12:25 +02:00
2024-07-10 21:53:11 +02:00
2024-07-21 20:01:48 +02:00
2024-07-08 12:57:52 +02:00
2024-07-08 12:54:18 +02:00
2024-07-16 15:12:25 +02:00
2024-07-16 23:48:34 +02:00
2024-07-20 02:46:27 +02:00
2024-07-04 22:08:50 +02:00
2024-07-12 21:16:16 -05:00
2024-07-12 16:27:50 +02:00
2024-07-03 15:57:02 +02:00
2024-07-11 00:01:17 +02:00
2024-07-08 13:30:29 +02:00
2024-07-08 14:04:11 +02:00
2024-07-14 23:26:12 +02:00
2024-07-08 13:30:01 +02:00
2024-07-21 08:43:52 +02:00
2024-07-20 11:16:04 +02:00
2024-07-12 17:45:04 +02:00
2024-07-18 17:38:30 +02:00
2024-07-21 10:15:28 -05:00
2024-07-04 05:08:53 +01:00
2024-07-20 11:16:04 +02:00
2024-07-17 18:40:05 -05:00
2024-07-10 09:30:50 +02:00
2024-07-05 15:49:22 +01:00
2024-07-19 13:06:45 +02:00
2024-07-19 11:29:58 +02:00
2024-07-04 21:40:25 +02:00
2024-07-10 09:30:50 +02:00
2024-07-20 14:09:37 +02:00
2024-07-16 15:12:25 +02:00
2024-07-20 11:13:13 +02:00
2024-07-10 09:30:50 +02:00
2024-07-04 02:33:47 -07:00
2024-07-19 19:50:38 +02:00
2024-07-05 15:49:22 +01:00
2024-07-16 15:12:25 +02:00
2024-07-16 15:12:25 +02:00
2024-07-03 09:19:46 -05:00
2024-07-17 09:04:54 +02:00
2024-07-19 14:45:42 +02:00
2024-07-05 15:49:22 +01:00
2024-07-11 00:01:17 +02:00
2024-07-05 15:49:22 +01:00
2024-07-20 11:16:04 +02:00
2024-07-07 19:39:54 +02:00
2024-07-19 19:15:42 +02:00
2024-07-07 16:36:16 +02:00
2024-07-10 23:08:25 +02:00
2024-07-10 09:30:50 +02:00
2024-07-20 13:10:23 +02:00
2024-07-20 14:09:37 +02:00
2024-07-12 09:13:55 +02:00
2024-07-05 15:49:22 +01:00
2024-07-20 11:16:04 +02:00
2024-07-19 19:35:44 +02:00
2024-07-06 11:24:32 +02:00
2024-07-16 15:12:25 +02:00
2024-07-10 23:02:33 +02:00
2024-07-05 16:32:10 +02:00
2024-07-20 11:16:04 +02:00
2024-07-19 16:44:03 +02:00
2024-07-20 11:16:04 +02:00
2024-07-12 16:31:49 +02:00
2024-07-10 17:45:07 +02:00
2024-07-19 17:09:50 +02:00
2024-07-16 15:12:25 +02:00
2024-07-18 15:27:03 -05:00
2024-07-20 16:46:39 +02:00
2024-07-19 13:06:45 +02:00
2024-07-19 11:26:05 +02:00
2024-07-19 11:35:24 +02:00
2024-07-06 21:18:02 +02:00
2024-07-20 11:16:04 +02:00
2024-07-20 11:16:48 +02:00
2024-07-20 11:16:04 +02:00
2024-07-05 09:46:12 +02:00
2024-07-20 11:16:04 +02:00
2024-07-05 15:49:22 +01:00
2024-07-05 15:49:22 +01:00
2024-07-19 11:35:24 +02:00
2024-07-03 23:49:01 +03:00
2024-07-20 11:16:04 +02:00
2024-07-19 13:06:45 +02:00
2024-07-20 11:16:04 +02:00
2024-07-06 19:09:00 +02:00
2024-07-19 14:46:30 +02:00
2024-07-19 11:35:24 +02:00
2024-07-06 13:46:19 +02:00
2024-07-18 13:00:35 +02:00
2024-07-20 11:16:04 +02:00
2024-07-20 14:37:57 +02:00
2024-07-16 15:12:25 +02:00
2024-07-18 09:38:26 +02:00
2024-07-16 22:36:31 +02:00
2024-07-11 00:01:17 +02:00
2024-07-11 00:01:17 +02:00
2024-07-19 09:35:54 +02:00
2024-07-19 11:35:24 +02:00
2024-07-05 15:49:22 +01:00
2024-07-20 11:16:04 +02:00
2024-07-19 11:35:24 +02:00
2024-07-04 21:09:19 +02:00
2024-07-04 21:09:19 +02:00
2024-07-04 21:09:19 +02:00
2024-07-07 16:21:04 +02:00
2024-07-19 14:46:30 +02:00
2024-07-16 15:12:25 +02:00
2024-07-05 22:33:04 +02:00
2024-07-20 02:46:27 +02:00
2024-07-19 12:06:53 +02:00
2024-07-21 18:50:00 +02:00
2024-07-19 19:02:28 +02:00
2024-07-16 15:12:25 +02:00
2024-07-19 11:35:24 +02:00
2024-07-20 02:50:12 +02:00
2024-07-19 21:20:43 +02:00
2024-07-20 11:11:16 +02:00
2024-07-19 10:30:01 +02:00
2024-07-05 15:49:22 +01:00
2024-07-19 10:01:46 +02:00
2024-07-05 00:19:24 +03:00
2024-07-20 11:16:04 +02:00
2024-07-16 15:12:25 +02:00
2024-07-18 10:09:12 +02:00
2024-07-19 17:49:27 +02:00
2024-07-19 10:08:14 +02:00
2024-07-05 16:32:10 +02:00
2024-07-04 20:51:57 +02:00
2024-07-04 20:24:27 +02:00
2024-07-14 03:25:15 +02:00
2024-07-05 15:49:22 +01:00
2024-07-19 11:35:24 +02:00
2024-07-10 23:50:47 +02:00