mirror of
https://github.com/Andre0512/hon.git
synced 2024-12-22 18:55:31 +00:00
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 asyncio
|
||||||
import json
|
import json
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
import sys
|
||||||
from pathlib import Path
|
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.binary_sensor import BINARY_SENSORS
|
||||||
from custom_components.hon.button import BUTTONS
|
from custom_components.hon.button import BUTTONS
|
||||||
from custom_components.hon.number import NUMBERS
|
from custom_components.hon.number import NUMBERS
|
||||||
|
|
Loading…
Reference in a new issue