Add work items per type and state counter sensors to Azure DevOps (#119737)
* Add work item data * Add work item sensors * Add icon * Add test fixtures * Add none return tests * Apply suggestions from code review Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Apply suggestion * Use icon translations * Apply suggestions from code review Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Update test --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
parent
240bd6c3bf
commit
1d05a917f9
8 changed files with 253 additions and 7 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
from dataclasses import dataclass
|
||||
|
||||
from aioazuredevops.helper import WorkItemTypeAndState
|
||||
from aioazuredevops.models.build import Build
|
||||
from aioazuredevops.models.core import Project
|
||||
|
||||
|
@ -13,3 +14,4 @@ class AzureDevOpsData:
|
|||
organization: str
|
||||
project: Project
|
||||
builds: list[Build]
|
||||
work_items: list[WorkItemTypeAndState]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue