diff --git a/.rules/yamllint.yml b/.rules/yamllint.yml index 95bb8138..a578b50d 100644 --- a/.rules/yamllint.yml +++ b/.rules/yamllint.yml @@ -32,7 +32,7 @@ rules: line-length: max: 120 allow-non-breakable-words: true - allow-non-breakable-inline-mappings: false + allow-non-breakable-inline-mappings: true new-line-at-end-of-file: enable new-lines: enable octal-values: diff --git a/esphome/nspanel_esphome_core_hw_buzzer.yaml b/esphome/nspanel_esphome_core_hw_buzzer.yaml index 7bbff96d..813d9317 100644 --- a/esphome/nspanel_esphome_core_hw_buzzer.yaml +++ b/esphome/nspanel_esphome_core_hw_buzzer.yaml @@ -23,7 +23,9 @@ api: actions: - action: rtttl_play variables: - tone: string # The RTTTL string for the melody to be played. It should follow the RTTTL format, including the melody's name, default settings, and a sequence of notes. + # The RTTTL string for the melody to be played. + # It should follow the RTTTL format, including the melody's name, default settings, and a sequence of notes. + tone: string then: - lambda: |- buzzer->stop(); diff --git a/esphome/nspanel_esphome_core_page_qrcode.yaml b/esphome/nspanel_esphome_core_page_qrcode.yaml index 676b6263..c279cbf9 100644 --- a/esphome/nspanel_esphome_core_page_qrcode.yaml +++ b/esphome/nspanel_esphome_core_page_qrcode.yaml @@ -72,7 +72,6 @@ script: then: - lambda: |- if (!id(qrcode_string).empty()) - // qrcode (uint16_t x1, uint16_t y1, const char *content, uint16_t size=200, uint16_t background_color=65535, uint16_t foreground_color=0, uint8_t logo_pic=-1, uint8_t border_width=8) disp1->qrcode(((id(display_mode) == 2 ? 320 : 480)-200)/2, // x1 ((id(display_mode) == 2 ? 480 : 320)-200)/2, // y1 id(qrcode_string).c_str(), // content