"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["59268"],{85423:function(t,e,n){n.r(e);n(28706);var i=n(63533),o=n(30345),a=n(84698),c=n(44155),l=(0,i.kp)(a.H,(0,i.Ik)({entity:(0,i.lq)((0,i.Yj)()),name:(0,i.lq)(c.q),icon:(0,i.lq)((0,i.Yj)()),attribute:(0,i.lq)((0,i.Yj)()),unit:(0,i.lq)((0,i.Yj)()),theme:(0,i.lq)((0,i.Yj)()),state_color:(0,i.lq)((0,i.zM)()),footer:(0,i.lq)(o.zb)})),r={schema:[{name:"entity",required:!0,selector:{entity:{}}},{name:"name",selector:{entity_name:{}},context:{entity:"entity"}},{type:"grid",name:"",schema:[{name:"icon",selector:{icon:{}},context:{icon_entity:"entity"}},{name:"attribute",selector:{attribute:{}},context:{filter_entity:"entity"}},{name:"unit",selector:{text:{}}},{name:"theme",selector:{theme:{}}},{name:"state_color",selector:{boolean:{}}}]}],assertConfig:function(t){return(0,i.vA)(t,l)},computeLabel:function(t,e){return"theme"===t.name?"".concat(e("ui.panel.lovelace.editor.card.generic.theme")," (").concat(e("ui.panel.lovelace.editor.card.config.optional"),")"):e("ui.panel.lovelace.editor.card.generic.".concat(t.name))}};e.default=r},84698:function(t,e,n){n.d(e,{H:function(){return o}});var i=n(63533),o=(0,i.Ik)({type:(0,i.Yj)(),view_layout:(0,i.bz)(),layout_options:(0,i.bz)(),grid_options:(0,i.bz)(),visibility:(0,i.bz)(),disabled:(0,i.lq)((0,i.zM)())})},55904:function(t,e,n){n.d(e,{J:function(){return a}});var i=n(63533),o=n(91408),a=(0,i.Ik)({entity:(0,i.Yj)(),name:(0,i.lq)((0,i.Yj)()),icon:(0,i.lq)((0,i.Yj)()),image:(0,i.lq)((0,i.Yj)()),show_name:(0,i.lq)((0,i.zM)()),show_icon:(0,i.lq)((0,i.zM)()),tap_action:(0,i.lq)(o.kn),hold_action:(0,i.lq)(o.kn),double_tap_action:(0,i.lq)(o.kn)})},30345:function(t,e,n){n.d(e,{oe:function(){return u},zb:function(){return s}});var i=n(47075),o=n(63533),a=n(91408),c=n(55904),l=(0,o.Ik)({type:(0,o.Yj)(),image:(0,o.Yj)(),tap_action:(0,o.lq)(a.kn),hold_action:(0,o.lq)(a.kn),double_tap_action:(0,o.lq)(a.kn),alt_text:(0,o.lq)((0,o.Yj)())}),r=(0,o.Ik)({type:(0,o.Yj)(),entities:(0,o.YO)(c.J)}),u=(0,o.Ik)({type:(0,o.Yj)(),entity:(0,o.Yj)(),detail:(0,o.lq)((0,o.ai)()),hours_to_show:(0,o.lq)((0,o.ai)())}),s=(0,o.OR)(function(t){if(t&&"object"===(0,i.A)(t)&&"type"in t)switch(t.type){case"buttons":return r;case"graph":return u;case"picture":return l}return(0,o.KC)([r,u,l])})}}]);
//# sourceMappingURL=59268.c7a16adf0eb419b0.js.map