mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Add integration scaffolding script (#26777)
* Add integration scaffolding script * Make easier to develop * Update py.test -> pytest
This commit is contained in:
12
script/scaffold/model.py
Normal file
12
script/scaffold/model.py
Normal file
@ -0,0 +1,12 @@
|
||||
"""Models for scaffolding."""
|
||||
import attr
|
||||
|
||||
|
||||
@attr.s
|
||||
class Info:
|
||||
"""Info about new integration."""
|
||||
|
||||
domain: str = attr.ib()
|
||||
name: str = attr.ib()
|
||||
codeowner: str = attr.ib()
|
||||
requirement: str = attr.ib()
|
Reference in New Issue
Block a user