Skip to content

Commit

Permalink
yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Nov 20, 2024
1 parent f946429 commit 97e189e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rules/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion esphome/nspanel_esphome_core_hw_buzzer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion esphome/nspanel_esphome_core_page_qrcode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97e189e

Please sign in to comment.