Make scripts executable
This commit is contained in:
parent
e24b48d672
commit
9370cf84b8
2
scripts/generate_translation.py
Normal file → Executable file
2
scripts/generate_translation.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import asyncio
|
||||
import json
|
||||
import re
|
||||
|
@ -1,6 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
|
||||
from custom_components.hon.binary_sensor import BINARY_SENSORS
|
||||
from custom_components.hon.button import BUTTONS
|
||||
from custom_components.hon.number import NUMBERS
|
||||
|
Loading…
Reference in New Issue
Block a user