mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Fix crash when storage file doesnt exist yet (#8249)
This commit is contained in:
		| @@ -853,7 +853,7 @@ class InfoRequestHandler(BaseHandler): | |||||||
|         dashboard = DASHBOARD |         dashboard = DASHBOARD | ||||||
|         entry = dashboard.entries.get(yaml_path) |         entry = dashboard.entries.get(yaml_path) | ||||||
|  |  | ||||||
|         if not entry: |         if not entry or entry.storage is None: | ||||||
|             self.set_status(404) |             self.set_status(404) | ||||||
|             return |             return | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user