From 251f98db3b2d8db66f2779e5d48a6a14520fcbf5 Mon Sep 17 00:00:00 2001 From: basbruss <68892092+basbruss@users.noreply.github.com> Date: Fri, 24 Dec 2021 17:01:41 +0100 Subject: [PATCH 1/9] Fix folder structure --- .DS_Store | Bin 0 -> 8196 bytes .github/.DS_Store | Bin 0 -> 6148 bytes config/.DS_Store | Bin 0 -> 6148 bytes custom_cards/.DS_Store | Bin 0 -> 14340 bytes .../custom_card_light_color/.DS_Store | Bin 0 -> 6148 bytes .../card_light_color.yaml | 291 +++++++---- .../card_light_color.yaml | 456 ------------------ .../custom_card_light_color/readme.md | 137 ------ .../custom_card_light_color/readme.md | 198 ++------ .../screenshots/dark.png | Bin .../screenshots/dark_horizontal.png | Bin .../screenshots/dark_slider.png | Bin .../screenshots/light.png | Bin .../screenshots/light_horizontal.png | Bin .../screenshots/light_slider.png | Bin .../custom_card_light_icon_info/.DS_Store | Bin 0 -> 6148 bytes .../card_light_icon_info.yaml | 60 +++ .../card_light_icon_info.yaml | 357 -------------- .../custom_card_light_icon_info/readme.md | 120 ----- .../custom_card_light_icon_info/readme.md | 20 +- 20 files changed, 321 insertions(+), 1318 deletions(-) create mode 100644 .DS_Store create mode 100644 .github/.DS_Store create mode 100644 config/.DS_Store create mode 100644 custom_cards/.DS_Store create mode 100644 custom_cards/custom_card_light_color/.DS_Store delete mode 100644 custom_cards/custom_card_light_color/custom_card_light_color/card_light_color.yaml delete mode 100644 custom_cards/custom_card_light_color/custom_card_light_color/readme.md rename custom_cards/custom_card_light_color/{custom_card_light_color => }/screenshots/dark.png (100%) rename custom_cards/custom_card_light_color/{custom_card_light_color => }/screenshots/dark_horizontal.png (100%) rename custom_cards/custom_card_light_color/{custom_card_light_color => }/screenshots/dark_slider.png (100%) rename custom_cards/custom_card_light_color/{custom_card_light_color => }/screenshots/light.png (100%) rename custom_cards/custom_card_light_color/{custom_card_light_color => }/screenshots/light_horizontal.png (100%) rename custom_cards/custom_card_light_color/{custom_card_light_color => }/screenshots/light_slider.png (100%) create mode 100644 custom_cards/custom_card_light_icon_info/.DS_Store delete mode 100644 custom_cards/custom_card_light_icon_info/custom_card_light_icon_info/card_light_icon_info.yaml delete mode 100644 custom_cards/custom_card_light_icon_info/custom_card_light_icon_info/readme.md diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a0ee5132883a9ff2610d262831354539d2429245 GIT binary patch literal 8196 zcmeHMyN=U96upx*8)pMjgccD|Ss=OvvJVBJZ9)h?fDsh1O5!*q(b}FUwn-61azO(~ z)RcS%5>JVehKh!AzX59Qc*cn*i5Ij5T8Wux=8W&$J3jaLISv4jdT4J0lmS4;%CJ<# zW<_D+tS*(Duv|hU7!OWw+w4$xxa6q}N&%&SQa~x76i^DB76tH`&5EA!+~=dJRSGBt z{!0be{lUP>uqH6#7~eXuiI)I~8k*yR{SxaS8UkwqBaS$Nh44^B9!kU#gYa;)8^W(9 zFyhF=fr!Ni5qlb-LhvC#HZC-A zs|_Qt!MDc#P#lA|*3cRFL8bDYv=t|7xe?PPse7^4nn`)9z9}P_bGL(q~Eq4 z47%fHY4Z;Cg7(1cj^coU-9?wj4+ox2$8{Qdwjalud_XVgg=VQdne0?6TgL8Qb-HCt zZtY-yZ?`&~7W4~OZtUM{9y+c^U$6x5_A74FaE@=!+LzeN%umuh|N7=}zG?l(`=1j1 zGv`hpi@))gj?2aymO$p*PtB3%P_KtREbjt1c*H!srb5IXbitQ0gZz)xUg?~Ccb3zN z`O?`O?u;0h?ELh;E9k5I?JkvafM>C$8-t+76&)yPW?K6M# zV7f-gXMSR-=YK4RYLo&eR$z@smf8CMZua;86VI;#l>$nE)2{&08fK%8Jd>BUManre u7+70aSz&$=$2bHV=ECfnz}X*$XfuSZCNScNBUsdjfLI3AC1$hnJRq% literal 0 HcmV?d00001 diff --git a/.github/.DS_Store b/.github/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..6f3fa3a623a8f923f1a3e375ac8eba1340afc0c6 GIT binary patch literal 6148 zcmeHK%}T>S5dO9;(jrLl8zJ_P-ezUWr z4XG9{Qe-B~ew*2uWb$puWB|Cq_40ko-tjSh!3BI}|xX+(=Gx^RsQ7dS(P6P(t( z&9IFO$lmSY2tyv{+_~lc9iuOMIlb-;$N6lo$?tq@@}K2tI-2Gq`n8{4Uq1Jr-};+l zCcloE->l|!DCu>uK#n`y;tEsF7Pzlw-;_6ejn`_<5AS8pYdx2l{_I)J&r5zL#(*(k z3~UPntl1*%T}2y>0b{@zC>fCNgQp565evoe>EIAr0Ah>gAe>7tAu&E;60uO^3dLzC zQA1s9F`S0e?xSB4u~5`-xY&HScxM+o6c_H!>-*pimnhn33>X7d2AX=>mHMB3-~U&G z?93Q22L2TTu9Xhc0Us&W*4o2Kt@YGPs)+a%ie(5Vp%l|sO7Q_T2<=`b#3W*&NDIY& N1Og2<7z2OGz!%hFT4n$M literal 0 HcmV?d00001 diff --git a/config/.DS_Store b/config/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..926edf0d207e02488c7d24c3c3ddd9603ebfade8 GIT binary patch literal 6148 zcmeHK!Ab)$5S`Q_6)!~;Jm%olL;oO_^$Yp~wzk;9uDejZ?`H`r9`xXk_z7OcH#1Rp zyY^6orN|6SUUo8*%)FGOAtE=toeqflMAU;acJ|QxB0SF8kWRGlpp!W=8dFLOTGCC! z+YH;t0Po!)W!ST8Xm$Tiv4=BQ3hd}u`pficFuKgMLJN7j+axy2lVpl^QX7#GoYs+_4eCd*w!-!jDf9ZfX@dHWegEZML9aq$P)nAg;@lBeoJtSj~F7BiWq@7 z4Fzhbi%$%v;jsJY7b2F58ct4D#yoLl7hfn&R)^h-JGr1}tubH>)EU^(&pzM(=j-49 z^&tB)28@A!#enN3qhyGZ;@#RPj_+Czy@0Z?U#a*Vf{t9p@a3!c7%Bq0=MFGLEEQpa P*dGC*!5U+rRR%r*y(DJG literal 0 HcmV?d00001 diff --git a/custom_cards/.DS_Store b/custom_cards/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..218764be1838462db6a432bf087838083ebe1d81 GIT binary patch literal 14340 zcmeI3O>7%Q6vt=XG;ta#BA_HuqiO|*3Mr^gV@05HFd>Lm99qQ@kqF3Lf5b6e?;6{Q zfhfW!Bq&I5L z`OWOS@tQHFZ5)(W8Ot!n(nyrgKZM*cC$B(cP&M|%MBF;Get~t73SSlJu`A(74I~E`F5O8=SLC_56=YhX~Fm2g6Em=y*-o% zylv-JIBSu|yYA+9faPBaC%{S9jW;)wQ_*gn=3>*#B5z%yuF66=bxcVu6Vq9L-l z`iI9NbX`Ouadc!ZUE*>!1eZPdh>a1xGDv6n>F7!#qfbuV>5b_T>m`zkuO{=lM!e1i z@@lgN`ca0h!h;O>QWIxl?8g1D=0A>Szl*CUvU@k{v5Qqlkzi7qGDqGYgYPkiU{*qE zgIt9jf~J$#aFp(kZICs1d7zJ;{~SCM(G|IV@sh_iA?^MspR~5jIR_kSQv?(NML-cy z1R@hygXJQh7yJME-oU)jK>SY;tl>Y`IsID{4e>sF?ZWNe+%R-q#5qkI9r^yM6VOLT zaCs9^MG><y z4yhov|L4nI`$MbrXI;@%e0VI4;6bZ8w5HRNCo`G;3QQuXh+MAjdR!tY_1VNz z^5LUnrtUv#?1K%(Ocl)UZA49Lpft{dQXQfdTT^8B>!%*O1a$i(lhl>CrtSj4i1iE_ zZyI3U22YExYZS=`Wv^R4h@v5K+xo`i7QCJjP#1AjilZZOaefS12=q4-BXJe|khoA} zPHP#>VyD$`SCqdmHq2V9oyq*JrA|zpoSsR~r03GF=lAVSzHPJ*S{p`lm)>pLwpr|z zjp8e{N~bXY*bBDRHfmO-$qj1d3Ql=#r)HJy&W3$pm0R34?|hJ+P0tqQ7mtoEu4h*C zwe0%wihlI$MU=B^>&M5l=`&AWxU^NcVb(4C1Nyr0W0m`(7CY^{_x3kY3fXGO7gFob zg;x+g;r%&pWh-PoL_dhGB6&gTV*(Sh9*6m+W!hF1mP9#t?a9}N(A#Kj;)X<(EqoMR zNu+C@_2@>dmqxdp9SWyih>~_+*e1@L?dolR={|8%1b#+BR5%@<5 zXj7Z{%?(_l7lsU8jh?mBk**`rId_q0Lz$ak#~;T-&L79a8+sh?8Ge$x!)G}vBJVmm nO4$DO2LXHkPwM@@Xu`D$aTHhazdO_SS&I-ksrdiD8~^_eJI`^J literal 0 HcmV?d00001 diff --git a/custom_cards/custom_card_light_color/.DS_Store b/custom_cards/custom_card_light_color/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..3a69ad25cffb040058eddcb578f8f3d387f1968e GIT binary patch literal 6148 zcmeHKOHKnZ47H()k-Dk6Vwo%S2B8{G&kln#;U&ZQGK?g3e2ENM%7T2VuXjzE8L zN^^{Cz4(UpZuK#X zCxi_N27-ZLAQ%V+e#8LIY>}#O7=17h3{txVo!E;H_BX#4FRX7z{G{f@*)aNGAQ)&faB9PW zoc|a2Wjc%ewo8nHfneaDF~GfgQjhUbezt!4JUMF<+7wMh?20H5=&eft2C|Qw>7uPC a(P5Vzi=jl3d36WIML-FOE*SU)23`RC3N| - [[[ - if (states['sun.sun'].state == "below_horizon"){ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + entity.attributes.rgb_color + ',0.1)' - } - else{ - return 'rgba(var(--color-yellow),0.1)' - } - }else if (states['sun.sun'].state == "above_horizon") - return 'rgba(var(--color-background-yellow),var(--opacity-bg))'; - ]]] styles: card: - border-radius: "var(--border-radius)" - box-shadow: "var(--box-shadow)" - padding: "12px" + - background-color: tap_action: action: "toggle" +### horizontal slider +card_light_horizontal_color: + template: + - "list_items_light" + - "ulm_language_variables" + - "background_color" + variables: + ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" + ulm_card_light_icon: + ulm_card_light_mode: + show_icon: false + show_name: false + show_label: false + styles: + grid: + - grid-template-columns: "auto auto" + - column-gap: "0px" + - grid-template-columns: "1fr 2fr" + card: + - border-radius: "var(--border-radius)" + - box-shadow: "var(--box-shadow)" + - padding: "12px" + tap_action: + action: "toggle" + hold_action: + action: "more-info" + custom_fields: + item1: + card: + type: "custom:button-card" + entity: "[[[ return entity.entity_id ]]]" + template: + - "icon_info_light" + - "auto_color" + variables: + ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" + ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" + ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode ]]]" + item2: + card: + type: "custom:my-slider" + entity: "[[[ return entity.entity_id ]]]" + radius: "14px" + height: "42px" + mainSliderColor: > + [[[ + var color = entity.attributes.rgb_color; + if (color){ + return 'rgba(' + color + ',1)' + } + else{ + return 'rgba(var(--color-yellow),1)' + } + ]]] + secondarySliderColor: > + [[[ + var color = entity.attributes.rgb_color; + if (color){ + return 'rgba(' + color + ',0.2)'; + } + else{ + return 'rgba(var(--color-yellow),0.2)'; + } + ]]] + mainSliderColorOff: "rgba(var(--color-theme),0.05)" + secondarySliderColorOff: "rgba(var(--color-theme),0.05)" + thumbHorizontalPadding: "0px" + thumbVerticalPadding: "0px" + thumbWidth: "0px" + card_mod: + style: | + ha-card { + border-radius: 14px; + box-shadow: none; + } ### slider card card_light_slider_color: template: - "ulm_language_variables" + - "background_color" variables: ulm_card_light_slider_name: "[[[ return entity.attributes.friendly_name ]]]" ulm_card_light_icon: + ulm_card_light_mode: show_icon: false show_name: false show_label: false - state: - - operator: "template" - value: "[[[ return entity.state == 'on' ]]]" - styles: - card: - - background-color: > - [[[ - if (states['sun.sun'].state == "below_horizon"){ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + entity.attributes.rgb_color + ',0.1)' - } - else{ - return 'rgba(var(--color-yellow),0.1)' - } - }else if (states['sun.sun'].state == "above_horizon") - return 'rgba(var(--color-background-yellow),var(--opacity-bg))'; - ]]] styles: grid: - grid-template-areas: "'item1' 'item2'" @@ -82,6 +126,7 @@ card_light_slider_color: variables: ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" + ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode ]]]" template: - "icon_info_light" - "auto_color" @@ -95,7 +140,7 @@ card_light_slider_color: [[[ var color = entity.attributes.rgb_color; if (color){ - return 'rgba(' + entity.attributes.rgb_color + ',1)' + return 'rgba(' + color + ',1)' } else{ return 'rgba(var(--color-yellow),1)' @@ -105,7 +150,7 @@ card_light_slider_color: [[[ var color = entity.attributes.rgb_color; if (color){ - return 'rgba(' + entity.attributes.rgb_color + ',0.2)'; + return 'rgba(' + color + ',0.2)'; } else{ return 'rgba(var(--color-yellow),0.2)'; @@ -126,32 +171,14 @@ card_light_slider_color: card_light_slider_collapse_color: template: - "ulm_language_variables" + - "background_color" variables: ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" ulm_card_light_icon: + ulm_card_light_mode: show_icon: false show_name: false show_label: false - state: - - operator: "template" - value: "[[[ return entity.state == 'on' ]]]" - styles: - card: - - background-color: > - [[[ - if (states['sun.sun'].state == "below_horizon"){ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + entity.attributes.rgb_color + ',0.1)' - } - else{ - return 'rgba(var(--color-yellow),0.1)' - } - }else if (states['sun.sun'].state == "above_horizon") - return 'rgba(var(--color-background-yellow),var(--opacity-bg))'; - ]]] - grid: - - row-gap: "12px" styles: grid: - grid-template-areas: "'item1' 'item2'" @@ -171,6 +198,7 @@ card_light_slider_collapse_color: variables: ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" + ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode ]]]" template: - "icon_info_light" - "auto_color" @@ -189,7 +217,7 @@ card_light_slider_collapse_color: [[[ var color = entity.attributes.rgb_color; if (color){ - return 'rgba(' + entity.attributes.rgb_color + ',1)' + return 'rgba(' + color + ',1)' } else{ return 'rgba(var(--color-yellow),1)' @@ -199,7 +227,7 @@ card_light_slider_collapse_color: [[[ var color = entity.attributes.rgb_color; if (color){ - return 'rgba(' + entity.attributes.rgb_color + ',0.2)'; + return 'rgba(' + color + ',0.2)'; } else{ return 'rgba(var(--color-yellow),0.2)'; @@ -215,6 +243,7 @@ card_light_slider_collapse_color: ha-card { border-radius: 14px; box-shadow: none; + margin-top: 12px; } ### internal templates auto_color: @@ -226,44 +255,18 @@ auto_color: [[[ var color = entity.attributes.rgb_color; if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; + return 'rgba(' + color + ',1)'; } else{ return 'rgba(var(--color-yellow),1)'; } ]]] - label: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (states['sun.sun'].state == "below_horizon"){ - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - }else{ - return 'rgba(var(--color-yellow),1)'; - } - }else if (states['sun.sun'].state == "above_horizon") - return 'rgba(var(--color-yellow-text),1)'; - ]]] - name: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (states['sun.sun'].state == "below_horizon"){ - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - }else{ - return 'rgba(var(--color-yellow),1)'; - } - }else if (states['sun.sun'].state == "above_horizon") - return 'rgba(var(--color-yellow-text),1)'; - ]]] img_cell: - background-color: > [[[ var color = entity.attributes.rgb_color; if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',0.2)'; + return 'rgba(' + color + ',0.2)'; } else{ return 'rgba(var(--color-yellow),0.2)'; @@ -271,11 +274,12 @@ auto_color: ]]] icon_info_light: template: - - "list_items_light" + - "list_items_light_color" - "ulm_language_variables" variables: ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" + ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode]]]" show_icon: false show_name: false show_label: false @@ -316,7 +320,8 @@ icon_info_light: entity: "[[[ return entity.entity_id ]]]" template: - "icon_info" - - "auto_color" + variables: + ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode]]]" show_icon: false label: >- [[[ @@ -336,6 +341,63 @@ icon_info_light: } ]]] name: "[[[ return variables.ulm_card_light_name ]]]" + state: + - value: "on" + styles: + label: + - color: > + [[[ + var mode = variables.ulm_card_light_mode + var color = entity.attributes.rgb_color; + if (mode != null){ + if (mode == 'dark'){ + if (color){ + return 'rgba(' + color + ',1)' + } else{ + return 'rgba(var(--color-yellow-text),1)' + } + } else if (mode == 'light'){ + return 'rgba(var(--color-yellow-text),1)'; + } + } else { + if (states['sun.sun'].state == "below_horizon"){ + if (color){ + return 'rgba(' + color + ',1)' + } else{ + return 'rgba(var(--color-yellow-text),1)' + } + } else if (states['sun.sun'].state == "above_horizon"){ + return 'rgba(var(--color-yellow-text),1)'; + } + } + ]]] + name: + - color: > + [[[ + var mode = variables.ulm_card_light_mode; + var color = entity.attributes.rgb_color; + if (mode != null){ + if (mode == 'dark'){ + if (color){ + return 'rgba(' + color + ',1)' + } else{ + return 'rgba(var(--color-yellow-text),1)' + } + } else if (mode == 'light'){ + return 'rgba(var(--color-yellow-text),1)'; + } + } else { + if (states['sun.sun'].state == "below_horizon"){ + if (color){ + return 'rgba(' + color + ',1)' + } else{ + return 'rgba(var(--color-yellow-text),1)' + } + } else if (states['sun.sun'].state == "above_horizon"){ + return 'rgba(var(--color-yellow-text),1)'; + } + } + ]]] styles: card: - box-shadow: "none" @@ -343,3 +405,52 @@ icon_info_light: - padding: "6px" - margin-left: "-7px" - background-color: "rgba(0,0,0,0)" + custom_fields: + notification: > + [[[ + if (entity.state ==".."){ + return `` + } + ]]] +list_items_light_color: + styles: + card: + - box-shadow: "none" + - padding: "0px" + grid: + - grid-template-areas: "'item1 item2'" + - grid-template-columns: "2fr 1fr" + - grid-template-rows: "min-content" + - column-gap: "7px" +background_color: + state: + - operator: "template" + value: "[[[ return entity.state == 'on' ]]]" + styles: + card: + - background-color: > + [[[ + var mode = variables.ulm_card_light_mode; + var color = entity.attributes.rgb_color; + if (mode != null){ + if (mode == 'dark'){ + if (color){ + return 'rgba(' + color + ',0.1)' + } else{ + return 'rgba(var(--color-yellow),0.1)' + } + } else if (mode == 'light'){ + return 'rgba(var(--color-background-yellow),var(--opacity-bg))'; + } + } else { + if (states['sun.sun'].state == "below_horizon"){ + if (color){ + return 'rgba(' + color + ',0.1)' + } else{ + return 'rgba(var(--color-yellow),0.1)' + } + } else if (states['sun.sun'].state == "above_horizon"){ + return 'rgba(var(--color-background-yellow),var(--opacity-bg))'; + } + } + ]]] diff --git a/custom_cards/custom_card_light_color/custom_card_light_color/card_light_color.yaml b/custom_cards/custom_card_light_color/custom_card_light_color/card_light_color.yaml deleted file mode 100644 index 5d736af64..000000000 --- a/custom_cards/custom_card_light_color/custom_card_light_color/card_light_color.yaml +++ /dev/null @@ -1,456 +0,0 @@ ---- -card_light_color: - template: - - "icon_info_light" - - "ulm_language_variables" - - "background_color" - variables: - ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" - ulm_card_light_icon: - ulm_card_light_mode: - show_icon: false - show_name: false - show_label: false - styles: - card: - - border-radius: "var(--border-radius)" - - box-shadow: "var(--box-shadow)" - - padding: "12px" - - background-color: - tap_action: - action: "toggle" -### horizontal slider -card_light_horizontal_color: - template: - - "list_items_light" - - "ulm_language_variables" - - "background_color" - variables: - ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" - ulm_card_light_icon: - ulm_card_light_mode: - show_icon: false - show_name: false - show_label: false - styles: - grid: - - grid-template-columns: "auto auto" - - column-gap: "0px" - - grid-template-columns: "1fr 2fr" - card: - - border-radius: "var(--border-radius)" - - box-shadow: "var(--box-shadow)" - - padding: "12px" - tap_action: - action: "toggle" - hold_action: - action: "more-info" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - template: - - "icon_info_light" - - "auto_color" - variables: - ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" - ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" - ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode ]]]" - item2: - card: - type: "custom:my-slider" - entity: "[[[ return entity.entity_id ]]]" - radius: "14px" - height: "42px" - mainSliderColor: > - [[[ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + color + ',1)' - } - else{ - return 'rgba(var(--color-yellow),1)' - } - ]]] - secondarySliderColor: > - [[[ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + color + ',0.2)'; - } - else{ - return 'rgba(var(--color-yellow),0.2)'; - } - ]]] - mainSliderColorOff: "rgba(var(--color-theme),0.05)" - secondarySliderColorOff: "rgba(var(--color-theme),0.05)" - thumbHorizontalPadding: "0px" - thumbVerticalPadding: "0px" - thumbWidth: "0px" - card_mod: - style: | - ha-card { - border-radius: 14px; - box-shadow: none; - } -### slider card -card_light_slider_color: - template: - - "ulm_language_variables" - - "background_color" - variables: - ulm_card_light_slider_name: "[[[ return entity.attributes.friendly_name ]]]" - ulm_card_light_icon: - ulm_card_light_mode: - show_icon: false - show_name: false - show_label: false - styles: - grid: - - grid-template-areas: "'item1' 'item2'" - - grid-template-columns: "1fr" - - grid-template-rows: "min-content min-content" - - row-gap: "12px" - card: - - border-radius: "var(--border-radius)" - - box-shadow: "var(--box-shadow)" - - padding: "12px" - tap_action: - action: "toggle" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - variables: - ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" - ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" - ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode ]]]" - template: - - "icon_info_light" - - "auto_color" - item2: - card: - type: "custom:my-slider" - entity: "[[[ return entity.entity_id ]]]" - radius: "14px" - height: "42px" - mainSliderColor: > - [[[ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + color + ',1)' - } - else{ - return 'rgba(var(--color-yellow),1)' - } - ]]] - secondarySliderColor: > - [[[ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + color + ',0.2)'; - } - else{ - return 'rgba(var(--color-yellow),0.2)'; - } - ]]] - mainSliderColorOff: "rgba(var(--color-theme),0.05)" - secondarySliderColorOff: "rgba(var(--color-theme),0.05)" - thumbHorizontalPadding: "0px" - thumbVerticalPadding: "0px" - thumbWidth: "0px" - card_mod: - style: | - ha-card { - border-radius: 14px; - box-shadow: none; - } -### slider collapse card -card_light_slider_collapse_color: - template: - - "ulm_language_variables" - - "background_color" - variables: - ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" - ulm_card_light_icon: - ulm_card_light_mode: - show_icon: false - show_name: false - show_label: false - styles: - grid: - - grid-template-areas: "'item1' 'item2'" - - grid-template-columns: "1fr" - - grid-template-rows: "min-content min-content" - card: - - border-radius: "var(--border-radius)" - - box-shadow: "var(--box-shadow)" - - padding: "12px" - tap_action: - action: "toggle" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - variables: - ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" - ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" - ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode ]]]" - template: - - "icon_info_light" - - "auto_color" - item2: - card: - type: "conditional" - conditions: - - entity: "[[[ return entity.entity_id ]]]" - state: "on" - card: - type: "custom:my-slider" - entity: "[[[ return entity.entity_id ]]]" - radius: "14px" - height: "42px" - mainSliderColor: > - [[[ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + color + ',1)' - } - else{ - return 'rgba(var(--color-yellow),1)' - } - ]]] - secondarySliderColor: > - [[[ - var color = entity.attributes.rgb_color; - if (color){ - return 'rgba(' + color + ',0.2)'; - } - else{ - return 'rgba(var(--color-yellow),0.2)'; - } - ]]] - mainSliderColorOff: "rgba(var(--color-theme),0.05)" - secondarySliderColorOff: "rgba(var(--color-theme),0.05)" - thumbHorizontalPadding: "0px" - thumbVerticalPadding: "0px" - thumbWidth: "0px" - card_mod: - style: | - ha-card { - border-radius: 14px; - box-shadow: none; - margin-top: 12px; - } -### internal templates -auto_color: - state: - - value: "on" - styles: - icon: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + color + ',1)'; - } - else{ - return 'rgba(var(--color-yellow),1)'; - } - ]]] - img_cell: - - background-color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + color + ',0.2)'; - } - else{ - return 'rgba(var(--color-yellow),0.2)'; - } - ]]] -icon_info_light: - template: - - "list_items_light_color" - - "ulm_language_variables" - variables: - ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" - ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" - ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode]]]" - show_icon: false - show_name: false - show_label: false - styles: - grid: - - grid-template-columns: "min-content auto" - - column-gap: "0px" - card: - - background-color: "rgba(0,0,0,0)" - tap_action: - action: "toggle" - hold_action: - action: "more-info" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - template: - - "icon" - - "auto_color" - icon: > - [[[ - var icon = 'mdi:lightbulb'; - if (variables.ulm_card_light_icon != null){ - var icon = variables.ulm_card_light_icon; - } - else{ - return icon ; - } - return icon ; - ]]] - tap_action: - action: "more-info" - item2: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - template: - - "icon_info" - variables: - ulm_card_light_mode: "[[[ return variables.ulm_card_light_mode]]]" - show_icon: false - label: >- - [[[ - if (entity.state !='unavailable'){ - if (entity.state =='off'){ - return variables.ulm_off; - } else if (entity.state == 'on'){ - if (entity.attributes.brightness != null){ - var bri = Math.round(entity.attributes.brightness / 2.55); - return (bri ? bri : '0') + '%'; - } else { - return variables.ulm_on - } - } - } else { - return variables.ulm_unavailable; - } - ]]] - name: "[[[ return variables.ulm_card_light_name ]]]" - state: - - value: "on" - styles: - label: - - color: > - [[[ - var mode = variables.ulm_card_light_mode - var color = entity.attributes.rgb_color; - if (mode != null){ - if (mode == 'dark'){ - if (color){ - return 'rgba(' + color + ',1)' - } else{ - return 'rgba(var(--color-yellow-text),1)' - } - } else if (mode == 'light'){ - return 'rgba(var(--color-yellow-text),1)'; - } - } else { - if (states['sun.sun'].state == "below_horizon"){ - if (color){ - return 'rgba(' + color + ',1)' - } else{ - return 'rgba(var(--color-yellow-text),1)' - } - } else if (states['sun.sun'].state == "above_horizon"){ - return 'rgba(var(--color-yellow-text),1)'; - } - } - ]]] - name: - - color: > - [[[ - var mode = variables.ulm_card_light_mode; - var color = entity.attributes.rgb_color; - if (mode != null){ - if (mode == 'dark'){ - if (color){ - return 'rgba(' + color + ',1)' - } else{ - return 'rgba(var(--color-yellow-text),1)' - } - } else if (mode == 'light'){ - return 'rgba(var(--color-yellow-text),1)'; - } - } else { - if (states['sun.sun'].state == "below_horizon"){ - if (color){ - return 'rgba(' + color + ',1)' - } else{ - return 'rgba(var(--color-yellow-text),1)' - } - } else if (states['sun.sun'].state == "above_horizon"){ - return 'rgba(var(--color-yellow-text),1)'; - } - } - ]]] - styles: - card: - - box-shadow: "none" - - border-radius: "var(--border-radius) var(--border-radius) var(--border-radius) var(--border-radius)" - - padding: "6px" - - margin-left: "-7px" - - background-color: "rgba(0,0,0,0)" - custom_fields: - notification: > - [[[ - if (entity.state ==".."){ - return `` - } - ]]] -list_items_light_color: - styles: - card: - - box-shadow: "none" - - padding: "0px" - grid: - - grid-template-areas: "'item1 item2'" - - grid-template-columns: "2fr 1fr" - - grid-template-rows: "min-content" - - column-gap: "7px" -background_color: - state: - - operator: "template" - value: "[[[ return entity.state == 'on' ]]]" - styles: - card: - - background-color: > - [[[ - var mode = variables.ulm_card_light_mode; - var color = entity.attributes.rgb_color; - if (mode != null){ - if (mode == 'dark'){ - if (color){ - return 'rgba(' + color + ',0.1)' - } else{ - return 'rgba(var(--color-yellow),0.1)' - } - } else if (mode == 'light'){ - return 'rgba(var(--color-background-yellow),var(--opacity-bg))'; - } - } else { - if (states['sun.sun'].state == "below_horizon"){ - if (color){ - return 'rgba(' + color + ',0.1)' - } else{ - return 'rgba(var(--color-yellow),0.1)' - } - } else if (states['sun.sun'].state == "above_horizon"){ - return 'rgba(var(--color-background-yellow),var(--opacity-bg))'; - } - } - ]]] diff --git a/custom_cards/custom_card_light_color/custom_card_light_color/readme.md b/custom_cards/custom_card_light_color/custom_card_light_color/readme.md deleted file mode 100644 index d097b8876..000000000 --- a/custom_cards/custom_card_light_color/custom_card_light_color/readme.md +++ /dev/null @@ -1,137 +0,0 @@ -# Custom-card "Color Light Card" -This is a `custom-card` to add additionall function to the `light_card`. It comes in four different versions: - -* Color changing light card with icon as info button (*card_light_color*) -* Horizontal color changing light card with icon as info button (*card_light_horizontal_color*) -* Color changing light card with icon as info button + brigthness slider (*card_light_slider_color*) -* Color changing light card with icon as info button + auto collapse brigthness slider (*card_light_slider_collapse_color*) - -The card shows you the color of the light. The icon is changeable for each MDI-icon. And the icon functions as button to show more-info. - -![Light](./screenshots/light.png) -![Light_slider](./screenshots/light_slider.png) -![Light_horizontal](./screenshots/light_horizontal.png) -![Dark](./screenshots/dark.png) -![Dark_slider](./screenshots/dark_slider.png) -![Dark_horizontal](./screenshots/dark_horizontal.png) -## Credits -Author: basbruss - 2021 -Version: 1.0.1 - -## Changelog -
-1.0.0 -Initial release -
-
-1.0.1 -Bug fix background color `card_light_color`
-Bug fix template not found
-Add card_light_horizontal_color and card_light_horizontal_icon_info
-Add variable to specify theme mode (no need for changing templates anymore)
-Code celanup -
- -## Requirements -This card needs the following to function correctly: - - - - - - - - - - - - - - - - -
Component / cardrequiredNote
light-entityyes
attribute: rgb_coloroptionalNeeded for color function. otherwise it uses the default theme function
- -## Installation -* Copy the folder `custom_card_light_color` from your download `custom_cards` to `config/minimalist-templates` - -In the end it should look like this: - -```yaml -config - └── minimalist-templates - └── custom_card_light_color - └── custom_card_light_color.yaml - └── readme.md - └── button_card_templates.yaml - └── EN.yaml -``` - -## Usage - -```yaml -- type: custom:button-card - template: card_light_color - entity: light.your_light - variables: - ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light #leave empty for standard icon - ulm_card_light_mode: dark # define light or dark theme-mode, leave empty if you use auto - -- type: custom:button-card - template: card_light_horizontal_color - entity: light.your_light - variables: - ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light #leave empty for standard icon - ulm_card_light_mode: dark # define light or dark theme-mode, leave empty if you use auto - -- type: custom:button-card - template: card_light_slider_color - entity: light.your_light - variables: - ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light #leave empty for standard icon - ulm_card_light_mode: dark # define light or dark theme-mode, leave empty if you use auto - -- type: custom:button-card - template: card_light_slider_collapse_color - entity: light.your_light - variables: - ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light #leave empty for standard icon - ulm_card_light_mode: dark # define light or dark theme-mode, leave empty if you use auto -``` -## Dark/Light Mode support (*new function*) -The default for all cards include is auto switching. You can use only dark or light mode if you specify the `ulm_card_light_mode` variable. - -## Variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card typeVariableExampleRequiredExplanation
allulm_card_light_nameLightnoThis is the name the card shows
allulm_card_light_iconmdi:ceiling-lightnoThis is your icon for the light
allulm_card_light_modedarknoSpecify your theme mode. (light or dark)
Leave empty when using auto switching
diff --git a/custom_cards/custom_card_light_color/readme.md b/custom_cards/custom_card_light_color/readme.md index 181365929..d097b8876 100644 --- a/custom_cards/custom_card_light_color/readme.md +++ b/custom_cards/custom_card_light_color/readme.md @@ -1,21 +1,36 @@ # Custom-card "Color Light Card" -This is a `custom-card` to add additionall function to the `light_card`. It comes in three different versions: +This is a `custom-card` to add additionall function to the `light_card`. It comes in four different versions: -* Color chaning light card with icon as info button (*card_light_color*) -* Color chaning light card with icon as info button + brigthness slider (*card_light_slider_color*) -* Color chaning light card with icon as info button + auto collapse brigthness slider (*card_light_slider_collapse_color*) +* Color changing light card with icon as info button (*card_light_color*) +* Horizontal color changing light card with icon as info button (*card_light_horizontal_color*) +* Color changing light card with icon as info button + brigthness slider (*card_light_slider_color*) +* Color changing light card with icon as info button + auto collapse brigthness slider (*card_light_slider_collapse_color*) The card shows you the color of the light. The icon is changeable for each MDI-icon. And the icon functions as button to show more-info. +![Light](./screenshots/light.png) +![Light_slider](./screenshots/light_slider.png) +![Light_horizontal](./screenshots/light_horizontal.png) +![Dark](./screenshots/dark.png) +![Dark_slider](./screenshots/dark_slider.png) +![Dark_horizontal](./screenshots/dark_horizontal.png) ## Credits Author: basbruss - 2021 -Version: 1.0.0 +Version: 1.0.1 ## Changelog
1.0.0 Initial release
+
+1.0.1 +Bug fix background color `card_light_color`
+Bug fix template not found
+Add card_light_horizontal_color and card_light_horizontal_icon_info
+Add variable to specify theme mode (no need for changing templates anymore)
+Code celanup +
## Requirements This card needs the following to function correctly: @@ -60,22 +75,35 @@ config entity: light.your_light variables: ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light + ulm_card_light_icon: mdi:ceiling-light #leave empty for standard icon + ulm_card_light_mode: dark # define light or dark theme-mode, leave empty if you use auto + +- type: custom:button-card + template: card_light_horizontal_color + entity: light.your_light + variables: + ulm_card_light_name: Light + ulm_card_light_icon: mdi:ceiling-light #leave empty for standard icon + ulm_card_light_mode: dark # define light or dark theme-mode, leave empty if you use auto - type: custom:button-card template: card_light_slider_color entity: light.your_light variables: ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light + ulm_card_light_icon: mdi:ceiling-light #leave empty for standard icon + ulm_card_light_mode: dark # define light or dark theme-mode, leave empty if you use auto - type: custom:button-card template: card_light_slider_collapse_color entity: light.your_light variables: ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light + ulm_card_light_icon: mdi:ceiling-light #leave empty for standard icon + ulm_card_light_mode: dark # define light or dark theme-mode, leave empty if you use auto ``` +## Dark/Light Mode support (*new function*) +The default for all cards include is auto switching. You can use only dark or light mode if you specify the `ulm_card_light_mode` variable. ## Variables @@ -100,152 +128,10 @@ config + + + + + +
no This is your icon for the light
allulm_card_light_modedarknoSpecify your theme mode. (light or dark)
Leave empty when using auto switching
- -## Important Note -This card works best if you use auto light/dark mode. As Home Assistant doesn't provide a way to determine in which theme mode it is. -
*When only using light or dark mode as theme mode* it's recommended to change the following template in `card_light_color.yaml`: - -```yaml -### internal templates -auto_color: - state: - - value: "on" - styles: - icon: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - } - else{ - return 'rgba(var(--color-yellow),1)'; - } - ]]] - label: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (states['sun.sun'].state == "below_horizon"){ - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - }else{ - return 'rgba(var(--color-yellow),1)'; - } - }else if (states['sun.sun'].state == "above_horizon") - return 'rgba(var(--color-yellow-text),1)'; - ]]] - name: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (states['sun.sun'].state == "below_horizon"){ - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - }else{ - return 'rgba(var(--color-yellow),1)'; - } - }else if (states['sun.sun'].state == "above_horizon") - return 'rgba(var(--color-yellow-text),1)'; - ]]] - img_cell: - - background-color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',0.2)'; - } - else{ - return 'rgba(var(--color-yellow),0.2)'; - } - ]]] -``` - -For only light mode usage to: -```yaml -### internal templates -auto_color: - state: - - value: "on" - styles: - icon: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - } - else{ - return 'rgba(var(--color-yellow),1)'; - } - ]]] - label: - - color: "rgba(var(--color-yellow-text),1)" - name: - - color: "rgba(var(--color-yellow-text),1)" - img_cell: - - background-color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',0.2)'; - } - else{ - return 'rgba(var(--color-yellow),0.2)'; - } - ]]] -``` - -And for only dark mode usage to: -```yaml -### internal templates -auto_color: - state: - - value: "on" - styles: - icon: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - } - else{ - return 'rgba(var(--color-yellow),1)'; - } - ]]] - label: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - } - else{ - return 'rgba(var(--color-yellow),1)'; - } - ]]] - name: - - color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',1)'; - } - else{ - return 'rgba(var(--color-yellow),1)'; - } - ]]] - img_cell: - - background-color: > - [[[ - var color = entity.attributes.rgb_color; - if (color != null){ - return 'rgba(' + entity.attributes.rgb_color + ',0.2)'; - } - else{ - return 'rgba(var(--color-yellow),0.2)'; - } - ]]] -``` diff --git a/custom_cards/custom_card_light_color/custom_card_light_color/screenshots/dark.png b/custom_cards/custom_card_light_color/screenshots/dark.png similarity index 100% rename from custom_cards/custom_card_light_color/custom_card_light_color/screenshots/dark.png rename to custom_cards/custom_card_light_color/screenshots/dark.png diff --git a/custom_cards/custom_card_light_color/custom_card_light_color/screenshots/dark_horizontal.png b/custom_cards/custom_card_light_color/screenshots/dark_horizontal.png similarity index 100% rename from custom_cards/custom_card_light_color/custom_card_light_color/screenshots/dark_horizontal.png rename to custom_cards/custom_card_light_color/screenshots/dark_horizontal.png diff --git a/custom_cards/custom_card_light_color/custom_card_light_color/screenshots/dark_slider.png b/custom_cards/custom_card_light_color/screenshots/dark_slider.png similarity index 100% rename from custom_cards/custom_card_light_color/custom_card_light_color/screenshots/dark_slider.png rename to custom_cards/custom_card_light_color/screenshots/dark_slider.png diff --git a/custom_cards/custom_card_light_color/custom_card_light_color/screenshots/light.png b/custom_cards/custom_card_light_color/screenshots/light.png similarity index 100% rename from custom_cards/custom_card_light_color/custom_card_light_color/screenshots/light.png rename to custom_cards/custom_card_light_color/screenshots/light.png diff --git a/custom_cards/custom_card_light_color/custom_card_light_color/screenshots/light_horizontal.png b/custom_cards/custom_card_light_color/screenshots/light_horizontal.png similarity index 100% rename from custom_cards/custom_card_light_color/custom_card_light_color/screenshots/light_horizontal.png rename to custom_cards/custom_card_light_color/screenshots/light_horizontal.png diff --git a/custom_cards/custom_card_light_color/custom_card_light_color/screenshots/light_slider.png b/custom_cards/custom_card_light_color/screenshots/light_slider.png similarity index 100% rename from custom_cards/custom_card_light_color/custom_card_light_color/screenshots/light_slider.png rename to custom_cards/custom_card_light_color/screenshots/light_slider.png diff --git a/custom_cards/custom_card_light_icon_info/.DS_Store b/custom_cards/custom_card_light_icon_info/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..0ffac642cdbbf128c8f14b3bd49f001e161382f0 GIT binary patch literal 6148 zcmeHK&59F25U$>hyB!xHhzko|2D~n8_Q!yD8Do3_NA#dF&SYXTIOz_Vi8+M8oYxl; z1TVgWkKh}4@#I(C9oQv$iQ+EO1=U}5S66lV8@fA1M4~&(j)_`CB%zFrn`nL^>}Oq* zEjO|Q6efqJF~!uUgr;k={eWk{GjQD);In%dCw4|9Rdn(EW;n?Ob1iVPpqNs*UTyZu#cZ8vW0?8;raCtpV+J&&rSnw8yT`jUIkv@X(>outq6 z!8~r=d8}2H2piB!0lw@mctc%fU)83i{Ww9*W-yzb^pianZ~-;b3Dp# zN1wmn{`BS1pJdDaVz$ZX;x0qp?1p^3kEW{7YKRQ0uff^8Tpa`MJIKAO`w4z!&wyv( znlixmLjYwA9o81j)q%#80Kf)@jlkwwf@1=Qp~KoDJP=_+fi_gQ5<}Q|CfV&&okf|_^%icjb7C2 zVoUCAUE3VLwE^@El!fQj7EK5m_Z%C8pW*|k5%>Z&fT6?MB1RzokAR`UH=coi%D_+7 CoS&Wm literal 0 HcmV?d00001 diff --git a/custom_cards/custom_card_light_icon_info/card_light_icon_info.yaml b/custom_cards/custom_card_light_icon_info/card_light_icon_info.yaml index 9a3549f4a..19ea9fd3e 100644 --- a/custom_cards/custom_card_light_icon_info/card_light_icon_info.yaml +++ b/custom_cards/custom_card_light_icon_info/card_light_icon_info.yaml @@ -86,6 +86,66 @@ card_light_icon_info: name: - color: "rgba(var(--color-yellow-text),1)" value: "on" +### horizontal slider +card_light_horizontal_icon_info: + template: + - "list_items_light" + - "ulm_language_variables" + variables: + ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" + ulm_card_light_icon: + show_icon: false + show_name: false + show_label: false + state: + - operator: "template" + value: "[[[ return entity.state == 'on' ]]]" + styles: + card: + - background-color: "rgba(var(--color-background-yellow),var(--opacity-bg))" + styles: + grid: + - grid-template-columns: "auto auto" + - column-gap: "0px" + - grid-template-columns: "1fr 2fr" + card: + - border-radius: "var(--border-radius)" + - box-shadow: "var(--box-shadow)" + - padding: "12px" + tap_action: + action: "toggle" + hold_action: + action: "more-info" + custom_fields: + item1: + card: + type: "custom:button-card" + entity: "[[[ return entity.entity_id ]]]" + template: + - "icon_info_card" + variables: + ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" + ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" + item2: + card: + type: "custom:my-slider" + entity: "[[[ return entity.entity_id ]]]" + radius: "14px" + height: "42px" + mainSliderColor: "rgba(var(--color-yellow),1)" + secondarySliderColor: "rgba(var(--color-yellow),0.2)" + mainSliderColorOff: "rgba(var(--color-theme),0.05)" + secondarySliderColorOff: "rgba(var(--color-theme),0.05)" + thumbHorizontalPadding: "0px" + thumbVerticalPadding: "0px" + thumbWidth: "0px" + card_mod: + style: | + ha-card { + border-radius: 14px; + box-shadow: none; + } +### slider card card_light_slider_icon_info: template: - "ulm_language_variables" diff --git a/custom_cards/custom_card_light_icon_info/custom_card_light_icon_info/card_light_icon_info.yaml b/custom_cards/custom_card_light_icon_info/custom_card_light_icon_info/card_light_icon_info.yaml deleted file mode 100644 index 19ea9fd3e..000000000 --- a/custom_cards/custom_card_light_icon_info/custom_card_light_icon_info/card_light_icon_info.yaml +++ /dev/null @@ -1,357 +0,0 @@ ---- -card_light_icon_info: - template: - - "list_items_light" - - "ulm_language_variables" - variables: - ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" - ulm_card_light_icon: - show_icon: false - show_name: false - show_label: false - state: - - operator: "template" - value: "[[[ return entity.state == 'on' ]]]" - styles: - card: - - background-color: "rgba(var(--color-background-yellow),var(--opacity-bg))" - styles: - grid: - - grid-template-columns: "min-content auto" - - column-gap: "0px" - card: - - border-radius: "var(--border-radius)" - - box-shadow: "var(--box-shadow)" - - padding: "12px" - tap_action: - action: "toggle" - hold_action: - action: "more-info" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - template: - - "icon" - - "yellow" - icon: > - [[[ - var icon = 'mdi:lightbulb'; - if (variables.ulm_card_light_icon != null){ - var icon = variables.ulm_card_light_icon; - } - else{ - return icon ; - } - return icon ; - ]]] - tap_action: - action: " more-info" - item2: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - template: - - "icon_info" - show_icon: false - label: >- - [[[ - if (entity.state !='unavailable'){ - if (entity.state =='off'){ - return variables.ulm_off; - } else if (entity.state == 'on'){ - if (entity.attributes.brightness != null){ - var bri = Math.round(entity.attributes.brightness / 2.55); - return (bri ? bri : '0') + '%'; - } else { - return variables.ulm_on - } - } - } else { - return variables.ulm_unavailable; - } - ]]] - styles: - card: - - box-shadow: "none" - - border-radius: "var(--border-radius) var(--border-radius) var(--border-radius) var(--border-radius)" - - padding: "6px" - - margin-left: "-7px" - - background-color: "rgba(0,0,0,0)" - state: - - styles: - label: - - color: "rgba(var(--color-yellow-text),1)" - name: - - color: "rgba(var(--color-yellow-text),1)" - value: "on" -### horizontal slider -card_light_horizontal_icon_info: - template: - - "list_items_light" - - "ulm_language_variables" - variables: - ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" - ulm_card_light_icon: - show_icon: false - show_name: false - show_label: false - state: - - operator: "template" - value: "[[[ return entity.state == 'on' ]]]" - styles: - card: - - background-color: "rgba(var(--color-background-yellow),var(--opacity-bg))" - styles: - grid: - - grid-template-columns: "auto auto" - - column-gap: "0px" - - grid-template-columns: "1fr 2fr" - card: - - border-radius: "var(--border-radius)" - - box-shadow: "var(--box-shadow)" - - padding: "12px" - tap_action: - action: "toggle" - hold_action: - action: "more-info" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - template: - - "icon_info_card" - variables: - ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" - ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" - item2: - card: - type: "custom:my-slider" - entity: "[[[ return entity.entity_id ]]]" - radius: "14px" - height: "42px" - mainSliderColor: "rgba(var(--color-yellow),1)" - secondarySliderColor: "rgba(var(--color-yellow),0.2)" - mainSliderColorOff: "rgba(var(--color-theme),0.05)" - secondarySliderColorOff: "rgba(var(--color-theme),0.05)" - thumbHorizontalPadding: "0px" - thumbVerticalPadding: "0px" - thumbWidth: "0px" - card_mod: - style: | - ha-card { - border-radius: 14px; - box-shadow: none; - } -### slider card -card_light_slider_icon_info: - template: - - "ulm_language_variables" - variables: - ulm_card_light_slider_name: "[[[ return entity.attributes.friendly_name ]]]" - ulm_card_light_icon: - show_icon: false - show_name: false - show_label: false - state: - - operator: "template" - value: "[[[ return entity.state == 'on' ]]]" - styles: - card: - - background-color: "rgba(var(--color-background-yellow),var(--opacity-bg))" - styles: - grid: - - grid-template-areas: "'item1' 'item2'" - - grid-template-columns: "1fr" - - grid-template-rows: "min-content min-content" - - row-gap: "12px" - card: - - border-radius: "var(--border-radius)" - - box-shadow: "var(--box-shadow)" - - padding: "12px" - tap_action: - action: "toggle" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - variables: - ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" - ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" - template: - - "icon_info_card" - item2: - card: - type: "custom:my-slider" - entity: "[[[ return entity.entity_id ]]]" - radius: "14px" - height: "42px" - mainSliderColor: "rgba(var(--color-yellow),1)" - secondarySliderColor: "rgba(var(--color-yellow),0.2)" - mainSliderColorOff: "rgba(var(--color-theme),0.05)" - secondarySliderColorOff: "rgba(var(--color-theme),0.05)" - thumbHorizontalPadding: "0px" - thumbVerticalPadding: "0px" - thumbWidth: "0px" - card_mod: - style: | - ha-card { - border-radius: 14px; - box-shadow: none; - } -card_light_slider_collapse_icon_info: - template: - - "ulm_language_variables" - variables: - ulm_card_light_name: "[[[ return entity.attributes.friendly_name ]]]" - ulm_card_light_icon: - show_icon: false - show_name: false - show_label: false - state: - - operator: "template" - value: "[[[ return entity.state == 'on' ]]]" - styles: - card: - - background-color: "rgba(var(--color-background-yellow),var(--opacity-bg))" - grid: - - row-gap: "12px" - styles: - grid: - - grid-template-areas: "'item1' 'item2'" - - grid-template-columns: "1fr" - - grid-template-rows: "min-content min-content" - card: - - border-radius: "var(--border-radius)" - - box-shadow: "var(--box-shadow)" - - padding: "12px" - tap_action: - action: "toggle" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - variables: - ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" - ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" - template: - - "icon_info_card" - item2: - card: - type: "conditional" - conditions: - - entity: "[[[ return entity.entity_id ]]]" - state: "on" - card: - type: "custom:my-slider" - entity: "[[[ return entity.entity_id ]]]" - radius: "14px" - height: "42px" - mainSliderColor: "rgba(var(--color-yellow),1)" - secondarySliderColor: "rgba(var(--color-yellow),0.2)" - mainSliderColorOff: "rgba(var(--color-theme),0.05)" - secondarySliderColorOff: "rgba(var(--color-theme),0.05)" - thumbHorizontalPadding: "0px" - thumbVerticalPadding: "0px" - thumbWidth: "0px" - card_mod: - style: | - ha-card { - border-radius: 14px; - box-shadow: none; - } -### internal templates -list_items_light: - styles: - card: - - box-shadow: "none" - - padding: "0px" - grid: - - grid-template-areas: "'item1 item2'" - - grid-template-columns: "2fr 1fr" - - grid-template-rows: "min-content" - - column-gap: "7px" -icon_info_card: - template: - - "list_items_light" - - "ulm_language_variables" - variables: - ulm_card_light_name: "[[[ return variables.ulm_card_light_name ]]]" - ulm_card_light_icon: "[[[ return variables.ulm_card_light_icon ]]]" - show_icon: false - show_name: false - show_label: false - styles: - grid: - - grid-template-columns: "min-content auto" - - column-gap: "0px" - card: - - background-color: "rgba(0,0,0,0)" - tap_action: - action: "toggle" - hold_action: - action: "more-info" - custom_fields: - item1: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - template: - - "icon" - - "yellow" - icon: > - [[[ - var icon = 'mdi:lightbulb'; - if (variables.ulm_card_light_icon != null){ - var icon = variables.ulm_card_light_icon; - } - else{ - return icon ; - } - return icon ; - ]]] - tap_action: - action: "more-info" - item2: - card: - type: "custom:button-card" - entity: "[[[ return entity.entity_id ]]]" - template: - - "icon_info" - show_icon: false - label: >- - [[[ - if (entity.state !='unavailable'){ - if (entity.state =='off'){ - return variables.ulm_off; - } else if (entity.state == 'on'){ - if (entity.attributes.brightness != null){ - var bri = Math.round(entity.attributes.brightness / 2.55); - return (bri ? bri : '0') + '%'; - } else { - return variables.ulm_on - } - } - } else { - return variables.ulm_unavailable; - } - ]]] - name: "[[[ return variables.ulm_card_light_name ]]]" - state: - - styles: - label: - - color: "rgba(var(--color-yellow-text),1)" - name: - - color: "rgba(var(--color-yellow-text),1)" - value: "on" - styles: - card: - - box-shadow: "none" - - border-radius: "var(--border-radius) var(--border-radius) var(--border-radius) var(--border-radius)" - - padding: "6px" - - margin-left: "-7px" - - background-color: "rgba(0,0,0,0)" diff --git a/custom_cards/custom_card_light_icon_info/custom_card_light_icon_info/readme.md b/custom_cards/custom_card_light_icon_info/custom_card_light_icon_info/readme.md deleted file mode 100644 index f73da7ed2..000000000 --- a/custom_cards/custom_card_light_icon_info/custom_card_light_icon_info/readme.md +++ /dev/null @@ -1,120 +0,0 @@ -# Custom-card "Light Card Icon Info" -This is a `custom-card` to add additionall function to the `light_card`. It comes in four different versions: - -* Light card with icon as info button (*card_light_icon_info*) -* Horizontal light card with icon as info button (*card_light_horizontal_icon_info*) -* Light card with icon as info button + brigthness slider (*card_light_slider_icon_info*) -* Light card with icon as info button + auto collapse brigthness slider (*card_light_slider_collapse_icon_info*) - -The icon is changeable for each MDI-icon. And the icon functions as button to show more-info. - -## Credits -Author: basbruss - 2021 -Version: 1.0.1 - -## Changelog -
-1.0.0 -Initial release -
-
-1.0.1 -Bug fix background color `card_light_color`
-Bug fix template not found
-Add card_light_horizontal_color and card_light_horizontal_icon_info
-Add variable to specify theme mode (no need for changing templates anymore)
-Code cleanup -
- -## Requirements -This card needs the following to function correctly: - - - - - - - - - - - - - - - - - -
Component / cardrequiredNote
light-entityyes
switch-entitynoOnly works with card_light_icon_info
- -## Installation -* Copy the folder `custom_card_light_icon_info` from your download `custom_cards` to `config/minimalist-templates` - -In the end it should look like this: - -```yaml -config - └── minimalist-templates - └── custom_card_light_icon_info - └── custom_card_light_icon_info.yaml - └── readme.md - └── button_card_templates.yaml - └── EN.yaml -``` - -## Usage - -```yaml -- type: custom:button-card - template: card_light_icon_info - entity: light.your_light #Or switch.your_switch - variables: - ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light - -- type: custom:button-card - template: card_light_horizontal_icon_info - entity: light.your_light - variables: - ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light - -- type: custom:button-card - template: card_light_slider_icon_info - entity: light.your_light - variables: - ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light - -- type: custom:button-card - template: card_light_slider_collapse_icon_info - entity: light.your_light - variables: - ulm_card_light_name: Light - ulm_card_light_icon: mdi:ceiling-light -``` - -## Variables - - - - - - - - - - - - - - - - - - - - - - -
Card typeVariableExampleRequiredExplanation
allulm_card_light_nameLightnoThis is the name the card shows
allulm_card_light_iconmdi:ceiling-lightnoThis is your icon for the light
diff --git a/custom_cards/custom_card_light_icon_info/readme.md b/custom_cards/custom_card_light_icon_info/readme.md index 6672fd875..f73da7ed2 100644 --- a/custom_cards/custom_card_light_icon_info/readme.md +++ b/custom_cards/custom_card_light_icon_info/readme.md @@ -1,7 +1,8 @@ # Custom-card "Light Card Icon Info" -This is a `custom-card` to add additionall function to the `light_card`. It comes in three different versions: +This is a `custom-card` to add additionall function to the `light_card`. It comes in four different versions: * Light card with icon as info button (*card_light_icon_info*) +* Horizontal light card with icon as info button (*card_light_horizontal_icon_info*) * Light card with icon as info button + brigthness slider (*card_light_slider_icon_info*) * Light card with icon as info button + auto collapse brigthness slider (*card_light_slider_collapse_icon_info*) @@ -9,13 +10,21 @@ The icon is changeable for each MDI-icon. And the icon functions as button to sh ## Credits Author: basbruss - 2021 -Version: 1.0.0 +Version: 1.0.1 ## Changelog
1.0.0 Initial release
+
+1.0.1 +Bug fix background color `card_light_color`
+Bug fix template not found
+Add card_light_horizontal_color and card_light_horizontal_icon_info
+Add variable to specify theme mode (no need for changing templates anymore)
+Code cleanup +
## Requirements This card needs the following to function correctly: @@ -63,6 +72,13 @@ config ulm_card_light_name: Light ulm_card_light_icon: mdi:ceiling-light +- type: custom:button-card + template: card_light_horizontal_icon_info + entity: light.your_light + variables: + ulm_card_light_name: Light + ulm_card_light_icon: mdi:ceiling-light + - type: custom:button-card template: card_light_slider_icon_info entity: light.your_light From 55a32d0a1686365e4a08785004fc0b8eb6cdf2ad Mon Sep 17 00:00:00 2001 From: BasBruss <68892092+basbruss@users.noreply.github.com> Date: Fri, 24 Dec 2021 17:06:18 +0100 Subject: [PATCH 2/9] Delete .DS_Store --- .github/.DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .github/.DS_Store diff --git a/.github/.DS_Store b/.github/.DS_Store deleted file mode 100644 index 6f3fa3a623a8f923f1a3e375ac8eba1340afc0c6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%}T>S5dO9;(jrLl8zJ_P-ezUWr z4XG9{Qe-B~ew*2uWb$puWB|Cq_40ko-tjSh!3BI}|xX+(=Gx^RsQ7dS(P6P(t( z&9IFO$lmSY2tyv{+_~lc9iuOMIlb-;$N6lo$?tq@@}K2tI-2Gq`n8{4Uq1Jr-};+l zCcloE->l|!DCu>uK#n`y;tEsF7Pzlw-;_6ejn`_<5AS8pYdx2l{_I)J&r5zL#(*(k z3~UPntl1*%T}2y>0b{@zC>fCNgQp565evoe>EIAr0Ah>gAe>7tAu&E;60uO^3dLzC zQA1s9F`S0e?xSB4u~5`-xY&HScxM+o6c_H!>-*pimnhn33>X7d2AX=>mHMB3-~U&G z?93Q22L2TTu9Xhc0Us&W*4o2Kt@YGPs)+a%ie(5Vp%l|sO7Q_T2<=`b#3W*&NDIY& N1Og2<7z2OGz!%hFT4n$M From 98f25507cd367aa1da21c86654849a88b3fe3979 Mon Sep 17 00:00:00 2001 From: BasBruss <68892092+basbruss@users.noreply.github.com> Date: Fri, 24 Dec 2021 17:06:41 +0100 Subject: [PATCH 3/9] Delete .DS_Store --- config/.DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 config/.DS_Store diff --git a/config/.DS_Store b/config/.DS_Store deleted file mode 100644 index 926edf0d207e02488c7d24c3c3ddd9603ebfade8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK!Ab)$5S`Q_6)!~;Jm%olL;oO_^$Yp~wzk;9uDejZ?`H`r9`xXk_z7OcH#1Rp zyY^6orN|6SUUo8*%)FGOAtE=toeqflMAU;acJ|QxB0SF8kWRGlpp!W=8dFLOTGCC! z+YH;t0Po!)W!ST8Xm$Tiv4=BQ3hd}u`pficFuKgMLJN7j+axy2lVpl^QX7#GoYs+_4eCd*w!-!jDf9ZfX@dHWegEZML9aq$P)nAg;@lBeoJtSj~F7BiWq@7 z4Fzhbi%$%v;jsJY7b2F58ct4D#yoLl7hfn&R)^h-JGr1}tubH>)EU^(&pzM(=j-49 z^&tB)28@A!#enN3qhyGZ;@#RPj_+Czy@0Z?U#a*Vf{t9p@a3!c7%Bq0=MFGLEEQpa P*dGC*!5U+rRR%r*y(DJG From dfe8e52061c74bd48b000cc45cc6c420138a1985 Mon Sep 17 00:00:00 2001 From: BasBruss <68892092+basbruss@users.noreply.github.com> Date: Fri, 24 Dec 2021 17:07:00 +0100 Subject: [PATCH 4/9] Delete .DS_Store --- custom_cards/custom_card_light_color/.DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 custom_cards/custom_card_light_color/.DS_Store diff --git a/custom_cards/custom_card_light_color/.DS_Store b/custom_cards/custom_card_light_color/.DS_Store deleted file mode 100644 index 3a69ad25cffb040058eddcb578f8f3d387f1968e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKOHKnZ47H()k-Dk6Vwo%S2B8{G&kln#;U&ZQGK?g3e2ENM%7T2VuXjzE8L zN^^{Cz4(UpZuK#X zCxi_N27-ZLAQ%V+e#8LIY>}#O7=17h3{txVo!E;H_BX#4FRX7z{G{f@*)aNGAQ)&faB9PW zoc|a2Wjc%ewo8nHfneaDF~GfgQjhUbezt!4JUMF<+7wMh?20H5=&eft2C|Qw>7uPC a(P5Vzi=jl3d36WIML-FOE*SU)23`RC3N| Date: Fri, 24 Dec 2021 17:07:17 +0100 Subject: [PATCH 5/9] Delete .DS_Store --- .../custom_card_light_icon_info/.DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 custom_cards/custom_card_light_icon_info/.DS_Store diff --git a/custom_cards/custom_card_light_icon_info/.DS_Store b/custom_cards/custom_card_light_icon_info/.DS_Store deleted file mode 100644 index 0ffac642cdbbf128c8f14b3bd49f001e161382f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK&59F25U$>hyB!xHhzko|2D~n8_Q!yD8Do3_NA#dF&SYXTIOz_Vi8+M8oYxl; z1TVgWkKh}4@#I(C9oQv$iQ+EO1=U}5S66lV8@fA1M4~&(j)_`CB%zFrn`nL^>}Oq* zEjO|Q6efqJF~!uUgr;k={eWk{GjQD);In%dCw4|9Rdn(EW;n?Ob1iVPpqNs*UTyZu#cZ8vW0?8;raCtpV+J&&rSnw8yT`jUIkv@X(>outq6 z!8~r=d8}2H2piB!0lw@mctc%fU)83i{Ww9*W-yzb^pianZ~-;b3Dp# zN1wmn{`BS1pJdDaVz$ZX;x0qp?1p^3kEW{7YKRQ0uff^8Tpa`MJIKAO`w4z!&wyv( znlixmLjYwA9o81j)q%#80Kf)@jlkwwf@1=Qp~KoDJP=_+fi_gQ5<}Q|CfV&&okf|_^%icjb7C2 zVoUCAUE3VLwE^@El!fQj7EK5m_Z%C8pW*|k5%>Z&fT6?MB1RzokAR`UH=coi%D_+7 CoS&Wm From fef9194bf80f72aa3829f401e0bf6dab1b9e1229 Mon Sep 17 00:00:00 2001 From: BasBruss <68892092+basbruss@users.noreply.github.com> Date: Fri, 24 Dec 2021 17:07:38 +0100 Subject: [PATCH 6/9] Delete .DS_Store --- .DS_Store | Bin 8196 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index a0ee5132883a9ff2610d262831354539d2429245..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHMyN=U96upx*8)pMjgccD|Ss=OvvJVBJZ9)h?fDsh1O5!*q(b}FUwn-61azO(~ z)RcS%5>JVehKh!AzX59Qc*cn*i5Ij5T8Wux=8W&$J3jaLISv4jdT4J0lmS4;%CJ<# zW<_D+tS*(Duv|hU7!OWw+w4$xxa6q}N&%&SQa~x76i^DB76tH`&5EA!+~=dJRSGBt z{!0be{lUP>uqH6#7~eXuiI)I~8k*yR{SxaS8UkwqBaS$Nh44^B9!kU#gYa;)8^W(9 zFyhF=fr!Ni5qlb-LhvC#HZC-A zs|_Qt!MDc#P#lA|*3cRFL8bDYv=t|7xe?PPse7^4nn`)9z9}P_bGL(q~Eq4 z47%fHY4Z;Cg7(1cj^coU-9?wj4+ox2$8{Qdwjalud_XVgg=VQdne0?6TgL8Qb-HCt zZtY-yZ?`&~7W4~OZtUM{9y+c^U$6x5_A74FaE@=!+LzeN%umuh|N7=}zG?l(`=1j1 zGv`hpi@))gj?2aymO$p*PtB3%P_KtREbjt1c*H!srb5IXbitQ0gZz)xUg?~Ccb3zN z`O?`O?u;0h?ELh;E9k5I?JkvafM>C$8-t+76&)yPW?K6M# zV7f-gXMSR-=YK4RYLo&eR$z@smf8CMZua;86VI;#l>$nE)2{&08fK%8Jd>BUManre u7+70aSz&$=$2bHV=ECfnz}X*$XfuSZCNScNBUsdjfLI3AC1$hnJRq% From 9a503311771bf1bbab2258bc76187bb960d26b6b Mon Sep 17 00:00:00 2001 From: BasBruss <68892092+basbruss@users.noreply.github.com> Date: Fri, 24 Dec 2021 17:08:36 +0100 Subject: [PATCH 7/9] Delete .DS_Store --- custom_cards/.DS_Store | Bin 14340 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 custom_cards/.DS_Store diff --git a/custom_cards/.DS_Store b/custom_cards/.DS_Store deleted file mode 100644 index 218764be1838462db6a432bf087838083ebe1d81..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14340 zcmeI3O>7%Q6vt=XG;ta#BA_HuqiO|*3Mr^gV@05HFd>Lm99qQ@kqF3Lf5b6e?;6{Q zfhfW!Bq&I5L z`OWOS@tQHFZ5)(W8Ot!n(nyrgKZM*cC$B(cP&M|%MBF;Get~t73SSlJu`A(74I~E`F5O8=SLC_56=YhX~Fm2g6Em=y*-o% zylv-JIBSu|y
YA+9faPBaC%{S9jW;)wQ_*gn=3>*#B5z%yuF66=bxcVu6Vq9L-l z`iI9NbX`Ouadc!ZUE*>!1eZPdh>a1xGDv6n>F7!#qfbuV>5b_T>m`zkuO{=lM!e1i z@@lgN`ca0h!h;O>QWIxl?8g1D=0A>Szl*CUvU@k{v5Qqlkzi7qGDqGYgYPkiU{*qE zgIt9jf~J$#aFp(kZICs1d7zJ;{~SCM(G|IV@sh_iA?^MspR~5jIR_kSQv?(NML-cy z1R@hygXJQh7yJME-oU)jK>SY;tl>Y`IsID{4e>sF?ZWNe+%R-q#5qkI9r^yM6VOLT zaCs9^MG><y z4yhov|L4nI`$MbrXI;@%e0VI4;6bZ8w5HRNCo`G;3QQuXh+MAjdR!tY_1VNz z^5LUnrtUv#?1K%(Ocl)UZA49Lpft{dQXQfdTT^8B>!%*O1a$i(lhl>CrtSj4i1iE_ zZyI3U22YExYZS=`Wv^R4h@v5K+xo`i7QCJjP#1AjilZZOaefS12=q4-BXJe|khoA} zPHP#>VyD$`SCqdmHq2V9oyq*JrA|zpoSsR~r03GF=lAVSzHPJ*S{p`lm)>pLwpr|z zjp8e{N~bXY*bBDRHfmO-$qj1d3Ql=#r)HJy&W3$pm0R34?|hJ+P0tqQ7mtoEu4h*C zwe0%wihlI$MU=B^>&M5l=`&AWxU^NcVb(4C1Nyr0W0m`(7CY^{_x3kY3fXGO7gFob zg;x+g;r%&pWh-PoL_dhGB6&gTV*(Sh9*6m+W!hF1mP9#t?a9}N(A#Kj;)X<(EqoMR zNu+C@_2@>dmqxdp9SWyih>~_+*e1@L?dolR={|8%1b#+BR5%@<5 zXj7Z{%?(_l7lsU8jh?mBk**`rId_q0Lz$ak#~;T-&L79a8+sh?8Ge$x!)G}vBJVmm nO4$DO2LXHkPwM@@Xu`D$aTHhazdO_SS&I-ksrdiD8~^_eJI`^J From bf40ec89472dd6a01f26a455d639526f80662fdb Mon Sep 17 00:00:00 2001 From: BasBruss <68892092+basbruss@users.noreply.github.com> Date: Sat, 25 Dec 2021 10:13:22 +0100 Subject: [PATCH 8/9] Rename readme.md to README.md --- custom_cards/custom_card_light_color/{readme.md => README.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename custom_cards/custom_card_light_color/{readme.md => README.md} (100%) diff --git a/custom_cards/custom_card_light_color/readme.md b/custom_cards/custom_card_light_color/README.md similarity index 100% rename from custom_cards/custom_card_light_color/readme.md rename to custom_cards/custom_card_light_color/README.md From aed03656b7a9a35ff4d8812e439a90949ecb6662 Mon Sep 17 00:00:00 2001 From: BasBruss <68892092+basbruss@users.noreply.github.com> Date: Sat, 25 Dec 2021 10:13:49 +0100 Subject: [PATCH 9/9] Rename readme.md to README.md --- custom_cards/custom_card_light_icon_info/{readme.md => README.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename custom_cards/custom_card_light_icon_info/{readme.md => README.md} (100%) diff --git a/custom_cards/custom_card_light_icon_info/readme.md b/custom_cards/custom_card_light_icon_info/README.md similarity index 100% rename from custom_cards/custom_card_light_icon_info/readme.md rename to custom_cards/custom_card_light_icon_info/README.md