mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2026-01-01 14:19:13 +03:00
ref: python code cleaning
This commit is contained in:
@@ -99,11 +99,6 @@ AirConDisplayOffAction = aux_ac_ns.class_(
|
||||
AirConDisplayOnAction = aux_ac_ns.class_(
|
||||
"AirConDisplayOnAction", automation.Action)
|
||||
|
||||
# test packet action
|
||||
# AirConSendTestPacketAction = aux_ac_ns.class_(
|
||||
# "AirConSendTestPacketAction", automation.Action
|
||||
# )
|
||||
|
||||
# vertical louvers actions
|
||||
AirConVLouverSwingAction = aux_ac_ns.class_(
|
||||
"AirConVLouverSwingAction", automation.Action)
|
||||
@@ -188,12 +183,6 @@ CUSTOM_PRESETS = {
|
||||
validate_custom_presets = cv.enum(CUSTOM_PRESETS, upper=True)
|
||||
|
||||
|
||||
def validate_raw_data(value):
|
||||
if isinstance(value, list):
|
||||
return cv.Schema([cv.hex_uint8_t])(value)
|
||||
raise cv.Invalid("data must be a list of bytes")
|
||||
|
||||
|
||||
def output_info(config):
|
||||
# _LOGGER.info(config.items())
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user