"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5157],{5157:function(e,t,n){n.r(t),n.d(t,{default:function(){return w}});n(8309);var l=n(6252),a=n(3577),u={class:"entity sensor-container"},s={class:"head"},i={class:"icon"},o={class:"label"},c=["textContent"],r={key:0,class:"value-container"},v=["textContent"],d=["textContent"];function p(e,t,n,p,m,f){var h=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",i,[(0,l.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,c)]),null!=f.computedValue?((0,l.wg)(),(0,l.iD)("div",r,[(0,l._)("span",{class:"value",textContent:(0,a.zw)(f.computedValue)},null,8,v),null!=e.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(e.value.unit)},null,8,d)):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])])}var m=n(7909),f=n(1706),h={name:"Sensor",components:{EntityIcon:f["default"]},mixins:[m["default"]],computed:{computedValue:function(){return null!=this.value.value?this.value.value:this.value._value}}},y=n(3744);const k=(0,y.Z)(h,[["render",p],["__scopeId","data-v-3b38610c"]]);var w=k}}]);
//# sourceMappingURL=5157-legacy.090db2a1.js.map