mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Store platform as uppercase (#3251)
This commit is contained in:
parent
9323b3a248
commit
68b3fd6b8f
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class StorageJSON:
|
||||||
def from_esphome_core(
|
def from_esphome_core(
|
||||||
esph, old
|
esph, old
|
||||||
): # type: (CoreType, Optional[StorageJSON]) -> StorageJSON
|
): # type: (CoreType, Optional[StorageJSON]) -> StorageJSON
|
||||||
hardware = esph.target_platform
|
hardware = esph.target_platform.upper()
|
||||||
if esph.is_esp32:
|
if esph.is_esp32:
|
||||||
from esphome.components import esp32
|
from esphome.components import esp32
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue