mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Uncouple safe_mode from OTA (#6759)
This commit is contained in:
		| @@ -4,11 +4,8 @@ wifi: | ||||
|  | ||||
| ota: | ||||
|   - platform: esphome | ||||
|     safe_mode: true | ||||
|     password: "superlongpasswordthatnoonewillknow" | ||||
|     port: 3286 | ||||
|     reboot_timeout: 2min | ||||
|     num_attempts: 5 | ||||
|     on_begin: | ||||
|       then: | ||||
|         - logger.log: "OTA start" | ||||
|   | ||||
| @@ -2,9 +2,9 @@ wifi: | ||||
|   ssid: MySSID | ||||
|   password: password1 | ||||
|  | ||||
| ota: | ||||
|   - platform: esphome | ||||
|     safe_mode: true | ||||
| safe_mode: | ||||
|   num_attempts: 3 | ||||
|   reboot_timeout: 2min | ||||
|  | ||||
| button: | ||||
|   - platform: safe_mode | ||||
|   | ||||
		Reference in New Issue
	
	Block a user