From 868b218228b85fccdeef1248ca0910a0f2f4377b Mon Sep 17 00:00:00 2001 From: Martijn Date: Wed, 13 Nov 2024 19:39:23 +0100 Subject: [PATCH] str to string --- package/cards/music.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/cards/music.yaml b/package/cards/music.yaml index 072ad27..d4a9fa9 100644 --- a/package/cards/music.yaml +++ b/package/cards/music.yaml @@ -139,7 +139,7 @@ script: id(main_display).print(75+25+x, 52+y, id(font_arial20), id(music_card_text_color), TextAlign::TOP_LEFT , id(music_title).state.c_str()); - id: music_card_bar parameters: - type: str + type: string then: - lambda: |- if (strcmp(type, "volume_up") == 0) { // button "volume_up"