fix formatting in python files
This commit is contained in:
parent
9bde8737f9
commit
ee4bf34083
|
|
@ -151,6 +151,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
||||
async def to_code(config):
|
||||
parent = await cg.get_variable(config[CONF_PANASONIC_HEATPUMP_ID])
|
||||
for index, key in enumerate(TYPES):
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ TYPES = [
|
|||
CONF_CLIMATE_ZONE2,
|
||||
]
|
||||
|
||||
|
||||
def climate_options(min_temp, max_temp, temp_step) -> cv.Schema:
|
||||
schema = cv.Schema(
|
||||
{
|
||||
|
|
@ -60,6 +61,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
||||
async def to_code(config):
|
||||
parent = await cg.get_variable(config[CONF_PANASONIC_HEATPUMP_ID])
|
||||
for index, key in enumerate(TYPES):
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ TYPES = [
|
|||
CONF_SET38,
|
||||
]
|
||||
|
||||
|
||||
def number_options(min_val, max_val, step) -> cv.Schema:
|
||||
schema = cv.Schema(
|
||||
{
|
||||
|
|
@ -96,6 +97,7 @@ def number_options(min_val, max_val, step) -> cv.Schema:
|
|||
)
|
||||
return schema
|
||||
|
||||
|
||||
PanasonicHeatpumpNumber = panasonic_heatpump_ns.class_(
|
||||
"PanasonicHeatpumpNumber", number.Number, cg.Component
|
||||
)
|
||||
|
|
@ -255,6 +257,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
||||
async def to_code(config):
|
||||
parent = await cg.get_variable(config[CONF_PANASONIC_HEATPUMP_ID])
|
||||
for index, key in enumerate(TYPES):
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
||||
async def to_code(config):
|
||||
parent = await cg.get_variable(config[CONF_PANASONIC_HEATPUMP_ID])
|
||||
for index, key in enumerate(TYPES):
|
||||
|
|
|
|||
|
|
@ -955,6 +955,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
||||
async def to_code(config):
|
||||
parent = await cg.get_variable(config[CONF_PANASONIC_HEATPUMP_ID])
|
||||
for index, key in enumerate(TYPES):
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
||||
async def to_code(config):
|
||||
parent = await cg.get_variable(config[CONF_PANASONIC_HEATPUMP_ID])
|
||||
for index, key in enumerate(TYPES):
|
||||
|
|
|
|||
|
|
@ -166,6 +166,7 @@ CONFIG_SCHEMA = cv.Schema(
|
|||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
||||
async def to_code(config):
|
||||
parent = await cg.get_variable(config[CONF_PANASONIC_HEATPUMP_ID])
|
||||
for index, key in enumerate(TYPES):
|
||||
|
|
|
|||
Loading…
Reference in New Issue