Make scripts executable
This commit is contained in:
		
							
								
								
									
										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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user