diff --git a/config/.HA_VERSION b/config/.HA_VERSION index d4a80723..617bf7c1 100755 --- a/config/.HA_VERSION +++ b/config/.HA_VERSION @@ -1 +1 @@ -2023.5.3 \ No newline at end of file +2023.6.2 \ No newline at end of file diff --git a/config/automation/Timed_Triggers/0700.yaml b/config/automation/Timed_Triggers/0700.yaml index 5a10482d..f5425f8a 100755 --- a/config/automation/Timed_Triggers/0700.yaml +++ b/config/automation/Timed_Triggers/0700.yaml @@ -25,10 +25,11 @@ - fri action: - - service: light.turn_on + - service: homeassistant.turn_on entity_id: - light.d1 - light.d2 + - switch.office_lamp_switch_socket - service: light.turn_off entity_id: - light.dining_room_lights diff --git a/config/group/switches.yaml b/config/group/switches.yaml index 070676f6..6c89d8cf 100755 --- a/config/group/switches.yaml +++ b/config/group/switches.yaml @@ -12,6 +12,7 @@ Interior Switches: - switch.living_room_outlet - switch.living_room_outlet_2 - switch.living_room_tv_outlet + - switch.office_lamp_switch_socket Kitchen Accents: entities: diff --git a/config/packages/conico.yaml b/config/packages/conico.yaml index c6fcfec1..d67e7c1f 100755 --- a/config/packages/conico.yaml +++ b/config/packages/conico.yaml @@ -70,7 +70,7 @@ automation: - delay: '00:20:00' - service: media_player.play_media data: - entity_id: media_player.stacey_bedroom + entity_id: media_player.kitchen_show media_content_id: 'hide garage camera' media_content_type: custom diff --git a/config/packages/holiday.yaml b/config/packages/holiday.yaml index 09ad512e..e033e5f5 100755 --- a/config/packages/holiday.yaml +++ b/config/packages/holiday.yaml @@ -62,16 +62,6 @@ sensor: ################################################################################ # Countdown Sesor using WolfRam Alpha Natural language queries ################################################################################ -# -# - platform: command_line -# name: Halloween Countdown -# command: "HALLOWEEN=`date -d 'Oct 31' +%j | awk '{print $1 + 0}'`; TODAY=`date +%j | awk '{print $1 + 0}'`; DAYS=$(($HALLOWEEN - $TODAY)); echo $DAYS" -# scan_interval: 43200 -# -# - platform: command_line -# command: "XMAS=`date -d 'Dec 25' +%j | awk '{print $1 + 0}'`; TODAY=`date +%j | awk '{print $1 + 0}'`; DAYS=$(($XMAS - $TODAY)); echo $DAYS" -# name: Christmas Countdown -# scan_interval: 43200 - platform: rest name: Halloween Countdown diff --git a/config/packages/juicenet.yaml b/config/packages/juicenet.yaml index 9804ffef..5e1f53ec 100755 --- a/config/packages/juicenet.yaml +++ b/config/packages/juicenet.yaml @@ -8,12 +8,11 @@ # juicenet: # access_token: !secret juicenet_access_token -switch: - - platform: command_line - switches: - juicebox_restart: - command_on: "/usr/bin/curl -k 'http://192.168.10.91/command/reboot'" - friendly_name: Restart Juicebox +command_line: + switch: + name: Restart Juicebox + unique_id: restart_juicebox_switch + command_on: "/usr/bin/curl -k 'http://192.168.10.91/command/reboot'" ############################################################################# ### Automations - Alerts related to the JuiceBox (https://amzn.to/2AZVQ37) @@ -62,7 +61,7 @@ automation: action: - service: homeassistant.turn_on - entity_id: switch.juicebox_restart + entity_id: switch.restart_juicebox - service: script.tweet_engine_image data: diff --git a/config/packages/twitter.yaml b/config/packages/twitter.yaml index c8d9757f..ba5a0a75 100755 --- a/config/packages/twitter.yaml +++ b/config/packages/twitter.yaml @@ -4,6 +4,25 @@ # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig #------------------------------------------- +### Building out some Historical stats for tweeting. ##################### +command_line: + - sensor: + name: 'Lines of Code' + unique_id: lines_of_code + command: "find /config -name '*.yaml' | xargs cat | wc -l" + scan_interval: 20000 + +command_line: + - sensor: + name: 'GitHub Stats' + unique_id: github_stats_command + command: 'curl https://api.github.com/repos/ccostan/home-assistantconfig' + scan_interval: 20000 + value_template: '{{ value_json.name }}' + json_attributes: + - open_issues + - stargazers_count + notify: - name: BearStoneHA platform: twitter @@ -18,26 +37,6 @@ notify: access_token: !secret twitter_access_token2 access_token_secret: !secret twitter_access_token_secret2 -### Building out some Historical stats for tweeting. ##################### -sensor: - - platform: command_line - command: 'curl https://api.github.com/repos/ccostan/home-assistantconfig' - name: GitHub Stats - unit_of_measurement: 'Count' - scan_interval: 20000 - value_template: '{{ value_json.name }}' - json_attributes: - - open_issues -# - subscribers_count -# - forks - - stargazers_count - - - platform: command_line - name: Lines of Code - command: "find /config -name '*.yaml' | xargs cat | wc -l" - unit_of_measurement: 'Lines' - scan_interval: 20000 - # - platform: history_stats # name: Doorbell Presses # entity_id: binary_sensor.skybell_front_door_button @@ -46,7 +45,7 @@ sensor: # end: '{{ now() }}' # duration: # hours: 24 - +sensor: - platform: history_stats name: Speech time entity_id: media_player.livingroomCC diff --git a/config/script/tweet_youtube.yaml b/config/script/tweet_youtube.yaml index 62705007..f1ba5853 100755 --- a/config/script/tweet_youtube.yaml +++ b/config/script/tweet_youtube.yaml @@ -336,6 +336,9 @@ tweet_youtube_engine_setup: ], "RunningAutomationsCard": [ "What is running in your Home Assistant - A lovelace Card (https://www.vcloudinfo.com/2023/01/whats-running-in-home-assistant-a-lovelace-card.html)" + ], + "AutoEntityCard": [ + "Adjusting the Auto-Entities Card in Home Assistant (https://youtu.be/h3SIhPVAP4k)" ] } %} diff --git a/config/www/community/vacuum-card/vacuum-card.js b/config/www/community/vacuum-card/vacuum-card.js index 79f40b0b..1e8ac308 100644 --- a/config/www/community/vacuum-card/vacuum-card.js +++ b/config/www/community/vacuum-card/vacuum-card.js @@ -1,4 +1,4 @@ -var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function a(t,e){return t(e={exports:{}},e.exports),e.exports}var o=e(a((function(t){function e(t,e,a,o,n,r,i){try{var s=t[r](i),l=s.value}catch(t){return void a(t)}s.done?e(l):Promise.resolve(l).then(o,n)}t.exports=function(t){return function(){var a=this,o=arguments;return new Promise((function(n,r){var i=t.apply(a,o);function s(t){e(i,n,r,s,l,"next",t)}function l(t){e(i,n,r,s,l,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports}))),n=e(a((function(t){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports}))),r=a((function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports}));e(r);var i=a((function(t){t.exports=function(t,e){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var o,n,r=[],i=!0,s=!1;try{for(a=a.call(t);!(i=(o=a.next()).done)&&(r.push(o.value),!e||r.length!==e);i=!0);}catch(t){s=!0,n=t}finally{try{i||null==a.return||a.return()}finally{if(s)throw n}}return r}},t.exports.__esModule=!0,t.exports.default=t.exports}));e(i);var s=a((function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,o=new Array(e);a=0;--n){var r=this.tryEntries[n],i=r.completion;if("root"===r.tryLoc)return o("end");if(r.tryLoc<=this.prev){var s=a.call(r,"catchLoc"),l=a.call(r,"finallyLoc");if(s&&l){if(this.prev=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var a=this.tryEntries[e];if(a.finallyLoc===t)return this.complete(a.completion,a.afterLoc),k(a),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var a=this.tryEntries[e];if(a.tryLoc===t){var o=a.completion;if("throw"===o.type){var n=o.arg;k(a)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,a){return this.delegate={iterator:S(t),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=void 0),u}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));const S=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,A=Symbol(),j=new Map;class O{constructor(t,e){if(this._$cssResult$=!0,e!==A)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=j.get(this.cssText);return S&&void 0===t&&(j.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const z=t=>new O("string"==typeof t?t:t+"",A),E=(t,...e)=>{const a=1===t.length?t[0]:e.reduce((e,a,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[o+1],t[0]);return new O(a,A)},$=(t,e)=>{S?t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(e=>{const a=document.createElement("style"),o=window.litNonce;void 0!==o&&a.setAttribute("nonce",o),a.textContent=e.cssText,t.appendChild(a)})},C=S?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const a of t.cssRules)e+=a.cssText;return z(e)})(t):t;var P;const M=window.trustedTypes,T=M?M.emptyScript:"",V=window.reactiveElementPolyfillSupport,N={toAttribute(t,e){switch(e){case Boolean:t=t?T:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let a=t;switch(e){case Boolean:a=null!==t;break;case Number:a=null===t?null:Number(t);break;case Object:case Array:try{a=JSON.parse(t)}catch(t){a=null}}return a}},R=(t,e)=>e!==t&&(e==e||t==t),L={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:R};class I extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,a)=>{const o=this._$Eh(a,e);void 0!==o&&(this._$Eu.set(o,a),t.push(o))}),t}static createProperty(t,e=L){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const a="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,a,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,a){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||L}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const a of e)this.createProperty(a,t[a])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const a=new Set(t.flat(1/0).reverse());for(const t of a)e.unshift(C(t))}else void 0!==t&&e.push(C(t));return e}static _$Eh(t,e){const a=e.attribute;return!1===a?void 0:"string"==typeof a?a:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,a;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(a=t.hostConnected)||void 0===a||a.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return $(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,a){this._$AK(t,a)}_$ES(t,e,a=L){var o,n;const r=this.constructor._$Eh(t,a);if(void 0!==r&&!0===a.reflect){const i=(null!==(n=null===(o=a.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:N.toAttribute)(e,a.type);this._$Ei=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Ei=null}}_$AK(t,e){var a,o,n;const r=this.constructor,i=r._$Eu.get(t);if(void 0!==i&&this._$Ei!==i){const t=r.getPropertyOptions(i),s=t.converter,l=null!==(n=null!==(o=null===(a=s)||void 0===a?void 0:a.fromAttribute)&&void 0!==o?o:"function"==typeof s?s:null)&&void 0!==n?n:N.fromAttribute;this._$Ei=i,this[i]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,a){let o=!0;void 0!==t&&(((a=a||this.constructor.getPropertyOptions(t)).hasChanged||R)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===a.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,a))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((t,e)=>this[e]=t),this._$Et=void 0);let e=!1;const a=this._$AL;try{e=this.shouldUpdate(a),e?(this.willUpdate(a),null===(t=this._$Eg)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(a)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(a)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach((t,e)=>this._$ES(e,this[e],t)),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}var D;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==V||V({ReactiveElement:I}),(null!==(P=globalThis.reactiveElementVersions)&&void 0!==P?P:globalThis.reactiveElementVersions=[]).push("1.3.0");const U=globalThis.trustedTypes,H=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,B=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+B,q=`<${Z}>`,K=document,F=(t="")=>K.createComment(t),G=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,X=/>/g,Q=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,tt=/'/g,et=/"/g,at=/^(?:script|style|textarea|title)$/i,ot=(t=>(e,...a)=>({_$litType$:t,strings:e,values:a}))(1),nt=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),it=new WeakMap,st=K.createTreeWalker(K,129,null,!1),lt=(t,e)=>{const a=t.length-1,o=[];let n,r=2===e?"":"",i=J;for(let e=0;e"===l[0]?(i=null!=n?n:J,c=-1):void 0===l[1]?c=-2:(c=i.lastIndex-l[2].length,s=l[1],i=void 0===l[3]?Q:'"'===l[3]?et:tt):i===et||i===tt?i=Q:i===Y||i===X?i=J:(i=Q,n=void 0);const _=i===Q&&t[e+1].startsWith("/>")?" ":"";r+=i===J?a+q:c>=0?(o.push(s),a.slice(0,c)+"$lit$"+a.slice(c)+B+_):a+B+(-2===c?(o.push(void 0),e):_)}const s=r+(t[a]||"")+(2===e?"":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==H?H.createHTML(s):s,o]};class ct{constructor({strings:t,_$litType$:e},a){let o;this.parts=[];let n=0,r=0;const i=t.length-1,s=this.parts,[l,c]=lt(t,e);if(this.el=ct.createElement(l,a),st.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=st.nextNode())&&s.length0){o.textContent=U?U.emptyScript:"";for(let a=0;a{var e;return W(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==rt&&G(this._$AH)?this._$AA.nextSibling.data=t:this.k(K.createTextNode(t)),this._$AH=t}T(t){var e;const{values:a,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ct.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(a);else{const t=new _t(n,this),e=t.p(this.options);t.m(a),this.k(e),this._$AH=t}}_$AC(t){let e=it.get(t.strings);return void 0===e&&it.set(t.strings,e=new ct(t)),e}S(t){W(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let a,o=0;for(const n of t)o===e.length?e.push(a=new dt(this.A(F()),this.A(F()),this,this.options)):a=e[o],a._$AI(n),o++;o2||""!==a[0]||""!==a[1]?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=rt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,a,o){const n=this.strings;let r=!1;if(void 0===n)t=ut(this,t,e,0),r=!G(t)||t!==this._$AH&&t!==nt,r&&(this._$AH=t);else{const o=t;let i,s;for(t=n[0],i=0;i{var o,n;const r=null!==(o=null==a?void 0:a.renderBefore)&&void 0!==o?o:e;let i=r._$litPart$;if(void 0===i){const t=null!==(n=null==a?void 0:a.renderBefore)&&void 0!==n?n:null;r._$litPart$=i=new dt(e.insertBefore(F(),t),t,void 0,null!=a?a:{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return nt}}kt.finalized=!0,kt._$litElement$=!0,null===(yt=globalThis.litElementHydrateSupport)||void 0===yt||yt.call(globalThis,{LitElement:kt});const xt=globalThis.litElementPolyfillSupport;var St,At;null==xt||xt({LitElement:kt}),(null!==(wt=globalThis.litElementVersions)&&void 0!==wt?wt:globalThis.litElementVersions=[]).push("3.2.0"),function(t){t.language="language",t.system="system",t.comma_decimal="comma_decimal",t.decimal_comma="decimal_comma",t.space_comma="space_comma",t.none="none"}(St||(St={})),function(t){t.language="language",t.system="system",t.am_pm="12",t.twenty_four="24"}(At||(At={}));var jt=function(t,e,a,o){o=o||{},a=null==a?{}:a;var n=new Event(e,{bubbles:void 0===o.bubbles||o.bubbles,cancelable:Boolean(o.cancelable),composed:void 0===o.composed||o.composed});return n.detail=a,t.dispatchEvent(n),n};function Ot(t,e,a,o,n,r,i){try{var s=t[r](i),l=s.value}catch(t){return void a(t)}s.done?e(l):Promise.resolve(l).then(o,n)}function zt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e){for(var a=0;a-1},le.prototype.set=function(t,e){var a=this.__data__,o=ue(a,t);return o<0?a.push([t,e]):a[o][1]=e,this},ce.prototype.clear=function(){this.__data__={hash:new se,map:new(oe||le),string:new se}},ce.prototype.delete=function(t){return pe(this,t).delete(t)},ce.prototype.get=function(t){return pe(this,t).get(t)},ce.prototype.has=function(t){return pe(this,t).has(t)},ce.prototype.set=function(t,e){return pe(this,t).set(t,e),this};var me=ge((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(ye(t))return ie?ie.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var a=[];return Lt.test(t)&&a.push(""),t.replace(It,(function(t,e,o,n){a.push(o?n.replace(Dt,"$1"):e||t)})),a}));function fe(t){if("string"==typeof t||ye(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ge(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var a=function(){var o=arguments,n=e?e.apply(this,o):o[0],r=a.cache;if(r.has(n))return r.get(n);var i=t.apply(this,o);return a.cache=r.set(n,i),i};return a.cache=new(ge.Cache||ce),a}ge.Cache=ce;var ve=Array.isArray;function be(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ye(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==Qt.call(t)}var we=function(t,e,a){var o=null==t?void 0:_e(t,e);return void 0===o?a:o},ke={cleaning:"Netejant",paused:"En pausa",idle:"Inactiu",charging:"Carregant","returning home":"Tornant a la base",docked:"A la base"},xe={gentle:"Delicat",silent:"Silenciós",standard:"Estàndard",medium:"Mitjà",turbo:"Turbo"},Se={name:"Vacuum Card",description:"Vacuum card us permet controlar el robot aspirador.",start:"Neteja",continue:"Continua",pause:"Pausa",stop:"Atura",return_to_base:"Torna a la base",locate:"Localitza",not_available:"No disponible"},Ae={missing_entity:"Cal especificar una entitat."},je={entity:"Entitat (Requerit)",map:"Càmera de mapa (Opcional)",image:"Imatge (Opcional)",compact_view:"Visualització compacta",compact_view_aria_label_on:"Activar visualització compacta",compact_view_aria_label_off:"Desactivar visualització compacta",show_name:"Mostrar nom",show_name_aria_label_on:"Mostra nom",show_name_aria_label_off:"Amaga nom",show_status:"Mostrar estat",show_status_aria_label_on:"Mostra estat",show_status_aria_label_off:"Amaga estat",show_toolbar:"Mostrar barra d'eines",show_toolbar_aria_label_on:"Mostra barra d'eines",show_toolbar_aria_label_off:"Amaga barra d'eines",code_only_note:"Nota: Configuració de les accions i estadístiques només disponible des de l'Editor de Codi."},Oe={status:ke,source:xe,common:Se,error:Ae,editor:je},ze={cleaning:"清扫中",auto:"自动清扫",spot:"区域清扫",edge:"边缘清扫",single_room:"单房间清扫",paused:"暂停中",idle:"闲置中",stop:"已停止",charging:"充电中","returning home":"回充",returning:"回充",docked:"充电中",unknown:"未知",offline:"离线",error:"错误"},Ee={gentle:"轻柔",silent:"安静",standard:"标准",medium:"中等",turbo:"强力",normal:"正常",high:"高",strong:"强力",quiet:"安静",max:"Max","max+":"Max+"},$e={name:"Vacuum Card",description:"Vacuum Card 允许您控制您的扫地机器人。",start:"清扫",continue:"继续",pause:"暂停",stop:"停止",return_to_base:"回充",locate:"定位扫地机器人",not_available:"扫地机器人不可用"},Ce={missing_entity:"必须指定一个实体!"},Pe={actions_array:'警告: "动作" 是为了覆盖现有按钮的默认动作而保留的。如果你的目的是增加额外的动作,请使用"快捷键"选项来代替。'},Me={entity:"实体 (必填)",map:"地图 (选填)",image:"图片 (选填)",compact_view:"紧凑视图",compact_view_aria_label_on:"开启紧凑视图",compact_view_aria_label_off:"关闭紧凑视图",show_name:"显示名称",show_name_aria_label_on:"开启名称显示",show_name_aria_label_off:"关闭名称显示",show_status:"显示状态",show_status_aria_label_on:"开启状态显示",show_status_aria_label_off:"关闭状态显示",show_toolbar:"显示工具栏",show_toolbar_aria_label_on:"开启工具栏显示",show_toolbar_aria_label_off:"关闭工具栏显示",code_only_note:"注意: 设置动作和统计选项只能使用代码编辑器。"},Te={status:ze,source:Ee,common:$e,error:Ce,warning:Pe,editor:Me},Ve={cleaning:"Vysává se",auto:"Automatické vysávání",spot:"Vysávání na místě",edge:"Vysávání při okraji",single_room:"Vysávání jedné místnosti",paused:"Pozastaveno",idle:"Nečinný",stop:"Zastavený",charging:"Nabíjí se","returning home":"Vrací se do stanice",returning:"Vrací se",docked:"Ve stanici",unknown:"Neznámý",offline:"Vypnuto",error:"Chyba"},Ne={gentle:"Mírný",silent:"Tichý",standard:"Standardní",medium:"Střední",turbo:"Turbo",normal:"Normální",high:"Vysoký",strong:"Silný",quiet:"Tichý",max:"Max","max+":"Max+"},Re={name:"Karta vysavače",description:"Karta vysavače vám dovolí ovládat svůj vysavač.",start:"Začni vysávat",continue:"Pokračuj",pause:"Pozastav",stop:"Zastav",return_to_base:"Vrať se domů",locate:"Lokalizuj",not_available:"Vysavač není dostupný"},Le={missing_entity:"Je vyžadováno specifikování entity!"},Ie={actions_array:"VAROVÁNÍ: 'actions' jsou rezervovány pro přepsání původních akcí u existujících tlačítek. Pokud jste chtěli měli v plánu přidat další akce, použijte namísto toho možnost 'shortcuts'."},De={entity:"Entita (Povinný)",map:"Mapa (Nepovinný)",image:"Fotka (Nepovinný)",compact_view:"Kompaktní zobrazení",compact_view_aria_label_on:"Zapni kompaktní zobrazení",compact_view_aria_label_off:"Vypni kompaktní zobrazení",show_name:"Zobraz název",show_name_aria_label_on:"Zapni zobrazení názvu",show_name_aria_label_off:"Vypni zobrazení názvu",show_status:"Zobraz status",show_status_aria_label_on:"Zapni zobrazení statusu",show_status_aria_label_off:"Vypni zobrazení statusu",show_toolbar:"Zobraz lištu",show_toolbar_aria_label_on:"Zapni zobrazení lišty",show_toolbar_aria_label_off:"Vypni zobrazení lišty",code_only_note:"Poznámka: Nastavení akcí a infa je dostupné pouze v editoru kódu."},Ue={status:Ve,source:Ne,common:Re,error:Le,warning:Ie,editor:De},He={cleaning:"Støvsuger",paused:"Pauset",idle:"Inaktiv",charging:"Lader","returning home":"Returnerer til dock"},Be={gentle:"Mild",silent:"Stille",standard:"Standard",medium:"Medium",turbo:"Turbo"},Ze={name:"Vacuum Card",description:"Vacuum card lader dig kontrollere din robotstøvsuger.",start:"Start",continue:"Fortsæt",pause:"Pause",stop:"Stop",return_to_base:"Gå til dock",locate:"Find støvsuger",not_available:"Støvsuger er ikke tilgængelig"},qe={missing_entity:"En enhed skal specificeres!"},Ke={actions_array:""},Fe={entity:"Enhed (Påkrævet)",map:"Map Camera (Valgfrit)",image:"Billede (Valgfrit)",compact_view:"Kompakt visning",compact_view_aria_label_on:"Slå kompakt visning til",compact_view_aria_label_off:"Slå kompakt visning fra",show_name:"Vis navn",show_name_aria_label_on:"Slå visning af navn til",show_name_aria_label_off:"Slå visning af navn fra",show_status:"Vis Status",show_status_aria_label_on:"Slå visning af status til",show_status_aria_label_off:"Slå visning af status fra",show_toolbar:"Vis værktøjslinje",show_toolbar_aria_label_on:"Slå visning af værktøjslinje til",show_toolbar_aria_label_off:"Slå visning af værktøjslinje fra",code_only_note:"Bemærk: Indstilling af actions og statistik er udelukkende muligt via Code Editor."},Ge={status:He,source:Be,common:Ze,error:qe,warning:Ke,editor:Fe},We={cleaning:"Reinigen",paused:"Pausiert",idle:"Untätig",charging:"Aufladen","returning home":"Rückkehr zu Dockingstation",returning:"Rückkehr zu Dockingstation","segment cleaning":"Zimmerreinigung",docked:"Angedockt",error:"Fehler"},Je={silent:"Leise",standard:"Standard",medium:"Mittel",turbo:"Max",quiet:"Leise",max:"Maximal","max+":"Maximal+",gentle:"Schonend"},Ye={name:"Vacuum Card",description:"Vacuum card ermöglicht es Ihnen, Ihr Staubsaugerroboter zu steuern.",start:"Reinigen",continue:"Weiter",pause:"Pause",stop:"Stop",return_to_base:"Dock",locate:"Staubsauger lokalisieren"},Xe={missing_entity:"Angabe der Entität ist erforderlich!"},Qe={actions_array:""},ta={entity:"Entität (Erforderlich)",map:"Map Camera (Optional)",image:"Bild (Optional)",compact_view:"kompakte Ansicht",compact_view_aria_label_on:"Schalte kompakte Ansicht ein",compact_view_aria_label_off:"Schalte kompakte Ansicht aus",show_name:"Zeige Namen",show_name_aria_label_on:"Schalte 'Zeige Namen' ein",show_name_aria_label_off:"Schalte 'Zeige Namen' aus",show_toolbar:"Zeige Toolbar",show_toolbar_aria_label_on:"Schalte 'Zeige Toolbar' ein",show_toolbar_aria_label_off:"Schalte 'Zeige Toolbar' aus",code_only_note:"Hinweis: Das Festlegen von Aktionen und Statistikoptionen ist ausschließlich mit dem Code-Editor möglich."},ea={status:We,source:Je,common:Ye,error:Xe,warning:Qe,editor:ta},aa={cleaning:"Cleaning",auto:"Automatic Cleaning",spot:"Spot Cleaning",edge:"Edge Cleaning",single_room:"Single Room Cleaning",paused:"Paused",idle:"Idle",stop:"Stopped",charging:"Charging","returning home":"Returning Home",returning:"Returning Home",docked:"Docked",unknown:"Unknown",offline:"Offline",error:"Error"},oa={gentle:"Gentle",silent:"Silent",standard:"Standard",medium:"Medium",turbo:"Turbo",normal:"Normal",high:"High",strong:"Strong",quiet:"Quiet",max:"Max","max+":"Max+"},na={name:"Vacuum Card",description:"Vacuum card allows you to control your robot vacuum.",start:"Clean",continue:"Continue",pause:"Pause",stop:"Stop",return_to_base:"Dock",locate:"Locate Vacuum",not_available:"Vacuum is not available"},ra={missing_entity:"Specifying entity is required!"},ia={actions_array:"WARNING: 'actions' is reserved to override default actions for existing buttons. If your intention was to add additional actions, use the 'shortcuts' option instead."},sa={entity:"Entity (Required)",map:"Map Camera (Optional)",image:"Image (Optional)",compact_view:"Compact View",compact_view_aria_label_on:"Toggle compact view on",compact_view_aria_label_off:"Toggle compact view off",show_name:"Show Name",show_name_aria_label_on:"Toggle display name on",show_name_aria_label_off:"Toggle display name off",show_status:"Show Status",show_status_aria_label_on:"Toggle display status on",show_status_aria_label_off:"Toggle display status off",show_toolbar:"Show Toolbar",show_toolbar_aria_label_on:"Toggle display toolbar on",show_toolbar_aria_label_off:"Toggle display toolbar off",code_only_note:"Note: Setting actions and stats options are available exclusively using Code Editor."},la={status:aa,source:oa,common:na,error:ra,warning:ia,editor:sa},ca={cleaning:"Limpiando",paused:"En pausa",idle:"Inactivo",charging:"Cargando","returning home":"Volviendo a la base",docked:"En la base","segment cleaning":"Limpiando zona",returning:"Volviendo a la base"},ua={gentle:"Delicado",silent:"Silencioso",standard:"Estándar",medium:"Medio",turbo:"Turbo",strong:"Fuerte"},_a={name:"Vacuum Card",description:"Vacuum card te permite controlar tu robot aspirador.",start:"Comenzar",continue:"Continuar",pause:"Pausar",stop:"Detener",return_to_base:"Volver a la base",locate:"Localizar",not_available:"Vacuum no está disponible"},da={missing_entity:"¡Se requiere especificar una entidad!"},pa={actions_array:"ATENCIÓN: La opcion 'actions' está reservada para sobreescribir el comportamiento por defecto de los botones existentes. Si su intención es añadir acciones adicionales, debe utilizar la opcion 'shortcuts' en su lugar."},ha={entity:"Entidad (Requerido)",map:"Map Camera (Opcional)",image:"Imagen (Opcional)",compact_view:"Vista compacta",compact_view_aria_label_on:"Activar vista compacta",compact_view_aria_label_off:"Desactivar vista compacta",show_name:"Nombre a mostrar",show_name_aria_label_on:"Mostrar nombre",show_name_aria_label_off:"Ocultar nombre",show_status:"Mostrar estado",show_status_aria_label_on:"Activar estado de la pantalla",show_status_aria_label_off:"Desactivar estado de la pantalla",show_toolbar:"Mostrar barra de herramientas",show_toolbar_aria_label_on:"Activar la barra de herramientas",show_toolbar_aria_label_off:"Desactivar la barra de herramientas",code_only_note:"Nota: La configuración de las acciones y estadísticas está únicamente disponible a través del Editor de Código."},ma={status:ca,source:ua,common:_a,error:da,warning:pa,editor:ha},fa={Cleaning:"Siivoaa",Paused:"Pysäytetty",Idle:"Toimeton",Charging:"Latauksessa","Returning home":"Palaa kotiin"},ga={Gentle:"Hellävarainen",Silent:"Hiljainen",Standard:"Normaali",Medium:"Keskitaso",Turbo:"Turbo"},va={name:"Pölynimurikortti",description:"Pölynimurikortti sallii robotti imurin ohjauksen.",start:"Siivoa",continue:"Jatka",pause:"Tauko",stop:"Pysähdy",return_to_base:"Latausasemaan",locate:"Paikanna imuri",not_available:"Imuri ei saatavilla"},ba={missing_entity:"Entiteetti puuttuu!"},ya={entity:"Entiteetti (Vaaditaan)",map:"Kartan kamera (Valinnainen)",image:"Kuva (Valinnainen)",compact_view:"Kompakti näkymä",compact_view_aria_label_on:"Kompakti näkymä päälle",compact_view_aria_label_off:"Kompakti näkymä pois",show_name:"Näytä Nimi",show_name_aria_label_on:"Näyttönimi päälle",show_name_aria_label_off:"Näyttönimi pois",show_status:"Näytä Tila",show_status_aria_label_on:"Tilanäyttö päälle",show_status_aria_label_off:"Tilanäyttö pois",show_toolbar:"Näytä työkalurivi",show_toolbar_aria_label_on:"Työkalurivi päälle",show_toolbar_aria_label_off:"Työkalurivi pois",code_only_note:"Huom: Toimintojen ja tilastojen optiot ovat saatavilla ainoastaan koodieditorissa"},wa={status:fa,source:ga,common:va,error:ba,editor:ya},ka={cleaning:"Nettoyage",auto:"Nettoyage Automatique",spot:"Nettoyage Localisé",edge:"Nettoyage Contours",single_room:"Nettoyage Pièce Unique",paused:"En pause",idle:"Inactif",stop:"Arrêté",charging:"En charge","returning home":"Retour à la base",returning:"Retour à la base",docked:"A la base",unknown:"Inconnu",offline:"Déconnecté"},xa={gentle:"Doux",silent:"Silencieux",standard:"Standard",medium:"Moyen",turbo:"Turbo",normal:"Normal",high:"Intense"},Sa={name:"Vacuum Carte",description:"Vacuum carte vous permet de contrôler votre robot aspirateur.",start:"Nettoyer",continue:"Continuer",pause:"Pause",stop:"Stop",return_to_base:"Retour base",locate:"Localiser aspirateur",not_available:"L'aspirateur n'est pas disponible"},Aa={missing_entity:"La spécification de l'entité est requise !"},ja={actions_array:""},Oa={entity:"Entité (obligatoire)",map:"Caméra de carte (facultatif)",image:"Image (facultatif)",compact_view:"Vue compacte",compact_view_aria_label_on:"Activer la vue compacte",compact_view_aria_label_off:"Désactiver la vue compacte",show_name:"Afficher le nom",show_name_aria_label_on:"Activer affichage du nom",show_name_aria_label_off:"Désactiver affichage du nom",show_status:"Afficher l'état",show_status_aria_label_on:"Activer l'affichage de l'état",show_status_aria_label_off:"Désactiver l'affichage de l'état",show_toolbar:"Afficher la barre d'outils",show_toolbar_aria_label_on:"Activer l'affichage de la barre d'outils",show_toolbar_aria_label_off:"Désactiver l'affichage de la barre d'outils",code_only_note:"Remarque: Les options de réglage des actions et statistiques sont disponibles exclusivement en utilisant l'éditeur de code."},za={status:ka,source:xa,common:Sa,error:Aa,warning:ja,editor:Oa},Ea={cleaning:"מנקה","segment cleaning":"ניקוי מקטע",auto:"ניקוי אוטומטי",spot:"ניקוי אזור",edge:"ניקוי פינה",single_room:"ניקוי חדר יחיד",paused:"מושהה",idle:"ממתין",stop:"נעצר",charging:"בטעינה","returning home":"בחזרה הביתה",returning:"חוזר",docked:"בתחנה",unknown:"לא ידוע",offline:"מנותק",error:"שגיאה"},$a={gentle:"עדין",silent:"שקט",standard:"רגיל",medium:"בינוני",turbo:"טורבו",normal:"נורמלי",high:"גבוה",auto:"אוטומטי"},Ca={name:"כרטיס שואב",description:"כרטיס שואב מאפשר לך שליטה על שואב האבק שלך.",start:"נקה",continue:"המשך",pause:"השהה",stop:"עצור",return_to_base:"עגינה",locate:"אתר שואב",not_available:"השואב אינו זמין"},Pa={missing_entity:"יש צורך לציין ישות!"},Ma={actions_array:""},Ta={entity:"ישות (נדרש)",map:"מצלמת מפה (אפשרי)",image:"תמונה (אפשרי)",compact_view:"תצוגה קומפקטית",compact_view_aria_label_on:"החלף תצוגה קומפקטית",compact_view_aria_label_off:"כבה את התצוגה הקומפקטית",show_name:"שם תצוגה",show_name_aria_label_on:"הפעל את שם התצוגה למצב מופעל",show_name_aria_label_off:"כבה את שם התצוגה",show_status:"הצג סטטוס",show_status_aria_label_on:"הפעל את מצב התצוגה למצב פעיל",show_status_aria_label_off:"כבה את מצב התצוגה",show_toolbar:"הצג סרגל כלים",show_toolbar_aria_label_on:"הפעל את סרגל הכלים לתצוגה",show_toolbar_aria_label_off:"כבה את סרגל הכלים לתצוגה",code_only_note:"הערה: הגדרת פעולות ואפשרויות סטטיסטיקה זמינות אך ורק באמצעות עורך הקוד."},Va={status:Ea,source:$a,common:Ca,error:Pa,warning:Ma,editor:Ta},Na={cleaning:"Tisztítás",paused:"Szünet",idle:"Tétlen",charging:"Töltés","returning home":"Hazatérés"},Ra={gentle:"Gyengéd",silent:"Csendes",standard:"Alap",medium:"Közepes",turbo:"Turbo"},La={name:"Porszívó Kártya",description:"Ez a kártya lehetővé teszi, hogy robot porszívódat irányítsd.",start:"Tisztítás",continue:"Folytatás",pause:"Szünet",stop:"Megszakítás",return_to_base:"Hazatérés",locate:"Porszívó megkeresése",not_available:"A porszívó nem elérhető"},Ia={missing_entity:"Entitás megadása kötelező!"},Da={actions_array:""},Ua={entity:"Entitás (Kötelező)",map:"Térkép kamera (Opcionális)",image:"Kép (Opcionális)",compact_view:"Kompakt nézet",compact_view_aria_label_on:"Kompakt nézet bekapcsolása",compact_view_aria_label_off:"Kompakt nézet kikapcsolása",show_name:"Név megjelenítése",show_name_aria_label_on:"Név megjelenítése",show_name_aria_label_off:"Név elrejtése",show_status:"Állapot megjelenítése",show_status_aria_label_on:"Állapot megjelenítése",show_status_aria_label_off:"Állapot elrejtése",show_toolbar:"Eszköztár megjelenítése",show_toolbar_aria_label_on:"Eszköztár megjelenítése",show_toolbar_aria_label_off:"Eszköztár elrejtése",code_only_note:"Megjegyzés: Parancsok és statisztikák beállítása csak a kódszerkesztőben elérhetőek."},Ha={status:Na,source:Ra,common:La,error:Ia,warning:Da,editor:Ua},Ba={cleaning:"In pulizia",paused:"In pausa",idle:"Inattivo",charging:"In carica","returning home":"In rientro alla base",docked:"In Base"},Za={gentle:"Gentile",silent:"Silenzioso",standard:"Normale",medium:"Medio",turbo:"Turbo"},qa={name:"Vacuum Card",description:"Vacuum card consente di controllare il tuo aspirapolvere.",start:"Pulisci",continue:"Continua",pause:"Pausa",stop:"Stop",return_to_base:"Base",locate:"Trova aspirapolvere",not_available:"Vacuum non disponibile"},Ka={missing_entity:"È necessario specificare l'entità!"},Fa={actions_array:""},Ga={entity:"Entità (Richiesto)",map:"Mappa (Opzionale)",image:"Immagine (Opzionale)",compact_view:"Vista compatta",compact_view_aria_label_on:"Attiva vista compatta",compact_view_aria_label_off:"Disattiva vista compatta",show_name:"Mostra Nome",show_name_aria_label_on:"Attiva nome",show_name_aria_label_off:"Disattiva nome",show_status:"Mostra Stato",show_status_aria_label_on:"Attiva stato",show_status_aria_label_off:"Disattiva stato",show_toolbar:"Mostra barra degli strumenti",show_toolbar_aria_label_on:"Attiva barra degli strumenti",show_toolbar_aria_label_off:"Disattiva barra degli strumenti",code_only_note:"NB: La configurazione di azioni e statistiche sono disponibili soltanto nell'editor di codice."},Wa={status:Ba,source:Za,common:qa,error:Ka,warning:Fa,editor:Ga},Ja={cleaning:"청소중",paused:"일시정지",idle:"대기중",charging:"충전중","returning home":"복귀중"},Ya={gentle:"물걸레",silent:"저소음",standard:"밸런스",medium:"터보",turbo:"최강"},Xa={name:"청소기 카드",description:"청소기 카드는 로봇 청소기를 제어합니다.",start:"청소 시작",continue:"청소 재개",pause:"일시정지",stop:"정지",return_to_base:"복귀",locate:"청소기 위치",not_available:"청소기 사용 불가"},Qa={missing_entity:"구성요소를 선택해주세요."},to={actions_array:""},eo={entity:"구성요소 (필수 요소)",map:"지도 (선택 사항)",image:"이미지 (선택 사항)",compact_view:"간단히 보기",compact_view_aria_label_on:"간단히 보기 켜기",compact_view_aria_label_off:"간단히 보기 끄기",show_name:"이름 표시",show_name_aria_label_on:"이름 표시 켜기",show_name_aria_label_off:"이름 표시 끄기",show_status:"상태 표시",show_status_aria_label_on:"상태 표시 켜기",show_status_aria_label_off:"상태 표시 끄기",show_toolbar:"툴바 표시",show_toolbar_aria_label_on:"툴바 표시 켜기",show_toolbar_aria_label_off:"툴바 표시 끄기",code_only_note:"동작과 상태 설정은 코드 에디터에서 수정할 수 있습니다."},ao={status:Ja,source:Ya,common:Xa,error:Qa,warning:to,editor:eo},oo={cleaning:"Valo",paused:"Pristabdytas",idle:"Neturi darbo",charging:"Kraunasi","returning home":"Grįžtą namo",docked:"Doke"},no={gentle:"Švelnus",silent:"Tylus",standard:"Standartinis",medium:"Vidutinis",turbo:"Turbo"},ro={name:"Siurblio kortelė",description:"Siurblio kortelė leidžia valdyti jūsų robotą siurblį",start:"Valyti",continue:"Tęsti",pause:"Pristabdyti",stop:"Sustabdyti",return_to_base:"Statyti į doką",locate:"Ieškoti siurblio",not_available:"Siurblys yra nepasiekiamas"},io={missing_entity:"Būtina nurodyti entity!"},so={entity:"Entity (Būtina)",map:"Žemėlapio kamera (Neprivaloma)",image:"Paveikslėlis (Neprivaloma)",compact_view:"Glaustas vaizdas",compact_view_aria_label_on:"Įjungti glaustą vaizdą",compact_view_aria_label_off:"Išjungti glaustą vaizdą",show_name:"Rodyti pavadinimą",show_name_aria_label_on:"Įjungti pavadinimo rodymą",show_name_aria_label_off:"Išjungti pavadinimo rodymą",show_status:"Rodyti būseną",show_status_aria_label_on:"Įjungti būsenos rodymą",show_status_aria_label_off:"Išjungti būsenos rodymą",show_toolbar:"Rodyti įrankių juostą",show_toolbar_aria_label_on:"Įjungti įrankių juostos rodymą",show_toolbar_aria_label_off:"Išjungti įrankių juostos rodymą",code_only_note:"Pastaba: Veiksmų ir statistikos nustatymai gali būti redaguojami tik naudojantis kodo redaguotoju."},lo={status:oo,source:no,common:ro,error:io,editor:so},co={cleaning:"Rengjøring",paused:"Pauset",idle:"Tomgang",charging:"Lader","returning home":"Returnerer hjem"},uo={gentle:"Skånsom",silent:"Stille",standard:"Standard",medium:"Medium",turbo:"Turbo"},_o={name:"Støvsuger kort",description:"Støvsugerkortet lar deg kontrollere robotstøvsugeren din",start:"Rengjør",continue:"fortsett",pause:"Pause",stop:"Stop",return_to_base:"Dock",locate:"Lokaliser støvsuger",not_available:"Støvsugeren er ikke tilgjengelig"},po={missing_entity:"Spesifiserende enhet kreves!"},ho={actions_array:""},mo={entity:"Enhet (påkrevd)",map:"Kartkamera (valgfritt)",image:"Bilde (Valgfritt)",compact_view:"Kompakt visning",compact_view_aria_label_on:"Slå på kompakt visning",compact_view_aria_label_off:"Slå av kompakt visningf",show_name:"Vis navn",show_name_aria_label_on:"Slå visningsnavnet på",show_name_aria_label_off:"Slå visningsnavnet av",show_status:"Vis Status",show_status_aria_label_on:"Slå skjermstatus på",show_status_aria_label_off:"Slå skjermstatus av",show_toolbar:"Vis verktøylinjen",show_toolbar_aria_label_on:"Slå skjermverktøylinjen på",show_toolbar_aria_label_off:"Slå skjermverktøylinjen av",code_only_note:"Merk: Innstillingshandlinger og statistikkalternativer er eksklusivt tilgjengelige ved hjelp av Code Editor."},fo={status:co,source:uo,common:_o,error:po,warning:ho,editor:mo},go={cleaning:"Aan het schoonmaken",paused:"Gepauzeerd",idle:"Inactief",charging:"Aan het opladen","returning home":"Keert terug naar dock"},vo={name:"Stofzuiger kaart",description:"Stofzuiger kaart maakt het makkelijk om je robotstofzuiger te bedienen.",start:"Start",continue:"Doorgaan",pause:"Pauze",stop:"Stop",return_to_base:"Terugkeren",locate:"Zoek stofzuiger"},bo={missing_entity:"Het specificeren van een entiteit is verplicht!"},yo={actions_array:""},wo={entity:"Entiteit (Verplicht)",map:"Kaart Camera (Optioneel)",image:"Afbeelding (Optioneel)",compact_view:"Compacte weergave",compact_view_aria_label_on:"Zet compacte weergave aan",compact_view_aria_label_off:"Zet compacte weergave uit",show_name:"Naam laten zien?",show_name_aria_label_on:"Zet weergavenaam aan",show_name_aria_label_off:"Zet weergavenaam uit",show_toolbar:"Werkbalk laten zien?",show_toolbar_aria_label_on:"Zet werkbalk aan",show_toolbar_aria_label_off:"Zet werkbalk uit",code_only_note:"Notitie: Instel acties en status opties zijn alleen beschikbaar in de Code Editor"},ko={status:go,common:vo,error:bo,warning:yo,editor:wo},xo={cleaning:"Rengjer",paused:"Pausa",idle:"Tomgang",charging:"Ladar","returning home":"Returnerer heim"},So={gentle:"Skånsam",silent:"Stille",standard:"Standard",medium:"Medium",turbo:"Turbo"},Ao={name:"Støvsugarkort",description:"Støvsugarkortet let deg kontrollere robotstøvsugaren din",start:"Reingjer",continue:"Fortsett",pause:"Sett på pause",stop:"Stopp",return_to_base:"Dokk",locate:"Lokaliser støvsugar",not_available:"Støvsugaren er ikkje tilgjengeleg"},jo={missing_entity:"Spesifiserande oppføring kravd!"},Oo={entity:"Oppføring (påkravd)",map:"Kartkamera (valfritt)",image:"Bilde (valfritt)",compact_view:"Kompakt vising",compact_view_aria_label_on:"Slå på kompakt vising",compact_view_aria_label_off:"Slå av kompakt vising",show_name:"Vis namn",show_name_aria_label_on:"Slå visingsnanet på",show_name_aria_label_off:"Slå visingsnamnet av",show_status:"Vis status",show_status_aria_label_on:"Slå skjermstatus på",show_status_aria_label_off:"Slå skjermstatus av",show_toolbar:"Vis verktøylinja",show_toolbar_aria_label_on:"Slå skjermverktøylinja på",show_toolbar_aria_label_off:"Slå skjermverktøylinja av",code_only_note:"Merk: Innstillingshandlingar og statistikkalternativ er berre tilgjengeleg ved hjelp av Code Editor."},zo={status:xo,source:So,common:Ao,error:jo,editor:Oo},Eo={cleaning:"Sprzątanie",auto:"Automatyczne sprzątanie",spot:"Sprzątanie miejscowe",edge:"Sprzątanie krawędziowe",single_room:"Sprzątanie pojedyńczego pokoju",paused:"Wstrzymany",idle:"Bezczynny",stop:"Zatrzymany",charging:"Ładowanie","returning home":"Powrót do bazy",returning:"Powrót do bazy",docked:"Zadokowany",unknown:"Nieznany",offline:"Offline",error:"Błąd"},$o={gentle:"Delikatne",low:"Niskie",silent:"Ciche",standard:"Standardowe",medium:"Średnie",turbo:"Turbo",normal:"Normalne",high:"Wysokie",max:"Maksymalne",strong:"Mocne"},Co={name:"Vacuum Card",description:"Vacuum card pozwala zdalnie kontrolować odkurzacz.",start:"Sprzątaj",continue:"Kontynuuj",pause:"Wstrzymaj",stop:"Zatrzymaj",return_to_base:"Powrót do bazy",locate:"Zlokalizuj odkurzacz",not_available:"Odkurzacz jest niedostępny"},Po={missing_entity:"Ustawienie encji jest wymagane!"},Mo={actions_array:"OSTRZEŻENIE: 'actions' jest zarezerwowane dla zmiany zachowania domyślnych akcji przycisków. Jeśli chcesz dodać dodatkowe akcje, użyj w zamian opcji 'shortcuts'."},To={entity:"Encja (wymagane)",map:"Kamera z mapą (opcjonalna)",image:"Obraz (opcjonalny)",compact_view:"Widok kompaktowy",compact_view_aria_label_on:"Włącz widok kompaktowy",compact_view_aria_label_off:"Wyłącz widok kompaktowy",show_name:"Pokaż nazwę",show_name_aria_label_on:"Włącz widok nazwy",show_name_aria_label_off:"Wyłącz widok nazwy",show_status:"Pokaż pasek statusu",show_status_aria_label_on:"Włącz widok paska statusu",show_status_aria_label_off:"Wyłącz widok paska statusu",show_toolbar:"Pasek narzędzi",show_toolbar_aria_label_on:"Włącz pasek narzędzi",show_toolbar_aria_label_off:"Wyłącz pasek narzędzi",code_only_note:"Uwaga: Ustawianie opcji i informacji statystyk jest dostępne tylko poprzez edytor kodu YAML."},Vo={status:Eo,source:$o,common:Co,error:Po,warning:Mo,editor:To},No={cleaning:"A Limpar",paused:"Pausado",idle:"Parado",charging:"A Carregar","returning home":"Voltar para a Base"},Ro={gentle:"Delicado",silent:"Silencioso",standard:"Standard",medium:"Medio",turbo:"Turbo"},Lo={name:"Vacuum Card",description:"Vacuum card permite controlar o robô aspirador.",start:"Começar",continue:"Continuar",pause:"Pausa",stop:"Parar",return_to_base:"Base",locate:"Localizar aspirador",not_available:"Aspirador indisponível"},Io={missing_entity:"Entidade obrigatória!"},Do={actions_array:""},Uo={entity:"Entidade (Obrigatório)",map:"Mapa (Opcional)",image:"Imagem (Opcional)",compact_view:"Vista Compacta",compact_view_aria_label_on:"Ativar visualização compacta",compact_view_aria_label_off:"Desativar a visualização compacta",show_name:"Mostrar nome",show_name_aria_label_on:"Mostrar nome",show_name_aria_label_off:"Ocultar nome",show_status:"Mostrar estado",show_status_aria_label_on:"Mostrar estado",show_status_aria_label_off:"Ocultar estado",show_toolbar:"Mostrar barra de ferramentas",show_toolbar_aria_label_on:"Mostrar barra de ferramentas",show_toolbar_aria_label_off:"Ocultar barra de ferramentas",code_only_note:"Nota: Ações e estatísticas estão disponiveis exclusivamente usando o editor de código."},Ho={status:No,source:Ro,common:Lo,error:Io,warning:Do,editor:Uo},Bo={cleaning:"Limpando",auto:"Limpeza automatica",spot:"Limpando local",edge:"Limpando borda",single_room:"Limpando um quarto",paused:"Em pausa",idle:"Ocioso",stop:"Parado",charging:"Carregando","returning home":"Voltando à base",returning:"Voltando",docked:"Na base",unknown:"Desconhecido",offline:"Offline",error:"Erro"},Zo={gentle:"Delicado",silent:"Silencioso",standard:"Padrão",medium:"Médio",turbo:"Turbo",normal:"Normal",high:"Alto",strong:"Forte"},qo={name:"Vacuum Card",description:"Vacuum card para controlar seu robô aspirador.",start:"Limpar",continue:"Continuar",pause:"Pausa",stop:"Parar",return_to_base:"Retornar à base",locate:"Localizar aspirador",not_available:"Aspirador indisponível"},Ko={missing_entity:"Entidade obrigatória"},Fo={actions_array:"AVISO: 'actions' são reservadas para substituir as ações padrões para botões existentes. Se sua intenção era adicionar ações adicionais, use a opção 'shortcuts'."},Go={entity:"Entidade (Obrigatória)",map:"Mapa (Opcional)",image:"Imagem (Opcional)",compact_view:"Vista Compacta",compact_view_aria_label_on:"Ativar visualização compacta",compact_view_aria_label_off:"Desativar visualização compacta",show_name:"Mostrar nome",show_name_aria_label_on:"Mostrar nome",show_name_aria_label_off:"Ocultar nome",show_status:"Mostrar estado",show_status_aria_label_on:"Mostrar estado",show_status_aria_label_off:"Ocultar estado",show_toolbar:"Mostrar barra de ferramentas",show_toolbar_aria_label_on:"Mostrar barra de ferramentas",show_toolbar_aria_label_off:"Ocultar barra de ferramentas",code_only_note:"Nota: Ações e estatísticas estão disponiveis exclusivamente usando o editor de código."},Wo={status:Bo,source:Zo,common:qo,error:Ko,warning:Fo,editor:Go},Jo={cleaning:"Curățare",auto:"Curățare Automată",spot:"Curățare Punct",edge:"Curățare Margini",single_room:"Curățare o singură cameră",paused:"Repauz",idle:"Inactiv",stop:"Oprit",charging:"Încărcare","returning home":"Revenire Acasă",returning:"Revenire Acasă",docked:"Parcat",unknown:"Necunoscut",offline:"Deconectat",error:"Eroare"},Yo={gentle:"Blând",silent:"Silențios",standard:"Standard",medium:"Mediu",turbo:"Turbo",normal:"Normal",high:"Ridicat"},Xo={name:"Card de vid.",description:"Un card de vid vă permite să controlați vidul robotului.",start:"Curat",continue:"Continuă",pause:"Repauz",stop:"Stop",return_to_base:"Parchează",locate:"Găsește Aspirator",not_available:"Aspiratorul nu este disponibil"},Qo={missing_entity:"Este necesară specificarea entității!"},tn={entity:"Entitate (Necesar)",map:"Camera Harta (Optional)",image:"Imagine (Optional)",compact_view:"Vizualizare compactă",compact_view_aria_label_on:"Pornește vizualizare compactă",compact_view_aria_label_off:"Oprește vizualizare compactă compact view off",show_name:"Arată Nume",show_name_aria_label_on:"Pornește arată nume",show_name_aria_label_off:"Oprește arată nume",show_status:"Arată Status",show_status_aria_label_on:"Pornește arată status",show_status_aria_label_off:"Oprește arată status",show_toolbar:"Arată bara de instrumente",show_toolbar_aria_label_on:"Pornește arată bara de instrumente",show_toolbar_aria_label_off:"Oprește arată bara de instrumente",code_only_note:"Notă: Acțiunile de setare și opțiunile de statistici sunt disponibile exclusiv folosind Editorul de cod."},en={status:Jo,source:Yo,common:Xo,error:Qo,editor:tn},an={cleaning:"Убирает",paused:"Пауза",idle:"Ожидает",charging:"Заряжается","returning home":"Возвращается",returning:"Возвращается",docked:"На базе","segment cleaning":"Уборка зоны/комнаты",mopping:"Мытье полов"},on={gentle:"Деликатный",silent:"Тихий",standard:"Стандартный",medium:"Средний",turbo:"Турбо",strong:"Сильный"},nn={name:"Пылесос",description:'Карта "пылесос" позволяет управлять роботом-пылесосом.',start:"Запуск",continue:"Продолжить",pause:"Пауза",stop:"Остановить",return_to_base:"На базу",locate:"Найти",not_available:"Пылесос недоступен"},rn={missing_entity:"Объект является обязательным полем!"},sn={actions_array:""},ln={entity:"Объект (Обязательное)",map:"Камера для карты (Опциональное)",image:"Изображение (Опциональное)",compact_view:"Компактный просмотр",compact_view_aria_label_on:"Включить компактный просмотр",compact_view_aria_label_off:"Выключить компактный просмотр",show_name:"Показать название?",show_name_aria_label_on:"Показать название",show_name_aria_label_off:"Скрыть название",show_status:"Показать статус?",show_status_aria_label_on:"Показать статус",show_status_aria_label_off:"Скрыть статус",show_toolbar:"Показать панель действий?",show_toolbar_aria_label_on:"Показать панель действий",show_toolbar_aria_label_off:"Скрыть панель действий",code_only_note:"Внимание: Опции actions и stats доступны исключительно через редактор кода."},cn={status:an,source:on,common:nn,error:rn,warning:sn,editor:ln},un={cleaning:"Städar",paused:"Pausad",idle:"Inaktiv",charging:"Laddar","returning home":"Återvänder hem"},_n={gentle:"Extra försiktig",silent:"Eco - tyst",standard:"Standard",medium:"Medium",turbo:"Turbo"},dn={name:"Dammsugarkort",description:"Dammsugarkort låter dig att kontrollera din robotdammsugare.",start:"Städa",continue:"Fortsätt",pause:"Paus",stop:"Stopp",return_to_base:"Docka",locate:"Lokalisera dammsugare",not_available:"Dammsugare är inte tillgänglig"},pn={missing_entity:"Specificera entitet är obligatoriskt!"},hn={actions_array:""},mn={entity:"Entitet (Obligatoriskt)",map:"Kartkamera (Valfritt)",image:"Bild (Valfritt)",compact_view:"Kompakt vy",compact_view_aria_label_on:"Aktivera kompakt vy",compact_view_aria_label_off:"Inaktivera kompakt vy",show_name:"Visa namn",show_name_aria_label_on:"Aktivera namn",show_name_aria_label_off:"Inaktivera namn",show_status:"Visa status",show_status_aria_label_on:"Aktivera status",show_status_aria_label_off:"Inaktivera status",show_toolbar:"Visa verktygsvält",show_toolbar_aria_label_on:"Aktivera verktygsfält",show_toolbar_aria_label_off:"Inaktivera verktygsfält",code_only_note:"Obs! Inställningar för händelser och statistikalternativ är enbart tillgängliga med kodredigeraren."},fn={status:un,source:_n,common:dn,error:pn,warning:hn,editor:mn},gn={Cleaning:"清掃中",Paused:"暫停中",Idle:"閒置中",Charging:"充電中","Returning home":"正在返回充電座",docked:"返回充電座","segment cleaning":"區域清掃"},vn={Gentle:"拖地",Silent:"安靜",Standard:"標準",Medium:"強力",Turbo:"MAX"},bn={name:"Vacuum Card",description:"Vacuum Card 可以讓您控制掃地機器人",start:"開始清掃",continue:"繼續清掃",pause:"暫停清掃",stop:"停止清掃",return_to_base:"返回充電座",locate:"定位掃地機器人",not_available:"掃地機器人並不支援"},yn={missing_entity:"必須指定一個實體!"},wn={entity:"實體 (必填)",map:"地圖 (選填)",image:"圖片 (選填)",compact_view:"精簡檢視",compact_view_aria_label_on:"開啟精簡檢視",compact_view_aria_label_off:"關閉精簡檢視",show_name:"顯示名字",show_name_aria_label_on:"開啟名字顯示",show_name_aria_label_off:"關閉名字顯示",show_status:"顯示狀態",show_status_aria_label_on:"開啟狀態顯示",show_status_aria_label_off:"關閉狀態顯示",show_toolbar:"顯示工具欄",show_toolbar_aria_label_on:"開啟工具欄顯示",show_toolbar_aria_label_off:"關閉工具欄顯示",code_only_note:"提醒: 如果要使用 actions 和 stats 選項,請使用編碼編輯器編輯"},kn={status:gn,source:vn,common:bn,error:yn,editor:wn},xn={cleaning:"Прибирає",auto:"Автоматичне прибирання",spot:"Прибирання зони",edge:"Прибирання по периметру",single_room:"Прибирання кімнати",paused:"Пауза",idle:"Очікування",stop:"Зупинений",charging:"Заряджається","returning home":"Повертається",returning:"Повертається",docked:"На док-станції",unknown:"Невідомо",offline:"Оффлайн",error:"Помилка"},Sn={low:"Низький",gentle:"Делікатний",silent:"Тихий",standard:"Стандартний",medium:"Середній",turbo:"Турбо",normal:"Нормальний",max:"Максимальний",high:"Високий"},An={name:"Пилосос",description:'Картка "пилосос" дозволяє керувати роботом-пилососом.',start:"Старт",continue:"Продовжити",pause:"Пауза",stop:"Стоп",return_to_base:"На базу",locate:"Знайти",not_available:"Пилосос недоступний"},jn={missing_entity:"Необхідно вказати сутність!"},On={actions_array:"УВАГА: 'actions' зарезервовані для зміни поведінки вбудованих кнопок. Якщо ви хотіли додати додаткові кнопки, скористайтесь об’єктом 'shortcuts'."},zn={entity:"Сутність (обов'язково)",map:"Камера для карти (Додатково)",image:"Зображення (Додатково)",compact_view:"Компактний вигляд",compact_view_aria_label_on:"Увімкнути компактний вигляд",compact_view_aria_label_off:"Вимкнути компактний вигляд",show_name:"Показувати ім’я?",show_name_aria_label_on:"Показати ім’я",show_name_aria_label_off:"Приховати ім’я",show_status:"Показувати статус?",show_status_aria_label_on:"Показати статус",show_status_aria_label_off:"Приховати статус",show_toolbar:"Показувати панель дій?",show_toolbar_aria_label_on:"Показати панель дій",show_toolbar_aria_label_off:"Приховати панель дій",code_only_note:"Увага: Опції actions та stats доступні виключно через редактор коду."},En={status:xn,source:Sn,common:An,error:jn,warning:On,editor:zn},$n={cleaning:"Đang dọn dẹp",paused:"Dừng",idle:"Nghỉ",charging:"Đang sạc","returning home":"Đang về Dock",docked:"Đang ở Dock"},Cn={gentle:"Nhẹ",silent:"Yên tĩnh",standard:"Tiêu chuẩn",medium:"Vừa phải",turbo:"Tối đa"},Pn={name:"Robot hút bụi Card",description:"Robot hút bụi Card cho phép bạn điều khiển robot hút bụi một cách dễ dàng",start:"Dọn dẹp",continue:"Tiếp tục",pause:"Tạm dừng",stop:"Dừng",return_to_base:"Về Dock",locate:"Định vị",not_available:"Thiết bị không khả dụng"},Mn={missing_entity:"Khai báo thiếu Entity"},Tn={entity:"Entity (Yêu cầu)",map:"Hiển thị sơ đồ (Tuỳ chọn)",image:"Image (Tuỳ chọn)",compact_view:"Thu gọn",compact_view_aria_label_on:"Xem thu gọn",compact_view_aria_label_off:"Xem mở rộng",show_name:"Hiện tên",show_name_aria_label_on:"Hiện tên",show_name_aria_label_off:"Ẩn tên",show_status:"Hiện trạng thái",show_status_aria_label_on:"Hiện trạng thái",show_status_aria_label_off:"Ẩn trạng thái",show_toolbar:"Hiện thanh công cụ",show_toolbar_aria_label_on:"Hiện thanh công cụ",show_toolbar_aria_label_off:"Ẩn thanh công cụ",code_only_note:"Lưu ý: Cài đặt thao tác và tùy chọn thống kê chỉ có sẵn bằng trình chỉnh sửa mã"},Vn={status:$n,source:Cn,common:Pn,error:Mn,editor:Tn},Nn={ca:Object.freeze({__proto__:null,status:ke,source:xe,common:Se,error:Ae,editor:je,default:Oe}),cn:Object.freeze({__proto__:null,status:ze,source:Ee,common:$e,error:Ce,warning:Pe,editor:Me,default:Te}),cs:Object.freeze({__proto__:null,status:Ve,source:Ne,common:Re,error:Le,warning:Ie,editor:De,default:Ue}),da:Object.freeze({__proto__:null,status:He,source:Be,common:Ze,error:qe,warning:Ke,editor:Fe,default:Ge}),de:Object.freeze({__proto__:null,status:We,source:Je,common:Ye,error:Xe,warning:Qe,editor:ta,default:ea}),en:Object.freeze({__proto__:null,status:aa,source:oa,common:na,error:ra,warning:ia,editor:sa,default:la}),es:Object.freeze({__proto__:null,status:ca,source:ua,common:_a,error:da,warning:pa,editor:ha,default:ma}),fi:Object.freeze({__proto__:null,status:fa,source:ga,common:va,error:ba,editor:ya,default:wa}),fr:Object.freeze({__proto__:null,status:ka,source:xa,common:Sa,error:Aa,warning:ja,editor:Oa,default:za}),he:Object.freeze({__proto__:null,status:Ea,source:$a,common:Ca,error:Pa,warning:Ma,editor:Ta,default:Va}),hu:Object.freeze({__proto__:null,status:Na,source:Ra,common:La,error:Ia,warning:Da,editor:Ua,default:Ha}),it:Object.freeze({__proto__:null,status:Ba,source:Za,common:qa,error:Ka,warning:Fa,editor:Ga,default:Wa}),ko:Object.freeze({__proto__:null,status:Ja,source:Ya,common:Xa,error:Qa,warning:to,editor:eo,default:ao}),lt:Object.freeze({__proto__:null,status:oo,source:no,common:ro,error:io,editor:so,default:lo}),nb:Object.freeze({__proto__:null,status:co,source:uo,common:_o,error:po,warning:ho,editor:mo,default:fo}),nl:Object.freeze({__proto__:null,status:go,common:vo,error:bo,warning:yo,editor:wo,default:ko}),nn:Object.freeze({__proto__:null,status:xo,source:So,common:Ao,error:jo,editor:Oo,default:zo}),pl:Object.freeze({__proto__:null,status:Eo,source:$o,common:Co,error:Po,warning:Mo,editor:To,default:Vo}),pt:Object.freeze({__proto__:null,status:No,source:Ro,common:Lo,error:Io,warning:Do,editor:Uo,default:Ho}),pt_br:Object.freeze({__proto__:null,status:Bo,source:Zo,common:qo,error:Ko,warning:Fo,editor:Go,default:Wo}),ro:Object.freeze({__proto__:null,status:Jo,source:Yo,common:Xo,error:Qo,editor:tn,default:en}),ru:Object.freeze({__proto__:null,status:an,source:on,common:nn,error:rn,warning:sn,editor:ln,default:cn}),sv:Object.freeze({__proto__:null,status:un,source:_n,common:dn,error:pn,warning:hn,editor:mn,default:fn}),tw:Object.freeze({__proto__:null,status:gn,source:vn,common:bn,error:yn,editor:wn,default:kn}),uk:Object.freeze({__proto__:null,status:xn,source:Sn,common:An,error:jn,warning:On,editor:zn,default:En}),vi:Object.freeze({__proto__:null,status:$n,source:Cn,common:Pn,error:Mn,editor:Tn,default:Vn})};function Rn(t,e,a){var o,n=t.toLowerCase().split("."),r=u(n,2),i=r[0],s=r[1];try{o=JSON.parse(localStorage.getItem("selectedLanguage"))}catch(t){o=localStorage.getItem("selectedLanguage")}var l,c=(o||navigator.language.split("-")[0]||"en").replace(/['"]+/g,"").replace("-","_");try{l=Nn[c][i][s]}catch(t){l=Nn.en[i][s]}if(void 0===l&&(l=Nn.en[i][s]),void 0!==l)return""!==e&&""!==a&&(l=l.replace(e,a)),l}var Ln=E`:host{--vc-background:var( +function t(t,e,a,o){var i,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,o);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(n=(r<3?i(n):r>3?i(e,a,n):i(e,a))||n);return r>3&&n&&Object.defineProperty(e,a,n),n}const e=window,a=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),i=new WeakMap;class r{constructor(t,e,a){if(this._$cssResult$=!0,a!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const a=void 0!==e&&1===e.length;a&&(t=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),a&&i.set(e,t))}return t}toString(){return this.cssText}}const n=(t,...e)=>{const a=1===t.length?t[0]:e.reduce(((e,a,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[o+1]),t[0]);return new r(a,t,o)},s=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const a of t.cssRules)e+=a.cssText;return(t=>new r("string"==typeof t?t:t+"",void 0,o))(e)})(t):t;var l;const c=window,u=c.trustedTypes,_=u?u.emptyScript:"",d=c.reactiveElementPolyfillSupport,h={toAttribute(t,e){switch(e){case Boolean:t=t?_:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let a=t;switch(e){case Boolean:a=null!==t;break;case Number:a=null===t?null:Number(t);break;case Object:case Array:try{a=JSON.parse(t)}catch(t){a=null}}return a}},m=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:h,reflect:!1,hasChanged:m};class v extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,a)=>{const o=this._$Ep(a,e);void 0!==o&&(this._$Ev.set(o,a),t.push(o))})),t}static createProperty(t,e=p){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const a="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,a,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,a){return{get(){return this[e]},set(o){const i=this[t];this[e]=o,this.requestUpdate(t,i,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||p}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const a of e)this.createProperty(a,t[a])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const a=new Set(t.flat(1/0).reverse());for(const t of a)e.unshift(s(t))}else void 0!==t&&e.push(s(t));return e}static _$Ep(t,e){const a=e.attribute;return!1===a?void 0:"string"==typeof a?a:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,a;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(a=t.hostConnected)||void 0===a||a.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{a?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((a=>{const o=document.createElement("style"),i=e.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=a.cssText,t.appendChild(o)}))})(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,a){this._$AK(t,a)}_$EO(t,e,a=p){var o;const i=this.constructor._$Ep(t,a);if(void 0!==i&&!0===a.reflect){const r=(void 0!==(null===(o=a.converter)||void 0===o?void 0:o.toAttribute)?a.converter:h).toAttribute(e,a.type);this._$El=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$El=null}}_$AK(t,e){var a;const o=this.constructor,i=o._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(a=t.converter)||void 0===a?void 0:a.fromAttribute)?t.converter:h;this._$El=i,this[i]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,a){let o=!0;void 0!==t&&(((a=a||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===a.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,a))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const a=this._$AL;try{e=this.shouldUpdate(a),e?(this.willUpdate(a),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(a)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(a)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}var g;v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==d||d({ReactiveElement:v}),(null!==(l=c.reactiveElementVersions)&&void 0!==l?l:c.reactiveElementVersions=[]).push("1.6.1");const f=window,b=f.trustedTypes,w=b?b.createPolicy("lit-html",{createHTML:t=>t}):void 0,y="$lit$",k=`lit$${(Math.random()+"").slice(9)}$`,$="?"+k,S=`<${$}>`,A=document,z=()=>A.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,x="[ \t\n\f\r]",E=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,P=/>/g,V=RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),M=/'/g,T=/"/g,N=/^(?:script|style|textarea|title)$/i,I=(t=>(e,...a)=>({_$litType$:t,strings:e,values:a}))(1),R=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),U=new WeakMap,D=A.createTreeWalker(A,129,null,!1),L=(t,e)=>{const a=t.length-1,o=[];let i,r=2===e?"":"",n=E;for(let e=0;e"===l[0]?(n=null!=i?i:E,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,s=l[1],n=void 0===l[3]?V:'"'===l[3]?T:M):n===T||n===M?n=V:n===O||n===P?n=E:(n=V,i=void 0);const _=n===V&&t[e+1].startsWith("/>")?" ":"";r+=n===E?a+S:c>=0?(o.push(s),a.slice(0,c)+y+a.slice(c)+k+_):a+k+(-2===c?(o.push(void 0),e):_)}const s=r+(t[a]||"")+(2===e?"":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==w?w.createHTML(s):s,o]};class B{constructor({strings:t,_$litType$:e},a){let o;this.parts=[];let i=0,r=0;const n=t.length-1,s=this.parts,[l,c]=L(t,e);if(this.el=B.createElement(l,a),D.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=D.nextNode())&&s.length0){o.textContent=b?b.emptyScript:"";for(let a=0;aC(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&j(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){var e;const{values:a,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=B.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.v(a);else{const t=new q(i,this),e=t.u(this.options);t.v(a),this.$(e),this._$AH=t}}_$AC(t){let e=U.get(t.strings);return void 0===e&&U.set(t.strings,e=new B(t)),e}T(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let a,o=0;for(const i of t)o===e.length?e.push(a=new K(this.k(z()),this.k(z()),this,this.options)):a=e[o],a._$AI(i),o++;o2||""!==a[0]||""!==a[1]?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,a,o){const i=this.strings;let r=!1;if(void 0===i)t=Z(this,t,e,0),r=!j(t)||t!==this._$AH&&t!==R,r&&(this._$AH=t);else{const o=t;let n,s;for(t=i[0],n=0;n{var o,i;const r=null!==(o=null==a?void 0:a.renderBefore)&&void 0!==o?o:e;let n=r._$litPart$;if(void 0===n){const t=null!==(i=null==a?void 0:a.renderBefore)&&void 0!==i?i:null;r._$litPart$=n=new K(e.insertBefore(z(),t),t,void 0,null!=a?a:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return R}}at.finalized=!0,at._$litElement$=!0,null===(tt=globalThis.litElementHydrateSupport)||void 0===tt||tt.call(globalThis,{LitElement:at});const ot=globalThis.litElementPolyfillSupport;null==ot||ot({LitElement:at}),(null!==(et=globalThis.litElementVersions)&&void 0!==et?et:globalThis.litElementVersions=[]).push("3.3.2");const it=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:a,elements:o}=e;return{kind:a,elements:o,finisher(e){customElements.define(t,e)}}})(t,e),rt=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(a){a.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(a){a.createProperty(e.key,t)}};function nt(t){return(e,a)=>void 0!==a?((t,e,a)=>{e.constructor.createProperty(a,t)})(t,e,a):rt(t,e)}function st(t){return nt({...t,state:!0})}var lt,ct,ut;null===(lt=window.HTMLSlotElement)||void 0===lt||lt.prototype.assignedElements,function(t){t.language="language",t.system="system",t.comma_decimal="comma_decimal",t.decimal_comma="decimal_comma",t.space_comma="space_comma",t.none="none"}(ct||(ct={})),function(t){t.language="language",t.system="system",t.am_pm="12",t.twenty_four="24"}(ut||(ut={}));var _t=function(t,e,a,o){o=o||{},a=null==a?{}:a;var i=new Event(e,{bubbles:void 0===o.bubbles||o.bubbles,cancelable:Boolean(o.cancelable),composed:void 0===o.composed||o.composed});return i.detail=a,t.dispatchEvent(i),i};function dt(t,e,a,o){var i,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,o);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(n=(r<3?i(n):r>3?i(e,a,n):i(e,a))||n);return r>3&&n&&Object.defineProperty(e,a,n),n}let ht=class extends at{constructor(){super(...arguments),this.template="",this.variables={},this.value=null,this.unsubscribePromise=null}connectedCallback(){super.connectedCallback(),this.hass?this.unsubscribePromise||this.template&&(this.unsubscribePromise=this.hass.connection.subscribeMessage((t=>{this.value=t.result}),{type:"render_template",template:this.template,variables:this.variables})):console.warn("hass object is not provided")}async disconnectedCallback(){if(super.disconnectedCallback(),this.unsubscribePromise)try{const t=await this.unsubscribePromise;return this.unsubscribePromise=null,t()}catch(t){if("not_found"!==t.code)throw t}}render(){var t;return null!==(t=this.value)&&void 0!==t?t:H}};dt([nt()],ht.prototype,"hass",void 0),dt([nt()],ht.prototype,"template",void 0),dt([nt()],ht.prototype,"variables",void 0),dt([nt()],ht.prototype,"value",void 0),dt([nt({attribute:!1})],ht.prototype,"unsubscribePromise",void 0),ht=dt([it("ha-template")],ht);var mt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function pt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var vt=Array.isArray,gt="object"==typeof mt&&mt&&mt.Object===Object&&mt,ft="object"==typeof self&&self&&self.Object===Object&&self,bt=gt||ft||Function("return this")(),wt=bt.Symbol,yt=wt,kt=Object.prototype,$t=kt.hasOwnProperty,St=kt.toString,At=yt?yt.toStringTag:void 0;var zt=function(t){var e=$t.call(t,At),a=t[At];try{t[At]=void 0;var o=!0}catch(t){}var i=St.call(t);return o&&(e?t[At]=a:delete t[At]),i},jt=Object.prototype.toString;var Ct=zt,xt=function(t){return jt.call(t)},Et=wt?wt.toStringTag:void 0;var Ot=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Et&&Et in Object(t)?Ct(t):xt(t)};var Pt=Ot,Vt=function(t){return null!=t&&"object"==typeof t};var Mt=function(t){return"symbol"==typeof t||Vt(t)&&"[object Symbol]"==Pt(t)},Tt=vt,Nt=Mt,It=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rt=/^\w*$/;var Ht=function(t,e){if(Tt(t))return!1;var a=typeof t;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=t&&!Nt(t))||(Rt.test(t)||!It.test(t)||null!=e&&t in Object(e))};var Ut=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},Dt=Ot,Lt=Ut;var Bt,Zt=function(t){if(!Lt(t))return!1;var e=Dt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},qt=bt["__core-js_shared__"],Kt=(Bt=/[^.]+$/.exec(qt&&qt.keys&&qt.keys.IE_PROTO||""))?"Symbol(src)_1."+Bt:"";var Wt=function(t){return!!Kt&&Kt in t},Ft=Function.prototype.toString;var Gt=Zt,Jt=Wt,Xt=Ut,Yt=function(t){if(null!=t){try{return Ft.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Qt=/^\[object .+?Constructor\]$/,te=Function.prototype,ee=Object.prototype,ae=te.toString,oe=ee.hasOwnProperty,ie=RegExp("^"+ae.call(oe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var re=function(t){return!(!Xt(t)||Jt(t))&&(Gt(t)?ie:Qt).test(Yt(t))},ne=function(t,e){return null==t?void 0:t[e]};var se=function(t,e){var a=ne(t,e);return re(a)?a:void 0},le=se(Object,"create"),ce=le;var ue=function(){this.__data__=ce?ce(null):{},this.size=0};var _e=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},de=le,he=Object.prototype.hasOwnProperty;var me=function(t){var e=this.__data__;if(de){var a=e[t];return"__lodash_hash_undefined__"===a?void 0:a}return he.call(e,t)?e[t]:void 0},pe=le,ve=Object.prototype.hasOwnProperty;var ge=le;var fe=ue,be=_e,we=me,ye=function(t){var e=this.__data__;return pe?void 0!==e[t]:ve.call(e,t)},ke=function(t,e){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=ge&&void 0===e?"__lodash_hash_undefined__":e,this};function $e(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e-1},Ie=function(t,e){var a=this.__data__,o=Pe(a,t);return o<0?(++this.size,a.push([t,e])):a[o][1]=e,this};function Re(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e\n \n \n \n\n \n \n \n\n \n\n

\n \n\n

\n \n\n

\n \n\n

\n \n \n

\n \n \n ',"\n \n
\n ","\n \n \n "])),(function(t){return t.stopPropagation()}),Rn("source.".concat(a))||a,o.map((function(e,a){return ot(Gn||(Gn=n(["\n \n ","\n \n "])),r===a,e,(function(e){return t.handleSpeed(e)}),Rn("source.".concat(e))||e)})))}},{key:"renderBattery",value:function(){var t=this,e=this.getAttributes(this.entity),a=e.battery_level,o=e.battery_icon;return ot(Wn||(Wn=n(['\n
\n \n ',"%\n
\n "])),(function(){return t.handleMore()}),o,a)}},{key:"renderMapOrImage",value:function(t){var e=this;if(this.compactView)return rt;if(this.map){var a=this.hass.states[this.config.map];return a&&a.attributes.entity_picture?ot(Jn||(Jn=n(['\n \n '])),t,this.image,(function(){return e.handleMore()})):rt}},{key:"renderStats",value:function(t){var e=this,a=this.config.stats,o=void 0===a?{}:a;return(o[t]||o.default||[]).map((function(t){var a=t.entity_id,o=t.attribute,r=t.value_template,i=t.unit,s=t.subtitle;if(!a&&!o&&!r)return rt;var l=a?e.hass.states[a].state:we(e.entity.attributes,o),c=ot(Xn||(Xn=n(["\n \n "])),e.hass,r,l,{value:l});return ot(Qn||(Qn=n(['\n
\n ',"\n ",'\n
',"
\n
\n "])),(function(){return e.handleMore(a)}),c,i,s)}))}},{key:"renderName",value:function(){var t=this.getAttributes(this.entity).friendly_name;return this.showName?ot(tr||(tr=n(['\n
\n ',"\n
\n "])),t):rt}},{key:"renderStatus",value:function(){var t=this.getAttributes(this.entity).status,e=Rn("status.".concat(t))||t;return this.showStatus?ot(er||(er=n(['\n
\n \n
\n '])),e,e,this.requestInProgress):rt}},{key:"renderToolbar",value:function(t){var e=this;if(!this.showToolbar)return rt;switch(t){case"on":case"auto":case"spot":case"edge":case"single_room":case"cleaning":return ot(ar||(ar=n(['\n
\n \n \n ','\n \n \n \n ','\n \n \n \n ',"\n \n
\n "])),this.handleAction("pause"),Rn("common.pause"),this.handleAction("stop"),Rn("common.stop"),this.handleAction("return_to_base"),Rn("common.return_to_base"));case"paused":return ot(or||(or=n(['\n
\n \n \n ','\n \n \n \n ',"\n \n
\n "])),this.handleAction("resume",{defaultService:"start"}),Rn("common.continue"),this.handleAction("return_to_base"),Rn("common.return_to_base"));case"returning":return ot(nr||(nr=n(['\n
\n \n \n ','\n \n \n \n ',"\n \n
\n "])),this.handleAction("resume",{defaultService:"start"}),Rn("common.continue"),this.handleAction("pause"),Rn("common.pause"));case"docked":case"idle":default:var a=this.config.shortcuts,o=(void 0===a?[]:a).map((function(t){var a=t.name,o=t.service,r=t.icon,i=t.service_data;return ot(rr||(rr=n(['\n \n \n \n '])),a,(function(){e.callAction({service:o,service_data:i})}),r)})),r=ot(ir||(ir=n(['\n \n \n '])),Rn("common.return_to_base"),this.handleAction("return_to_base"));return ot(sr||(sr=n(['\n
\n \n \n\n \n \n\n ','\n
\n ',"\n
\n "])),Rn("common.start"),this.handleAction("start"),Rn("common.locate"),this.handleAction("locate",{isRequest:!1}),"idle"===t?r:"",o)}}},{key:"render",value:function(){var t=this;if(!this.entity)return ot(lr||(lr=n(['\n \n
\n