mirror of https://github.com/esphome/esphome.git
Lint
This commit is contained in:
parent
4e25c57d62
commit
dfbff347ff
|
@ -120,7 +120,11 @@ async def to_code(config):
|
|||
|
||||
cg.add(var.set_exit_reparse_on_start_internal(config[CONF_EXIT_REPARSE_ON_START]))
|
||||
|
||||
cg.add(var.set_skip_connection_handshake_internal(config[CONF_SKIP_CONNECTION_HANDSHAKE]))
|
||||
cg.add(
|
||||
var.set_skip_connection_handshake_internal(
|
||||
config[CONF_SKIP_CONNECTION_HANDSHAKE]
|
||||
)
|
||||
)
|
||||
|
||||
await display.register_display(var, config)
|
||||
|
||||
|
|
|
@ -146,7 +146,6 @@ void Nextion::dump_config() {
|
|||
}
|
||||
ESP_LOGCONFIG(TAG, " Wake On Touch: %s", YESNO(this->auto_wake_on_touch_));
|
||||
ESP_LOGCONFIG(TAG, " Exit reparse: %s", YESNO(this->exit_reparse_on_start_));
|
||||
|
||||
|
||||
if (this->touch_sleep_timeout_ != 0) {
|
||||
ESP_LOGCONFIG(TAG, " Touch Timeout: %" PRIu32, this->touch_sleep_timeout_);
|
||||
|
|
|
@ -55,9 +55,7 @@ bool Nextion::set_protocol_reparse_mode(bool active_mode) {
|
|||
return all_commands_sent;
|
||||
}
|
||||
void Nextion::set_exit_reparse_on_start(bool exit_reparse) { this->exit_reparse_on_start_ = exit_reparse; }
|
||||
void Nextion::set_skip_connection_handshake(bool skip_handshake) {
|
||||
this->skip_connection_handshake_ = skip_handshake;
|
||||
}
|
||||
void Nextion::set_skip_connection_handshake(bool skip_handshake) { this->skip_connection_handshake_ = skip_handshake; }
|
||||
|
||||
// Set Colors - Background
|
||||
void Nextion::set_component_background_color(const char *component, uint16_t color) {
|
||||
|
|
Loading…
Reference in New Issue