"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["88031"],{17282:function(e,t,a){a.r(t),a.d(t,{HuiMediaPlayerVolumeButtonsCardFeatureEditor:function(){return m}});var n,o=a(72153),i=a(44734),r=a(43080),s=a(69683),u=a(6454),c=(a(28706),a(40445)),l=a(96196),h=a(77845),f=a(22786),d=a(1087),m=(a(52763),function(e){function t(){var e;(0,i.A)(this,t);for(var a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return(e=(0,s.A)(this,t,[].concat(n)))._schema=(0,f.A)(function(){return[{name:"step",selector:{number:{mode:"slider",step:1,min:1,max:100,unit_of_measurement:"%"}}}]}),e._computeLabelCallback=function(t){return e.hass.localize("ui.panel.lovelace.editor.features.types.media-player-volume-buttons.".concat(t.name))},e}return(0,u.A)(t,e),(0,r.A)(t,[{key:"setConfig",value:function(e){this._config=e}},{key:"render",value:function(){var e;if(!this.hass||!this._config)return l.s6;var t={type:"media-player-volume-buttons",step:null!==(e=this._config.step)&&void 0!==e?e:5},a=this._schema();return(0,l.qy)(n||(n=(0,o.A)([' <ha-form .hass="','" .data="','" .schema="','" .computeLabel="','" @value-changed="','"></ha-form> '])),this.hass,t,a,this._computeLabelCallback,this._valueChanged)}},{key:"_valueChanged",value:function(e){(0,d.r)(this,"config-changed",{config:e.detail.value})}}])}(l.WF));(0,c.Cg)([(0,h.MZ)({attribute:!1})],m.prototype,"hass",void 0),(0,c.Cg)([(0,h.MZ)({attribute:!1})],m.prototype,"context",void 0),(0,c.Cg)([(0,h.wk)()],m.prototype,"_config",void 0),m=(0,c.Cg)([(0,h.EM)("hui-media-player-volume-buttons-card-feature-editor")],m)}}]);
//# sourceMappingURL=88031.21acec0701fa9c57.js.map