-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add room functions * rename to singular form and fix some issues. * Missing docstring in public method * fix ci * missing function docstring * add functions to old tests * fix typo * test stub * correct indent * correct isort * add identifier,name,role,ref_id,project_uid to group_addresse * add usage_text to functions * add address to function group addresses * remove ref_id from group_address * restore tox.ini * move functions to root level * use next to find ga address --------- Co-authored-by: Bacher, Dominik <d.bacher@schubert-system-elektronik.de>
- Loading branch information
Showing
13 changed files
with
361 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"info": { | ||
"project_id": "P-05C0", | ||
"name": "Minimal-Example", | ||
"last_modified": "2023-07-07T12:41:11.4132414Z", | ||
"group_address_style": "ThreeLevel", | ||
"guid": "efabc0f9-4e81-440d-a236-b80913e85730", | ||
"created_by": "ETS6", | ||
"schema_version": "22", | ||
"tool_version": "6.1.5686.0", | ||
"xknxproject_version": "3.2.0", | ||
"language_code": "de-DE" | ||
}, | ||
"communication_objects": {}, | ||
"topology": { | ||
"0": { | ||
"name": "", | ||
"description": null, | ||
"lines": { | ||
"0": { | ||
"name": "", | ||
"description": null, | ||
"devices": [], | ||
"medium_type": "KNXnet/IP (IP)" | ||
} | ||
} | ||
}, | ||
"1": { | ||
"name": "", | ||
"description": null, | ||
"lines": { | ||
"0": { | ||
"name": "", | ||
"description": null, | ||
"devices": [], | ||
"medium_type": "KNXnet/IP (IP)" | ||
}, | ||
"1": { | ||
"name": "", | ||
"description": null, | ||
"devices": [], | ||
"medium_type": "Twisted Pair (TP)" | ||
} | ||
} | ||
} | ||
}, | ||
"devices": {}, | ||
"group_addresses": { | ||
"0/0/1": { | ||
"name": "Schalten", | ||
"identifier": "GA-1", | ||
"raw_address": 1, | ||
"address": "0/0/1", | ||
"project_uid": 14, | ||
"dpt": { | ||
"main": 1, | ||
"sub": 1 | ||
}, | ||
"communication_object_ids": [], | ||
"description": "Livingroom LivingroomLight" | ||
}, | ||
"0/0/2": { | ||
"name": "Status", | ||
"identifier": "GA-2", | ||
"raw_address": 2, | ||
"address": "0/0/2", | ||
"project_uid": 16, | ||
"dpt": { | ||
"main": 1, | ||
"sub": 1 | ||
}, | ||
"communication_object_ids": [], | ||
"description": "Livingroom LivingroomLight" | ||
} | ||
}, | ||
"locations": { | ||
"Minimal-Example": { | ||
"type": "Building", | ||
"identifier": "P-05C0-0_BP-1", | ||
"name": "Minimal-Example", | ||
"usage_id": null, | ||
"usage_text": "", | ||
"number": "", | ||
"description": "", | ||
"project_uid": 9, | ||
"devices": [], | ||
"spaces": { | ||
"Livingroom": { | ||
"type": "Room", | ||
"identifier": "P-05C0-0_BP-2", | ||
"name": "Livingroom", | ||
"usage_id": "SU-4", | ||
"usage_text": "Wohnzimmer", | ||
"number": "", | ||
"description": "", | ||
"project_uid": 10, | ||
"devices": [], | ||
"spaces": {}, | ||
"functions": [ | ||
"F-1" | ||
] | ||
} | ||
}, | ||
"functions": [] | ||
} | ||
}, | ||
"functions": { | ||
"F-1": { | ||
"function_type": "FT-1", | ||
"group_addresses": { | ||
"0/0/1": { | ||
"address": "0/0/1", | ||
"name": "", | ||
"project_uid": 15, | ||
"role": "SwitchOnOff" | ||
}, | ||
"0/0/2": { | ||
"address": "0/0/2", | ||
"name": "", | ||
"project_uid": 17, | ||
"role": "InfoOnOff" | ||
} | ||
}, | ||
"identifier": "F-1", | ||
"name": "LivingroomLight", | ||
"project_uid": 11, | ||
"space_id": "P-05C0-0_BP-2", | ||
"usage_text": "switchable light" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.