"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7115],{7115:function(t,e,n){n.r(e),n.d(e,{default:function(){return f}});var l=n(641),a=n(33);const u={class:"entity sensor-container"},s={class:"head"},o={class:"icon"},c={class:"label"},i=["textContent"],r={key:0,class:"value-container"},v=["textContent"],d=["textContent"];function p(t,e,n,p,k,C){const h=(0,l.g2)("EntityIcon");return(0,l.uX)(),(0,l.CE)("div",u,[(0,l.Lk)("div",s,[(0,l.Lk)("div",o,[(0,l.bF)(h,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l.Lk)("div",c,[(0,l.Lk)("div",{class:"name",textContent:(0,a.v_)(t.value.name)},null,8,i)]),null!=C.computedValue?((0,l.uX)(),(0,l.CE)("div",r,[(0,l.Lk)("span",{class:"value",textContent:(0,a.v_)(C.computedValue)},null,8,v),null!=t.value.unit?((0,l.uX)(),(0,l.CE)("span",{key:0,class:"unit",textContent:(0,a.v_)(t.value.unit)},null,8,d)):(0,l.Q3)("",!0)])):(0,l.Q3)("",!0)])])}var k=n(4897),C=n(1029),h={name:"Sensor",components:{EntityIcon:C["default"]},mixins:[k["default"]],computed:{computedValue(){return null!=this.value.value?this.value.value:this.value._value}}},m=n(6262);const y=(0,m.A)(h,[["render",p],["__scopeId","data-v-3b38610c"]]);var f=y}}]);
//# sourceMappingURL=7115.d0d7c209.js.map