mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
Fix
This commit is contained in:
+1
-1
@@ -284,7 +284,7 @@ def perform_ota(
|
||||
else:
|
||||
features = 0
|
||||
|
||||
if ota_type not in (OTA_TYPE_UPDATE_APP):
|
||||
if ota_type != OTA_TYPE_UPDATE_APP:
|
||||
raise OTAError(f"Unsupported OTA type: 0x{ota_type:02X}")
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user