diff --git a/CHANGELOG.md b/CHANGELOG.md index ba8905a..6c0f432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ ## Changelog -#### 2018-05-21 +#### 2018-06-02 +* Hotfix for HA 0.71+ +* Restore handling custom attributes in form and more-info. + +#### 2018-05-28 * New feature: [`control_element`](docs/features.md#custom-controls) * Fix theming on Firefix/Edge. diff --git a/README.md b/README.md index fb61e88..f1e8645 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ TODO: Add screenshots ## Notes -**CustomUI 2018-05-21 required for HA 0.70+** +**CustomUI 2018-06-02 required for HA 0.71+** +**CustomUI 2018-05-21 required for HA 0.70** Please fill the [usage poll](https://docs.google.com/forms/d/e/1FAIpQLSdjgb4iu5aDyvFB6ch9KJpRn25I0wLL7NLyTIhcWCzU3KM1-w/viewform?usp=send_form) @@ -22,7 +23,11 @@ Please ask questions and post feature requests in the [forum](https://community. ## Changelog -#### 2018-05-21 +#### 2018-06-02 +* Hotfix for HA 0.71+ +* Restore handling custom attributes in form and more-info. + +#### 2018-05-28 * New feature: [`control_element`](docs/features.md#custom-controls) * Fix theming on Firefix/Edge. diff --git a/scripts-dbg-es5.js b/scripts-dbg-es5.js index 9dcf7c5..885be3c 100644 --- a/scripts-dbg-es5.js +++ b/scripts-dbg-es5.js @@ -417,6 +417,81 @@ function stateCardType(hass, stateObj) { /***/ }), +/***/ "../home-assistant-polymer/src/util/hass-attributes-util.js": +/*!******************************************************************!*\ + !*** ../home-assistant-polymer/src/util/hass-attributes-util.js ***! + \******************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +var hassAttributeUtil = {}; + +hassAttributeUtil.DOMAIN_DEVICE_CLASS = { + binary_sensor: ['battery', 'cold', 'connectivity', 'door', 'garage_door', 'gas', 'heat', 'light', 'lock', 'moisture', 'motion', 'moving', 'occupancy', 'opening', 'plug', 'power', 'presence', 'problem', 'safety', 'smoke', 'sound', 'vibration', 'window'], + cover: ['garage'], + sensor: ['battery', 'humidity', 'illuminance', 'temperature'] +}; + +hassAttributeUtil.UNKNOWN_TYPE = 'json'; +hassAttributeUtil.ADD_TYPE = 'key-value'; + +hassAttributeUtil.TYPE_TO_TAG = { + string: 'ha-customize-string', + json: 'ha-customize-string', + icon: 'ha-customize-icon', + boolean: 'ha-customize-boolean', + array: 'ha-customize-array', + 'key-value': 'ha-customize-key-value' +}; + +// Attributes here serve dual purpose: +// 1) Any key of this object won't be shown in more-info window. +// 2) Any key which has value other than undefined will appear in customization +// config according to its value. +hassAttributeUtil.LOGIC_STATE_ATTRIBUTES = hassAttributeUtil.LOGIC_STATE_ATTRIBUTES || { + entity_picture: undefined, + friendly_name: { type: 'string', description: 'Name' }, + icon: { type: 'icon' }, + emulated_hue: { + type: 'boolean', + domains: ['emulated_hue'] + }, + emulated_hue_name: { + type: 'string', + domains: ['emulated_hue'] + }, + haaska_hidden: undefined, + haaska_name: undefined, + homebridge_hidden: { type: 'boolean' }, + homebridge_name: { type: 'string' }, + supported_features: undefined, + attribution: undefined, + custom_ui_more_info: { type: 'string' }, + custom_ui_state_card: { type: 'string' }, + device_class: { + type: 'array', + options: hassAttributeUtil.DOMAIN_DEVICE_CLASS, + description: 'Device class', + domains: ['binary_sensor', 'cover', 'sensor'] + }, + hidden: { type: 'boolean', description: 'Hide from UI' }, + assumed_state: { + type: 'boolean', + domains: ['switch', 'light', 'cover', 'climate', 'fan', 'group'] + }, + initial_state: { + type: 'string', + domains: ['automation'] + }, + unit_of_measurement: { type: 'string' } +}; + +/* harmony default export */ __webpack_exports__["default"] = (hassAttributeUtil); + +/***/ }), + /***/ "./node_modules/@polymer/polymer/lib/utils/boot.js": /*!*********************************************************!*\ !*** ./node_modules/@polymer/polymer/lib/utils/boot.js ***! @@ -1500,7 +1575,7 @@ var _createClass = function () { function defineProperties(target, props) { for var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } }; -var _templateObject = _taggedTemplateLiteral(['\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 ']); +var _templateObject = _taggedTemplateLiteral(['\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 _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } @@ -1777,7 +1852,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _dynamic_with_extra_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dynamic-with-extra.js */ "./src/elements/dynamic-with-extra.js"); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _templateObject = _taggedTemplateLiteral(['\n \n \n\n
\n \n \n \n \n \n
\n '], ['\n \n \n\n
\n \n \n \n \n \n
\n ']); +var _templateObject = _taggedTemplateLiteral(['\n \n \n\n
\n \n \n \n \n \n
\n '], ['\n \n \n\n
\n \n \n \n \n \n
\n ']); function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } @@ -1934,6 +2009,54 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function" /***/ }), +/***/ "./src/utils/hass-attribute-util.js": +/*!******************************************!*\ + !*** ./src/utils/hass-attribute-util.js ***! + \******************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _home_assistant_polymer_src_util_hass_attributes_util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../home-assistant-polymer/src/util/hass-attributes-util.js */ "../home-assistant-polymer/src/util/hass-attributes-util.js"); + + +window.hassAttributeUtil = window.hassAttributeUtil || {}; +var SUPPORTED_SLIDER_MODES = ['single-line', 'break-slider', 'break-slider-toggle', 'hide-slider', 'no-slider']; + +var customUiAttributes = { + group: undefined, + device: undefined, + templates: undefined, + control_element: { type: 'string' }, + state_card_mode: { + type: 'array', + options: { + light: SUPPORTED_SLIDER_MODES.concat('badges'), + cover: SUPPORTED_SLIDER_MODES.concat('badges'), + climate: SUPPORTED_SLIDER_MODES.concat('badges'), + '*': ['badges'] + } + }, + state_card_custom_ui_secondary: { type: 'string' }, + badges_list: { type: 'json' }, + show_last_changed: { type: 'boolean' }, + hide_control: { type: 'boolean' }, + extra_data_template: { type: 'string' }, + extra_badge: { type: 'json' }, + stretch_slider: { type: 'boolean' }, + slider_theme: { type: 'json' }, + theme: { type: 'string' }, + confirm_controls: { type: 'boolean' }, + confirm_controls_show_lock: { type: 'boolean' }, + hide_in_default_view: { type: 'boolean' } +}; +window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES = _home_assistant_polymer_src_util_hass_attributes_util_js__WEBPACK_IMPORTED_MODULE_0__["default"].LOGIC_STATE_ATTRIBUTES; +window.hassAttributeUtil.UNKNOWN_TYPE = _home_assistant_polymer_src_util_hass_attributes_util_js__WEBPACK_IMPORTED_MODULE_0__["default"].UNKNOWN_TYPE; +Object.assign(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES, customUiAttributes); + +/***/ }), + /***/ "./src/utils/hooks.js": /*!****************************!*\ !*** ./src/utils/hooks.js ***! @@ -1948,6 +2071,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _home_assistant_polymer_src_common_entity_get_view_entities_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../home-assistant-polymer/src/common/entity/get_view_entities.js */ "../home-assistant-polymer/src/common/entity/get_view_entities.js"); /* harmony import */ var _elements_ha_config_custom_ui_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../elements/ha-config-custom-ui.js */ "./src/elements/ha-config-custom-ui.js"); /* harmony import */ var _version_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./version.js */ "./src/utils/version.js"); +/* harmony import */ var _hass_attribute_util_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hass-attribute-util.js */ "./src/utils/hass-attribute-util.js"); + @@ -2189,7 +2314,6 @@ window.customUI = window.customUI || { window.customUI.controlColumns(customizer.attributes.columns); } if (customizer.attributes.hide_attributes) { - // TODO: Won't working starting from HA 0.71 if (window.hassAttributeUtil && window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES) { customizer.attributes.hide_attributes.forEach(function (attr) { if (!Object.prototype.hasOwnProperty.call(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES, attr)) { @@ -2199,42 +2323,6 @@ window.customUI = window.customUI || { } } }, - updateAttributes: function updateAttributes() { - if (!window.hassAttributeUtil) { - // App.js wasn't parsed yet. - window.setTimeout(window.customUI.updateAttributes, 1000); - return; - } - - var customUiAttributes = { - group: undefined, - device: undefined, - templates: undefined, - state_card_mode: { - type: 'array', - options: { - light: window.customUI.SUPPORTED_SLIDER_MODES.concat('badges'), - cover: window.customUI.SUPPORTED_SLIDER_MODES.concat('badges'), - '*': ['badges'] - } - }, - state_card_custom_ui_secondary: { type: 'string' }, - badges_list: { type: 'json' }, - show_last_changed: { type: 'boolean' }, - hide_control: { type: 'boolean' }, - extra_data_template: { type: 'string' }, - extra_badge: { type: 'json' }, - stretch_slider: { type: 'boolean' }, - slider_theme: { type: 'json' }, - theme: { type: 'string' }, - confirm_controls: { type: 'boolean' }, - confirm_controls_show_lock: { type: 'boolean' }, - hide_in_default_view: { type: 'boolean' } - }; - if (window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES) { - Object.assign(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES, customUiAttributes); - } - }, updateConfigPanel: function updateConfigPanel() { if (!window.location.pathname.startsWith('/config')) return; var haPanelConfig = window.customUI.getElementHierarchy(document, ['home-assistant', 'home-assistant-main', 'partial-panel-resolver', 'ha-panel-config']); @@ -2415,6 +2503,46 @@ window.customUI = window.customUI || { } }; }, + installHaAttributes: function installHaAttributes() { + var haAttributes = customElements.get('ha-attributes'); + if (!haAttributes || !haAttributes.prototype.computeFiltersArray || !window.hassAttributeUtil) return; + // Use named function to preserve 'this'. + haAttributes.prototype.computeFiltersArray = function customComputeFiltersArray(extraFilters) { + return Object.keys(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES).concat(extraFilters ? extraFilters.split(',') : []); + }; + }, + installHaFormCustomize: function installHaFormCustomize() { + if (!window.location.pathname.startsWith('/config')) return; + var haFormCustomize = customElements.get('ha-form-customize'); + if (!haFormCustomize) { + // DOM not ready. Wait 100ms. + window.setTimeout(window.customUI.installHaFormCustomize, 100); + return; + } + if (window.customUI.haFormCustomizeInitDone) return; + window.customUI.haFormCustomizeInitDone = true; + + if (!window.hassAttributeUtil) return; + if (haFormCustomize.prototype._computeSingleAttribute) { + // Use named function to preserve 'this'. + haFormCustomize.prototype._computeSingleAttribute = function customComputeSingleAttribute(key, value, secondary) { + var config = window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES[key] || { type: window.hassAttributeUtil.UNKNOWN_TYPE }; + return this._initOpenObject(key, config.type === 'json' ? JSON.stringify(value) : value, secondary, config); + }; + } + if (haFormCustomize.prototype.getNewAttributesOptions) { + // Use named function to preserve 'this'. + haFormCustomize.prototype.getNewAttributesOptions = function customgetNewAttributesOptions(localAttributes, globalAttributes, existingAttributes, newAttributes) { + var _this2 = this; + + var knownKeys = Object.keys(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES).filter(function (key) { + var conf = window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES[key]; + return conf && (!conf.domains || !_this2.entity || conf.domains.includes(Object(_home_assistant_polymer_src_common_entity_compute_state_domain_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_this2.entity))); + }).filter(this.filterFromAttributes(localAttributes)).filter(this.filterFromAttributes(globalAttributes)).filter(this.filterFromAttributes(existingAttributes)).filter(this.filterFromAttributes(newAttributes)); + return knownKeys.sort().concat('Other'); + }; + } + }, installClassHooks: function installClassHooks() { if (window.customUI.classInitDone) return; window.customUI.classInitDone = true; @@ -2422,10 +2550,9 @@ window.customUI = window.customUI || { window.customUI.installStatesHook(); window.customUI.installHaStateLabelBadge(); window.customUI.installStateBadge(); + window.customUI.installHaAttributes(); window.customUI.installActionName('state-card-scene'); window.customUI.installActionName('state-card-script'); - // TODO: Fix, not working since HA 0.71 - window.customUI.updateAttributes(); }, init: function init() { if (window.customUI.initDone) return; @@ -2457,6 +2584,7 @@ window.customUI = window.customUI || { runHooks: function runHooks() { window.customUI.fixGroupTitles(); window.customUI.updateConfigPanel(); + window.customUI.installHaFormCustomize(); }, getName: function getName() { return window.localStorage.getItem('ha-device-name') || ''; @@ -2495,9 +2623,9 @@ window.customUI.init(); "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony default export */ __webpack_exports__["default"] = ('20180528'); +/* harmony default export */ __webpack_exports__["default"] = ('20180602'); /***/ }) /******/ }); -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4uL2hvbWUtYXNzaXN0YW50LXBvbHltZXIvc3JjL2NvbW1vbi9jb25zdC5qcyIsIndlYnBhY2s6Ly8vLi4vaG9tZS1hc3Npc3RhbnQtcG9seW1lci9zcmMvY29tbW9u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GF0aWMgZ2V0IHRlbXBsYXRlKCkge1xuICAgIHJldHVybiBodG1sYFxuICAgIDxzdHlsZSBpcz1cImN1c3RvbS1zdHlsZVwiIGluY2x1ZGU9XCJpcm9uLWZsZXggaXJvbi1mbGV4LWFsaWdubWVudCBpcm9uLWZsZXgtZmFjdG9yc1wiPjwvc3R5bGU+XG4gICAgPHN0eWxlPlxuICAgICAgOmhvc3Qge1xuICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICB9XG4gICAgICAuY29udHJvbC13cmFwcGVyIHtcbiAgICAgICAgbWFyZ2luOiAtNHB4IC0xNnB4IC00cHggMDtcbiAgICAgICAgcGFkZGluZzogNHB4IDE2cHg7XG4gICAgICB9XG4gICAgICBoYS1zdGF0ZS1sYWJlbC1iYWRnZSB7XG4gICAgICAgIG1hcmdpbi1sZWZ0OiA4cHg7XG4gICAgICB9XG4gICAgICBkeW5hbWljLWVsZW1lbnQge1xuICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgdGV4dC1hbGlnbjogcmlnaHQ7XG4gICAgICB9XG4gICAgICAjb3ZlcmxheSB7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgIHRvcDogMDtcbiAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICB0ZXh0LWFsaWduOiByaWdodDtcbiAgICAgICAgei1pbmRleDogMTtcbiAgICAgIH1cbiAgICAgICNsb2NrIHtcbiAgICAgICAgbWFyZ2luLXRvcDogOHB4O1xuICAgICAgICBvcGFjaXR5OiAwLjM7XG4gICAgICAgIG1hcmdpbi1yaWdodDogN3B4O1xuICAgICAgfVxuICAgICAgI2xvY2suaGEtY292ZXItY29udHJvbHMge1xuICAgICAgICBtYXJnaW4tcmlnaHQ6IDUycHg7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xuICAgICAgfV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yBpZj0nW1tjb250cm9sRWxlbWVudF1dJz5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29udHJvbC13cmFwcGVyXCI+XG4gICAgICAgICAgICA8ZHluYW1pYy1lbGVtZW50XG4gICAgICAgICAgICAgICAgY2xhc3M9J2ZsZXgnXG4gICAgICAgICAgICAgICAgc3RhdGUtb2JqPVwiW1tzdGF0ZU9ial1dXCJcbiAgICAgICAgICAgICAgICBoYXNzPSdbW2hhc3NdXSdcbiAgICAgICAgICAgICAgICBlbGVtZW50LW5hbWU9J1tbY29udHJvbEVsZW1lbnRdXSc+XG4gICAgICAgICAgICA8L2R5bmFtaWMtZWxlbWVudD5cbiAgICAgICAgICAgIDx0ZW1wbGF0ZSBpcz0nZG9tLWlmJyBpZj0nW1tpc0NvbmZpcm1Db250cm9scyhzdGF0ZU9iaildXSc+XG4gICAgICAgICAgICAgIDxkaXYgaWQ9XCJvdmVybGF5XCIgb24tY2xpY2s9J2NsaWNrSGFuZGxlcic+XG4gICAgICAgICAgICAgICAgPHRlbXBsYXRlIGlzPSdkb20taWYnIGlmPSdbW3N0YXRlT2JqLmF0dHJpYnV0ZXMuY29uZmlybV9jb250cm9sc19zaG93X2xvY2tdXSc+XG4gICAgICAgICAgICAgICAgICA8aXJvbi1pY29uIGlkPVwibG9ja1wiIGNsYXNzJD1cIltbY29udHJvbEVsZW1lbnRdXVwiIGljb249XCJtZGk6bG9jay1vdXRsaW5lXCI+PC9pcm9uLWljb24+XG4gICAgICAgICAgICAgICAgPC90ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L3RlbXBsYXRlPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L3RlbXBsYXRlPlxuICAgICAgICA8dGVtcGxhdGUgaXM9J2RvbS1pZicgaWY9J1tbIWNvbnRyb2xFbGVtZW50XV0nPlxuICAgICAgICAgIDxkaXYgY2xhc3M9J3N0YXRlJz5bW2NvbXB1dGVTdGF0ZUR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Anc3RhdGUnLCBmdW5jdGlvbkJvZHkpO1xuICAgICAgLyogZXNsaW50LWVuYWJsZSBuby1uZXctZnVuYyAqL1xuICAgICAgcmV0dXJuIGZ1bmMoaGFzcywgZW50aXRpZXMsIGVudGl0eSwgYXR0cmlidXRlcywgYXR0cmlidXRlLCBzdGF0ZSk7XG4gICAgfSBjYXRjaCAoZSkge1xuICAgICAgLyogZXNsaW50LWRpc2FibGUgbm8tY29uc29sZSAqL1xuICAgICAgaWYgKChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpIHx8IGUgaW5zdGFuY2VvZiBSZWZlcmVuY2VFcnJvcikge1xuICAgICAgICBjb25zb2xlLndhcm4oYCR7ZS5uYW1lfTogJHtlLm1lc3NhZ2V9IGluIHRlbXBsYXRlICR7ZnVuY3Rpb25Cb2R5fWApO1xuICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgIH1cbiAgICAgIC8qIGVzbGludC1lbmFibGUgbm8tY29uc29sZSAqL1xuICAgICAgdGhyb3cgZTtcbiAgICB9XG4gIH0sXG59O1xud2luZG93LmN1c3RvbVVJLmluaXQoKTtcbiIsImV4cG9ydCBkZWZhdWx0ICcyMDE4MDUyOCc7XG4iXSwic291cmNlUm9vdCI6IiJ9 \ No newline at end of file +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4uL2hvbWUtYXNzaXN0YW50LXBvbHltZXIvc3JjL2NvbW1vbi9jb25zdC5qcyIsIndlYnBhY2s6Ly8vLi4vaG9tZS1hc3Npc3RhbnQtcG9seW1lci9zcmMvY29tbW9uL2RvbS9hcHBseV90aGVtZXNfb25fZWxlbWVudC5qcyIsIndlYnBhY2s6Ly8vLi4vaG9tZS1hc3Npc3RhbnQtcG9seW1lci9zcmMvY29tbW9uL2RvbS9keW5hbWljX2NvbnRlbnRfdXBkYX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ICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgICAgIH1cbiAgICAgIC5jb250cm9sLXdyYXBwZXIge1xuICAgICAgICBtYXJnaW46IC00cHggLTE2cHggLTRweCAwO1xuICAgICAgICBwYWRkaW5nOiA0cHggMTZweDtcbiAgICAgIH1cbiAgICAgIGhhLXN0YXRlLWxhYmVsLWJhZGdlIHtcbiAgICAgICAgbWFyZ2luLWxlZnQ6IDhweDtcbiAgICAgIH1cbiAgICAgIGR5bmFtaWMtZWxlbWVudCB7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICB0ZXh0LWFsaWduOiByaWdodDtcbiAgICAgIH1cbiAgICAgICNvdmVybGF5IHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBsZWZ0OiAwO1xuICAgICAgICByaWdodDogMDtcbiAgICAgICAgdG9wOiAwO1xuICAgICAgICBib3R0b206IDA7XG4gICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xuICAgICAgICB6LWluZGV4OiAxO1xuICAgICAgfVxuICAgICAgI2xvY2sge1xuICAgICAgICBtYXJnaW4tdG9wOiA4cHg7XG4gICAgICAgIG9wYWNpdHk6IDAuMztcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiA3cHg7XG4gICAgICB9XG4gICAgICAjbG9jay5oYS1jb3Zlci1jb250cm9scyB7XG4gICAgICAgIG1hcmdpbi1yaWdodDogNTJweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XG4gICAgICB9XG4gICAgICAuZXh0cmEge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAtMTZweDtcbiAgICAgICAgLS1oYS1sYWJlbC1iYWRnZS1zaXplOiAzNnB4O1xuICAgICAgICAtLWhhLWxhYmVsLWJhZGdlLWZvbnQtc2l6ZTogMS4yZW07XG4gICAgICB9XG4gICAgICAuc3RhdGUge1xuICAgICAgICBAYXBwbHkgLS1wYXBlci1mb250LWJvZHkxO1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AgICB9KTtcbiAgICAgIHJldHVybjtcbiAgICB9XG4gICAgY29uc3QgcHJldkJyZWFrU2xpZGVyID0gdGhpcy5icmVha1NsaWRlcjtcbiAgICBjb25zdCBwcmV2SGlkZVNsaWRlciA9IHRoaXMuaGlkZVNsaWRlcjtcbiAgICB0aGlzLnNldFByb3BlcnRpZXMoe1xuICAgICAgbGluZVRvb0xvbmc6IGZhbHNlLFxuICAgICAgaGlkZVNsaWRlcjogZmFsc2UsXG4gICAgICBicmVha1NsaWRlcjogZmFsc2UsXG4gICAgfSk7XG4gICAgY29uc3QgeyBjb250YWluZXIgfSA9IHRoaXMuJDtcbiAgICBjb25zdCBjb250YWluZXJXaWR0aCA9IGNvbnRhaW5lci5jbGllbnRXaWR0aDtcbiAgICBpZiAoY29udGFpbmVyV2lkdGggPT09IDApIHJldHVybjtcbiAgICBpZiAoY29udGFpbmVyV2lkdGggPD0gdGhpcy5taW5MaW5lQnJlYWspIHtcbiAgICAgIHRoaXMubGluZVRvb0xvbmcgPSB0cnVlO1xuICAgIH0gZWxzZSBpZiAoY29udGFpbmVyV2lkdGggPj0gdGhpcy5tYXhMaW5lQnJlYWspIHtcbiAgICAgIHRoaXMubGluZVRvb0xvbmcgPSBmYWxzZTtcbiAgICB9IGVsc2Uge1xuICAgICAgaWYgKHByZXZIaWRlU2xpZGVyICYmIHRoaXMubW9kZSA9PT0gJ2hpZGUtc2xpZGVyJykge1xuICAgICAgICAvLyBXZSBuZWVkIHRvIHVuaGlkZSB0aGUgc2xpZGVyIGluIG9yZGVyIHRvIHJlY2FsY3VsYXRlIGhlaWdodC5cbiAgICAgICAgdGhpcy5fd2FpdEZvckxheW91dCgpO1xuICAgICAgICByZXR1cm47XG4gICAgICB9XG4gICAgICBjb25zdCBjb250YWluZXJIZWlnaHQgPSBjb250YWluZXIuY2xpZW50SGVpZ2h0O1xuICAgICAgY29uc3Qgc3RhdGVIZWlnaHQgPSB0aGlzLnJvb3QucXVlcnlTZWxlY3RvcignLnN0YX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VRFX0FUVFJJQlVURVMpXG4gICAgICAgICAgICAgICAgLmZpbHRlcigoa2V5KSA9PiB7XG4gICAgICAgICAgICAgICAgICBjb25zdCBjb25mID0gd2luZG93Lmhhc3NBdHRyaWJ1dGVVdGlsLkxPR0lDX1NUQVRFX0FUVFJJQlVURVNba2V5XTtcbiAgICAgICAgICAgICAgICAgIHJldHVybiBjb25mICYmICghY29uZi5kb21haW5zIHx8ICF0aGlzLmVudGl0eSB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uZi5kb21haW5zLmluY2x1ZGVzKGNvbXB1dGVTdGF0ZURvbWFpbih0aGlzLmVudGl0eSkpKTtcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgIC5maWx0ZXIodGhpcy5maWx0ZXJGcm9tQXR0cmlidXRlcyhsb2NhbEF0dHJpYnV0ZXMpKVxuICAgICAgICAgICAgICAgIC5maWx0ZXIodGhpcy5maWx0ZXJGcm9tQXR0cmlidXRlcyhnbG9iYWxBdHRyaWJ1dGVzKSlcbiAgICAgICAgICAgICAgICAuZmlsdGVyKHRoaXMuZmlsdGVyRnJvbUF0dHJpYnV0ZXMoZXhpc3RpbmdBdHRyaWJ1dGVzKSlcbiAgICAgICAgICAgICAgICAuZmlsdGVyKHRoaXMuZmlsdGVyRnJvbUF0dHJpYnV0ZXMobmV3QXR0cmlidXRlcykpO1xuICAgICAgICAgIHJldHVybiBrbm93bktleXMuc29ydCgpLmNvbmNhdCgnT3RoZXInKTtcbiAgICAgICAgfTtcbiAgICB9XG4gIH0sXG5cbiAgaW5zdGFsbENsYXNzSG9va3MoKSB7XG4gICAgaWYgKHdpbmRvdy5jdXN0b21VSS5jbGFzc0luaXREb25lKSByZXR1cm47XG4gICAgd2luZG93LmN1c3RvbVVJLmNsYXNzSW5pdERvbmUgPSB0cnVlO1xuICAgIHdpbmRvdy5jdXN0b21VSS5pbnN0YWxsUGFydGlhbENhcmRzKCk7XG4gICAgd2luZG93LmN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/scripts-dbg.js index 47fb0ea..67a7c6b 100644 --- a/scripts-dbg.js +++ b/scripts-dbg.js @@ -417,6 +417,81 @@ function stateCardType(hass, stateObj) { /***/ }), +/***/ "../home-assistant-polymer/src/util/hass-attributes-util.js": +/*!******************************************************************!*\ + !*** ../home-assistant-polymer/src/util/hass-attributes-util.js ***! + \******************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +var hassAttributeUtil = {}; + +hassAttributeUtil.DOMAIN_DEVICE_CLASS = { + binary_sensor: ['battery', 'cold', 'connectivity', 'door', 'garage_door', 'gas', 'heat', 'light', 'lock', 'moisture', 'motion', 'moving', 'occupancy', 'opening', 'plug', 'power', 'presence', 'problem', 'safety', 'smoke', 'sound', 'vibration', 'window'], + cover: ['garage'], + sensor: ['battery', 'humidity', 'illuminance', 'temperature'] +}; + +hassAttributeUtil.UNKNOWN_TYPE = 'json'; +hassAttributeUtil.ADD_TYPE = 'key-value'; + +hassAttributeUtil.TYPE_TO_TAG = { + string: 'ha-customize-string', + json: 'ha-customize-string', + icon: 'ha-customize-icon', + boolean: 'ha-customize-boolean', + array: 'ha-customize-array', + 'key-value': 'ha-customize-key-value' +}; + +// Attributes here serve dual purpose: +// 1) Any key of this object won't be shown in more-info window. +// 2) Any key which has value other than undefined will appear in customization +// config according to its value. +hassAttributeUtil.LOGIC_STATE_ATTRIBUTES = hassAttributeUtil.LOGIC_STATE_ATTRIBUTES || { + entity_picture: undefined, + friendly_name: { type: 'string', description: 'Name' }, + icon: { type: 'icon' }, + emulated_hue: { + type: 'boolean', + domains: ['emulated_hue'] + }, + emulated_hue_name: { + type: 'string', + domains: ['emulated_hue'] + }, + haaska_hidden: undefined, + haaska_name: undefined, + homebridge_hidden: { type: 'boolean' }, + homebridge_name: { type: 'string' }, + supported_features: undefined, + attribution: undefined, + custom_ui_more_info: { type: 'string' }, + custom_ui_state_card: { type: 'string' }, + device_class: { + type: 'array', + options: hassAttributeUtil.DOMAIN_DEVICE_CLASS, + description: 'Device class', + domains: ['binary_sensor', 'cover', 'sensor'] + }, + hidden: { type: 'boolean', description: 'Hide from UI' }, + assumed_state: { + type: 'boolean', + domains: ['switch', 'light', 'cover', 'climate', 'fan', 'group'] + }, + initial_state: { + type: 'string', + domains: ['automation'] + }, + unit_of_measurement: { type: 'string' } +}; + +/* harmony default export */ __webpack_exports__["default"] = (hassAttributeUtil); + +/***/ }), + /***/ "./node_modules/@polymer/polymer/lib/utils/boot.js": /*!*********************************************************!*\ !*** ./node_modules/@polymer/polymer/lib/utils/boot.js ***! @@ -1451,7 +1526,13 @@ class StateCardWithSlider extends _cui_base_element_js__WEBPACK_IMPORTED_MODULE_
- + @@ -1722,6 +1803,7 @@ class StateCardWithoutSlider extends _cui_base_element_js__WEBPACK_IMPORTED_MODU
{ if (!Object.prototype.hasOwnProperty.call(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES, attr)) { @@ -2113,43 +2244,6 @@ window.customUI = window.customUI || { } }, - updateAttributes() { - if (!window.hassAttributeUtil) { - // App.js wasn't parsed yet. - window.setTimeout(window.customUI.updateAttributes, 1000); - return; - } - - var customUiAttributes = { - group: undefined, - device: undefined, - templates: undefined, - state_card_mode: { - type: 'array', - options: { - light: window.customUI.SUPPORTED_SLIDER_MODES.concat('badges'), - cover: window.customUI.SUPPORTED_SLIDER_MODES.concat('badges'), - '*': ['badges'] - } - }, - state_card_custom_ui_secondary: { type: 'string' }, - badges_list: { type: 'json' }, - show_last_changed: { type: 'boolean' }, - hide_control: { type: 'boolean' }, - extra_data_template: { type: 'string' }, - extra_badge: { type: 'json' }, - stretch_slider: { type: 'boolean' }, - slider_theme: { type: 'json' }, - theme: { type: 'string' }, - confirm_controls: { type: 'boolean' }, - confirm_controls_show_lock: { type: 'boolean' }, - hide_in_default_view: { type: 'boolean' } - }; - if (window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES) { - Object.assign(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES, customUiAttributes); - } - }, - updateConfigPanel() { if (!window.location.pathname.startsWith('/config')) return; var haPanelConfig = window.customUI.getElementHierarchy(document, ['home-assistant', 'home-assistant-main', 'partial-panel-resolver', 'ha-panel-config']); @@ -2322,6 +2416,46 @@ window.customUI = window.customUI || { }; }, + installHaAttributes() { + var haAttributes = customElements.get('ha-attributes'); + if (!haAttributes || !haAttributes.prototype.computeFiltersArray || !window.hassAttributeUtil) return; + // Use named function to preserve 'this'. + haAttributes.prototype.computeFiltersArray = function customComputeFiltersArray(extraFilters) { + return Object.keys(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES).concat(extraFilters ? extraFilters.split(',') : []); + }; + }, + + installHaFormCustomize() { + if (!window.location.pathname.startsWith('/config')) return; + var haFormCustomize = customElements.get('ha-form-customize'); + if (!haFormCustomize) { + // DOM not ready. Wait 100ms. + window.setTimeout(window.customUI.installHaFormCustomize, 100); + return; + } + if (window.customUI.haFormCustomizeInitDone) return; + window.customUI.haFormCustomizeInitDone = true; + + if (!window.hassAttributeUtil) return; + if (haFormCustomize.prototype._computeSingleAttribute) { + // Use named function to preserve 'this'. + haFormCustomize.prototype._computeSingleAttribute = function customComputeSingleAttribute(key, value, secondary) { + var config = window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES[key] || { type: window.hassAttributeUtil.UNKNOWN_TYPE }; + return this._initOpenObject(key, config.type === 'json' ? JSON.stringify(value) : value, secondary, config); + }; + } + if (haFormCustomize.prototype.getNewAttributesOptions) { + // Use named function to preserve 'this'. + haFormCustomize.prototype.getNewAttributesOptions = function customgetNewAttributesOptions(localAttributes, globalAttributes, existingAttributes, newAttributes) { + var knownKeys = Object.keys(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES).filter(key => { + var conf = window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES[key]; + return conf && (!conf.domains || !this.entity || conf.domains.includes(Object(_home_assistant_polymer_src_common_entity_compute_state_domain_js__WEBPACK_IMPORTED_MODULE_1__["default"])(this.entity))); + }).filter(this.filterFromAttributes(localAttributes)).filter(this.filterFromAttributes(globalAttributes)).filter(this.filterFromAttributes(existingAttributes)).filter(this.filterFromAttributes(newAttributes)); + return knownKeys.sort().concat('Other'); + }; + } + }, + installClassHooks() { if (window.customUI.classInitDone) return; window.customUI.classInitDone = true; @@ -2329,10 +2463,9 @@ window.customUI = window.customUI || { window.customUI.installStatesHook(); window.customUI.installHaStateLabelBadge(); window.customUI.installStateBadge(); + window.customUI.installHaAttributes(); window.customUI.installActionName('state-card-scene'); window.customUI.installActionName('state-card-script'); - // TODO: Fix, not working since HA 0.71 - window.customUI.updateAttributes(); }, init() { @@ -2366,6 +2499,7 @@ window.customUI = window.customUI || { runHooks() { window.customUI.fixGroupTitles(); window.customUI.updateConfigPanel(); + window.customUI.installHaFormCustomize(); }, getName() { @@ -2407,9 +2541,9 @@ window.customUI.init(); "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony default export */ __webpack_exports__["default"] = ('20180528'); +/* harmony default export */ __webpack_exports__["default"] = ('20180602'); /***/ }) /******/ }); -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4uL2hvbWUtYXNzaXN0YW50LXBvbHltZXIvc3JjL2NvbW1vbi9jb25zdC5qcyIsIndlYnBhY2s6Ly8vLi4vaG9tZS1hc3Npc3RhbnQtcG9seW1lci9zcmMvY29tbW9uL2RvbS9hcHBseV90aGVtZXNfb25fZWxlbWVudC5qcyIsIndlYnBhY2s6Ly8vLi4vaG9tZS1hc3Npc3RhbnQtcG9seW1lci9zcmMvY29tbW9uL2RvbS9keW5hbWljX2NvbnRlbnRfdXBkYXRlci5qcyIsIndlYnBhY2s6Ly8vLi4vaG9tZS1hc3Npc3RhbnQtcG9seW1lci9zcmMvY29tbW9uL2VudGl0eS9jYW5fdG9nZ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CIgaW5jbHVkZT1cImlyb24tZmxleCBpcm9uLWZsZXgtYWxpZ25tZW50IGlyb24tZmxleC1mYWN0b3JzXCI+PC9zdHlsZT5cbiAgICA8c3R5bGU+XG4gICAgICA6aG9zdCB7XG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgICAgIH1cbiAgICAgIC5jb250cm9sLXdyYXBwZXIge1xuICAgICAgICBtYXJnaW46IC00cHggLTE2cHggLTRweCAwO1xuICAgICAgICBwYWRkaW5nOiA0cHggMTZweDtcbiAgICAgIH1cbiAgICAgIGhhLXN0YXRlLWxhYmVsLWJhZGdlIHtcbiAgICAgICAgbWFyZ2luLWxlZnQ6IDhweDtcbiAgICAgIH1cbiAgICAgIGR5bmFtaWMtZWxlbWVudCB7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICB0ZXh0LWFsaWduOiByaWdodDtcbiAgICAgIH1cbiAgICAgICNvdmVybGF5IHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBsZWZ0OiAwO1xuICAgICAgICByaWdodDogMDtcbiAgICAgICAgdG9wOiAwO1xuICAgICAgICBib3R0b206IDA7XG4gICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xuICAgICAgICB6LWluZGV4OiAxO1xuICAgICAgfVxuICAgICAgI2xvY2sge1xuICAgICAgICBtYXJnaW4tdG9wOiA4cHg7XG4gICAgICAgIG9wYWNpdHk6IDAuMztcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiA3cHg7XG4gICAgICB9XG4gICAgICAjbG9jay5oYS1jb3Zlci1jb250cm9scyB7XG4gICAgICAgIG1hcmdpbi1yaWdodDogNTJweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XG4gICAgICB9XG4gICAgICAuZXh0cmEge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAtMTZweDtcbiAgICAgICAgLS1oYS1sYWJlbC1iYWRnZS1zaXplOiAzNn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ICA8YXBwLXRvb2xiYXI+XG4gICAgICAgICAgPHBhcGVyLWljb24tYnV0dG9uXG4gICAgICAgICAgICBpY29uPSdtZGk6YXJyb3ctbGVmdCdcbiAgICAgICAgICAgIG9uLWNsaWNrPSdfYmFja0hhbmRsZXInXG4gICAgICAgICAgPjwvcGFwZXItaWNvbi1idXR0b24+XG4gICAgICAgICAgPGRpdiBtYWluLXRpdGxlPkN1c3RvbSBVSSBzZXR0aW5nczwvZGl2PlxuICAgICAgICA8L2FwcC10b29sYmFyPlxuICAgICAgPC9hcHAtaGVhZGVyPlxuXG4gICAgICA8aGEtY29uZmlnLXNlY3Rpb24gaXMtd2lkZT0nW1tpc1dpZGVdXSc+XG4gICAgICAgIDxwYXBlci1jYXJkIGhlYWRpbmc9J0RldmljZSBuYW1lJz5cbiAgICAgICAgICA8ZGl2IGNsYXNzPSdjYXJkLWNvbnRlbnQnPlxuICAgICAgICAgICAgU2V0IGRldmljZSBuYW1lIHNvIHRoYXQgeW91IGNhbiByZWZlcmVuY2UgaXQgaW4gcGVyLWRldmljZSBzZXR0aW5nc1xuICAgICAgICAgICAgPHBhcGVyLWlucHV0XG4gICAgICAgICAgICAgIGxhYmVsPSdOYW1lJ1xuICAgICAgICAgICAgICB2YWx1ZT0ne3tuYW1lfX0nXG4gICAgICAgICAgICA+PC9wYXBlci1pbnB1dD5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9wYXBlci1jYXJkPlxuICAgICAgPC9oYS1jb25maWctc2VjdGlvbj5cbiAgICA8L2FwcC1oZWFkZXItbGF5b3V0PlxuICAgIGA7XG4gIH1cblxuICBzdGF0aWMgZ2V0IHByb3BlcnRpZXMoKSB7XG4gICAgcmV0dXJuIHtcbiAgICAgIGlzV2lkZTogQm9vbGVhbixcblxuICAgICAgbmFtZToge1xuICAgICAgICB0eXBlOiBTdHJpbmcsXG4gICAgICAgIG9ic2VydmVyOiAnbmFtZUNoYW5nZWQnLFxuICAgICAgfSxcbiAgICB9O1xu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ydFdoZW5Ob3RDaGFuZ2VkKTtcbiAgfVxuXG4gIHN0YXRpYyBnZXQgcHJvcGVydGllcygpIHtcbiAgICByZXR1cm4ge1xuICAgICAgbWluOiB7XG4gICAgICAgIHR5cGU6IE51bWJlcixcbiAgICAgICAgdmFsdWU6IDAsXG4gICAgICB9LFxuICAgICAgbWF4OiB7XG4gICAgICAgIHR5cGU6IE51bWJlcixcbiAgICAgICAgdmFsdWU6IDEwMCxcbiAgICAgIH0sXG4gICAgICBwaW46IHtcbiAgICAgICAgdHlwZTogQm9vbGVhbixcbiAgICAgICAgdmFsdWU6IGZhbHNlLFxuICAgICAgfSxcbiAgICAgIGlzT246IHtcbiAgICAgICAgdHlwZTogQm9vbGVhbixcbiAgICAgICAgdmFsdWU6IGZhbHNlLFxuICAgICAgfSxcbiAgICAgIGRpc2FibGVPZmZXaGVuTWluOiB7XG4gICAgICAgIHR5cGU6IEJvb2xlYW4sXG4gICAgICAgIHZhbHVlOiBmYWxzZSxcbiAgICAgICAgbm90aWZ5OiB0cnVlLFxuICAgICAgfSxcbiAgICAgIGRpc2FibGVSZXBvcnRXaGVuTm90Q2hhbmdlZDoge1xuICAgICAgICB0eXBlOiBCb29sZWFuLFxuICAgICAgICB2YWx1ZTogZmFsc2UsXG4gICAgICB9LFxuXG4gICAgICB0aGVtZTogT2JqZWN0LFxuICAgICAgdmFsdWU6IHtcbiAgICAgICAgdHlwZTogTnVtYmVyLFxuICAgICAgICBub3RpZnk6IHRydWUsXG4gICAgICB9LFxuICAgICAgX3RoZW1lZE1pbjoge1xuICAgICAgICB0eXBlOiBOdW1iZXIsXG4gICAgICAgIGNvbXB1dGVkOiAnX2NvbXB1dGVBdHRyaWJ1dGUodGhlbWUsIFwibWluXCIsIG1pbiknLFxuICAgICAgfSxcbiAgICB9O1xuICB9XG5cbiAgc3RhdGljIGdldCBvYnNlcnZlcnMoKSB7XG4gICAgcmV0dXJuIFtcbiAgICAgICdjb21wdXRlRW5hYmxlZFRoZW1lZFJl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ZXMubGVuZ3RoKSB7XG4gICAgICAgICAgICAgIGVsZW0uX2NvbnRleHQucHVzaChgZ3JvdXAuJHtjb21wdXRlU3RhdGVEb21haW4oZWxlbWVudC5zdGF0ZXNbMF0pfWApO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgY2FzZSAnTU9SRS1JTkZPLUdST1VQJzpcbiAgICAgICAgICBjYXNlICdTVEFURS1DQVJELUNPTlRFTlQnOlxuICAgICAgICAgICAgaWYgKGVsZW1lbnQuc3RhdGVPYmopIHtcbiAgICAgICAgICAgICAgZWxlbS5fY29udGV4dC5wdXNoKGVsZW1lbnQuc3RhdGVPYmouZW50aXR5X2lkKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgIGNhc2UgJ0hBLUNBUkRTJzpcbiAgICAgICAgICAgIGVsZW0uX2NvbnRleHQucHVzaChlbGVtZW50LmdldEF0dHJpYnV0ZSgnZGF0YS12aWV3JykgfHwgJ2RlZmF1bHRfdmlldycpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgLy8gbm8gZGVmYXVsdFxuICAgICAgICB9XG4gICAgICB9XG4gICAgICBlbGVtLl9jb250ZXh0LnJldmVyc2UoKTtcbiAgICB9XG4gICAgcmV0dXJuIGVsZW0uX2NvbnRleHQ7XG4gIH0sXG5cbiAgZmluZE1hdGNoKGtleSwgb3B0aW9ucykge1xuICAgIGlmICghb3B0aW9ucykgcmV0dXJuIG51bGw7XG4gICAgaWYgKG9wdGlvbnNba2V5XSkgcmV0dXJuIGtleTtcbiAgICByZXR1cm4gT2JqZWN0LmtleXMob3B0aW9ucykuZmluZChvcHRpb24gPT4ga2V5Lm1hdGNoKGBeJHtvcHRpb259JGApKTtcbiAgfSxcblxuICBtYXliZUNoYW5nZU9iamVjdEJ5RGV2aWNlKHN0YXRlT2JqKSB7XG4gICAgY29uc3QgbmFtZSA9IHdpbmRvdy5jdXN0b21VS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sIGZ1bmN0aW9uQm9keSk7XG4gICAgICAvKiBlc2xpbnQtZW5hYmxlIG5vLW5ldy1mdW5jICovXG4gICAgICByZXR1cm4gZnVuYyhoYXNzLCBlbnRpdGllcywgZW50aXR5LCBhdHRyaWJ1dGVzLCBhdHRyaWJ1dGUsIHN0YXRlKTtcbiAgICB9IGNhdGNoIChlKSB7XG4gICAgICAvKiBlc2xpbnQtZGlzYWJsZSBuby1jb25zb2xlICovXG4gICAgICBpZiAoKGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcikgfHwgZSBpbnN0YW5jZW9mIFJlZmVyZW5jZUVycm9yKSB7XG4gICAgICAgIGNvbnNvbGUud2FybihgJHtlLm5hbWV9OiAke2UubWVzc2FnZX0gaW4gdGVtcGxhdGUgJHtmdW5jdGlvbkJvZHl9YCk7XG4gICAgICAgIHJldHVybiBudWxsO1xuICAgICAgfVxuICAgICAgLyogZXNsaW50LWVuYWJsZSBuby1jb25zb2xlICovXG4gICAgICB0aHJvdyBlO1xuICAgIH1cbiAgfSxcbn07XG53aW5kb3cuY3VzdG9tVUkuaW5pdCgpO1xuIiwiZXhwb3J0IGRlZmF1bHQgJzIwMTgwNTI4JztcbiJdLCJzb3VyY2VSb290IjoiIn0= \ No newline at end of file +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4uL2hvbWUtYXNzaXN0YW50LXBvbHltZXIvc3JjL2NvbW1vbi9jb25zdC5qcyIsIndlYnBhY2s6Ly8vLi4vaG9tZS1hc3Npc3RhbnQtcG9seW1lci9zcmMvY29tbW9uL2RvbS9hcHBseV90aGVtZXNfb25fZWxlbWVudC5qcyIsIndlYnBhY2s6Ly8vLi4vaG9tZS1hc3Npc3RhbnQtcG9seW1lci9zcmMvY29tbW9uL2RvbS9keW5hbWljX2NvbnRlbnRfdXBkYXRlci5qc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xuICAgIGNvbnN0IGZ1bmN0aW9uQm9keSA9ICh0ZW1wbGF0ZS5pbmRleE9mKCdyZXR1cm4nKSA+PSAwKSA/IHRlbXBsYXRlIDogYHJldHVybiBcXGAke3RlbXBsYXRlfVxcYDtgO1xuICAgIHRyeSB7XG4gICAgICAvKiBlc2xpbnQtZGlzYWJsZSBuby1uZXctZnVuYyAqL1xuICAgICAgY29uc3QgZnVuYyA9IG5ldyBGdW5jdGlvbihcbiAgICAgICAgJ2hhc3MnLCAnZW50aXRpZXMnLCAnZW50aXR5JywgJ2F0dHJpYnV0ZXMnLCAnYXR0cmlidXRlJywgJ3N0YXRlJywgZnVuY3Rpb25Cb2R5KTtcbiAgICAgIC8qIGVzbGludC1lbmFibGUgbm8tbmV3LWZ1bmMgKi9cbiAgICAgIHJldHVybiBmdW5jKGhhc3MsIGVudGl0aWVzLCBlbnRpdHksIGF0dHJpYnV0ZXMsIGF0dHJpYnV0ZSwgc3RhdGUpO1xuICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgIC8qIGVzbGludC1kaXNhYmxlIG5vLWNvbnNvbGUgKi9cbiAgICAgIGlmICgoZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yKSB8fCBlIGluc3RhbmNlb2YgUmVmZXJlbmNlRXJyb3IpIHtcbiAgICAgICAgY29uc29sZS53YXJuKGAke2UubmFtZX06ICR7ZS5tZXNzYWdlfSBpbiB0ZW1wbGF0ZSAke2Z1bmN0aW9uQm9keX1gKTtcbiAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICB9XG4gICAgICAvKiBlc2xpbnQtZW5hYmxlIG5vLWNvbnNvbGUgKi9cbiAgICAgIHRocm93IGU7XG4gICAgfVxuICB9LFxufTtcbndpbmRvdy5jdXN0b21VSS5pbml0KCk7XG4iLCJleHBvcnQgZGVmYXVsdCAnMjAxODA2MDInO1xuIl0sInNvdXJjZVJvb3QiOiIifQ== \ No newline at end of file diff --git a/scripts-es5.js.map b/scripts-es5.js.map index d3f4023..40e5626 100644 --- a/scripts-es5.js.map +++ b/scripts-es5.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///../home-assistant-polymer/src/common/dom/apply_themes_on_element.js","webpack:///../home-assistant-polymer/src/common/entity/compute_domain.js","webpack:///../home-assistant-polymer/src/common/entity/compute_state_domain.js","webpack:///../home-assistant-polymer/src/common/dom/dynamic_content_updater.js","webpack:///../home-assistant-polymer/src/common/const.js","webpack:///../home-assistant-polymer/src/common/entity/state_card_type.js","webpack:///./node_modules/@polymer/polymer/lib/utils/html-tag.js","webpack:///./src/mixins/events-mixin.js","webpack:///./src/elements/ha-config-custom-ui.js","webpack:///./src/utils/hooks.js","webpack:///../home-assistant-polymer/src/common/entity/get_view_entities.js","webpack:///../home-assistant-polymer/src/common/entity/get_group_entities.js","webpack:///./src/utils/version.js","webpack:///./src/elements/cui-base-element.js","webpack:///./src/elements/dynamic-element.js","webpack:///./src/elements/dynamic-with-extra.js","webpack:///./src/elements/ha-themed-slider.js","webpack:///./src/elements/state-card-with-slider.js","webpack:///./src/elements/state-card-without-slider.js","webpack:///./src/elements/state-card-custom-ui.js","webpack:///../home-assistant-polymer/src/common/entity/can_toggle_state.js","webpack:///../home-assistant-polymer/src/common/entity/can_toggle_domain.js","webpack:///./node_modules/@polymer/polymer/lib/utils/boot.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","r","value","n","__esModule","default","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","applyThemesOnElement","element","themes","localTheme","updateMeta","arguments","length","_themes","themeName","default_theme","styles","assign","theme","keys","forEach","key","prefixedKey","updateStyles","window","ShadyCSS","styleSubtree","meta","document","querySelector","hasAttribute","setAttribute","getAttribute","themeColor","computeDomain","entityId","substr","indexOf","computeStateDomain","stateObj","_domain","entity_id","dynamicContentUpdater","root","newElementTag","attributes","rootEl","customEl","lastChild","tagName","removeChild","createElement","toLowerCase","setProperties","parentNode","appendChild","DOMAINS_WITH_CARD","_createClass","defineProperties","target","props","descriptor","writable","Constructor","protoProps","staticProps","LiteralString","string","this","toString","strings","raw","html","template","_len","values","Array","_key","innerHTML","reduce","acc","v","idx","HTMLTemplateElement","Error","literalValue","ha_config_custom_ui_createClass","_templateObject","freeze","ha_config_custom_ui_HaConfigCustomUi","superClass","Polymer","Element","_superClass","EventsMixin","instance","TypeError","__proto__","getPrototypeOf","apply","subClass","create","constructor","setPrototypeOf","events_mixin_createClass","type","detail","options","event","Event","bubbles","cancelable","Boolean","composed","node","dispatchEvent","HaConfigCustomUi","customUI","getName","setName","history","back","fire","isWide","String","observer","customElements","define","SUPPORTED_SLIDER_MODES","domHost","elem","getRootNode","DocumentFragment","host","lightOrShadow","selector","shadowRoot","getElementHierarchy","hierarchy","shift","getContext","_context","groupEntity","push","states","reverse","findMatch","find","option","match","maybeChangeObjectByDevice","device","applyAttributes","maybeChangeObjectByGroup","_this","context","group","_setKeep","obj","_cui_keep","maybeApplyTemplateAttributes","hass","templates","newAttributes","hasGlobal","hasChanges","computeTemplate","untemplated_attributes","untemplated_state","state","_stateDisplay","result","untemplated_stateDisplay","maybeApplyTemplates","newResult","checkAttributes","last_changed","maybeChangeObject","inDialog","allowHidden","hidden","fixGroupTitles","homeAssistantMain","haCards","$","main","querySelectorAll","card","friendly_name","textContent","setTimeout","controlColumns","columns","partialCards","mqls","mql","removeListener","handleWindowChange","map","width","matchMedia","addListener","bind","useCustomizer","customizer","hide_attributes","hassAttributeUtil","LOGIC_STATE_ATTRIBUTES","attr","updateAttributes","customUiAttributes","state_card_mode","light","concat","cover","*","state_card_custom_ui_secondary","badges_list","show_last_changed","hide_control","extra_data_template","extra_badge","stretch_slider","slider_theme","confirm_controls","confirm_controls_show_lock","hide_in_default_view","updateConfigPanel","location","pathname","startsWith","haPanelConfig","haConfigNavigation","localize","cuiPatch","_originalComputeLoaded","_computeLoaded","_originalComputeCaption","_computeCaption","_originalComputeDescription","_computeDescription","page","pages","some","conf","domain","caption","description","loaded","getHaConfigCustomUi","haConfigCustomUi","ironPages","lastElementChild","addEventListener","select","visible","style","display","installStatesHook","homeAssistant","_updateHass","originalUpdate","entity","newEntity","_themeWaiters","waiter","stateChanged","installPartialCards","_defaultViewFilter","excludes","excludeEntityId","view","entities","viewEntities","groupEntities","grEntityId","grEntity","installActionName","elementName","klass","action_name","__data","set","installHaStateLabelBadge","haStateLabelBadge","startInterval","installStateBadge","stateBadge","updateIconAppearance","originalUpdateIconAppearance","icon_color","entity_picture","backgroundImage","icon","color","filter","installClassHooks","classInitDone","init","initDone","runHooks","console","log","CUSTOM_UI_LIST","version","url","localStorage","getItem","setItem","attribute","functionBody","Function","e","SyntaxError","ReferenceError","warn","message","cui_base_element","extras","isArray","extra","controlElement","computed","CuiBaseElement","dynamic_element_createClass","dynamic_element_DynamicElement","toUpperCase","DynamicElement","dynamic_with_extra_DynamicWithExtra","dynamic_with_extra_createClass","DynamicWithExtra","dynamic_with_extra_get","_attached","_isAttached","attached","_this2","extraBadges","extraBadge","unit_of_measurement","unit","blacklist","blacklist_states","RegExp","test","_entityDisplay","extraObj","extraObjVisible","haLocalize","_this3","pointerEvents","lock","opacity","stopPropagation","_this4","applyThemes","dynamic_with_extra_templateObject","ha_themed_slider_HaThemedSlider","HaThemedSlider","disableOffWhenMin","_computeAttribute","computeEnabledThemedReportWhenNotChanged","disableReportWhenNotChanged","_enabledThemedReportWhenNotChanged","def","isOn","themedMin","ev","ha_themed_slider_templateObject","min","Number","max","pin","notify","_themedMin","state_card_with_slider_StateCardWithSlider","state_card_with_slider_get","StateCardWithSlider","_onIronResize","_isConnected","_waitForLayout","removeEventListener","_setMode","_frameId","readyToCompute","requestAnimationFrame","hideSlider","mode","lineTooLong","breakSlider","showSlider","prevBreakSlider","prevHideSlider","container","containerWidth","clientWidth","minLineBreak","maxLineBreak","containerHeight","clientHeight","stateHeight","stretchSlider","parseInt","param","isNaN","path","_slicedToArray","composedPath","_ev$composedPath","callService","serviceMin","setValueName","valueName","serviceMax","nameOn","sliderValue","state_card_with_slider_templateObject","state_card_without_slider_StateCardWithoutSlider","state_card_without_slider_templateObject","SHOW_LAST_CHANGED_BLACKLISTED_CARDS","DOMAIN_TO_SLIDER_SUPPORT","climate","TYPE_TO_CONTROL","toggle","state_card_custom_ui_StateCardCustomUi","state_card_custom_ui_get","StateCardCustomUi","classList","contains","_container","setProperty","inputChanged","margin","padding","id","includes","params","text-align","fontSize","modifiedObj","themeTarget","supported_features","maybeHideEntity","regularMode_","badgeMode","cleanBadgeStyle","originalStateCardType","services","config","control","stateCardType","customStateCardType","secondaryStateCardType","sliderEligible_","min_temp","max_temp","control_element","JSCompiler_renameProperty","prop"],"mappings":";aACA,IAAAA,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,KACAH,YAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,KAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GACAK,gBACAC,cACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAjB,GACAY,OAAAC,eAAAb,EAAA,cAAiDkB,YAIjDpB,EAAAqB,EAAA,SAAAlB,GACA,IAAAS,EAAAT,KAAAmB,WACA,WAA2B,OAAAnB,EAAAoB,SAC3B,WAAiC,OAAApB,GAEjC,OADAH,EAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAW,EAAAC,GAAsD,OAAAX,OAAAY,UAAAC,eAAApB,KAAAiB,EAAAC,IAGtDzB,EAAA4B,EAAA,GAIA5B,IAAA6B,EAAA,cAAA1B,EAAA2B,EAAA9B,GAA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A0BD,GAA1B,cAA+DL,GAAyBvH,cACzF6G,wCA/NF,OACElR,KAAM5K,OAEN6L,UACEzE,KAAMO,QACNrH,UAGF4C,SAAUlD,0CAKZ,OACE,8CAAAob,EAhBAF,GAoONzS,eAAeC,OAAO,uBAAwBwS,kBGlP9C/Y,OAAOgb,0BAA4B,SAASC,GAAQ,OAAOA","file":"scripts-es5.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","/**\n * Apply a theme to an element by setting the CSS variables on it.\n *\n * element: Element to apply theme on.\n * themes: HASS Theme information\n * localTheme: selected theme.\n * updateMeta: boolean if we should update the theme-color meta element.\n*/\nexport default function applyThemesOnElement(element, themes, localTheme, updateMeta = false) {\n if (!element._themes) {\n element._themes = {};\n }\n let themeName = themes.default_theme;\n if (localTheme === 'default' || (localTheme && themes.themes[localTheme])) {\n themeName = localTheme;\n }\n const styles = Object.assign({}, element._themes);\n if (themeName !== 'default') {\n var theme = themes.themes[themeName];\n Object.keys(theme).forEach((key) => {\n var prefixedKey = '--' + key;\n element._themes[prefixedKey] = '';\n styles[prefixedKey] = theme[key];\n });\n }\n if (element.updateStyles) {\n element.updateStyles(styles);\n } else if (window.ShadyCSS) {\n // implement updateStyles() method of Polemer elements\n window.ShadyCSS.styleSubtree(/** @type {!HTMLElement} */(element), styles);\n }\n\n if (!updateMeta) return;\n\n const meta = document.querySelector('meta[name=theme-color]');\n if (meta) {\n if (!meta.hasAttribute('default-content')) {\n meta.setAttribute('default-content', meta.getAttribute('content'));\n }\n const themeColor = styles['--primary-color'] || meta.getAttribute('default-content');\n meta.setAttribute('content', themeColor);\n }\n}\n","export default function computeDomain(entityId) {\n return entityId.substr(0, entityId.indexOf('.'));\n}\n","import computeDomain from './compute_domain.js';\n\nexport default function computeStateDomain(stateObj) {\n if (!stateObj._domain) {\n stateObj._domain = computeDomain(stateObj.entity_id);\n }\n\n return stateObj._domain;\n}\n","/**\n * Update root's child element to be newElementTag replacing another existing child if any.\n * Copy attributes into the child element.\n */\nexport default function dynamicContentUpdater(root, newElementTag, attributes) {\n const rootEl = root;\n let customEl;\n\n if (rootEl.lastChild && rootEl.lastChild.tagName === newElementTag) {\n customEl = rootEl.lastChild;\n } else {\n if (rootEl.lastChild) {\n rootEl.removeChild(rootEl.lastChild);\n }\n // Creating an element with upper case works fine in Chrome, but in FF it doesn't immediately\n // become a defined Custom Element. Polymer does that in some later pass.\n customEl = document.createElement(newElementTag.toLowerCase());\n }\n\n if (customEl.setProperties) {\n customEl.setProperties(attributes);\n } else {\n // If custom element definition wasn't loaded yet - setProperties would be\n // missing, but no harm in setting attributes one-by-one then.\n Object.keys(attributes).forEach((key) => {\n customEl[key] = attributes[key];\n });\n }\n\n if (customEl.parentNode === null) {\n rootEl.appendChild(customEl);\n }\n}\n","/** Constants to be used in the frontend. */\n\n// Constants should be alphabetically sorted by name.\n// Arrays with values should be alphabetically sorted if order doesn't matter.\n// Each constant should have a description what it is supposed to be used for.\n\n/** Icon to use when no icon specified for domain. */\nexport const DEFAULT_DOMAIN_ICON = 'mdi:bookmark';\n\n/** Domains that have a state card. */\nexport const DOMAINS_WITH_CARD = [\n 'climate',\n 'cover',\n 'configurator',\n 'input_select',\n 'input_number',\n 'input_text',\n 'media_player',\n 'scene',\n 'script',\n 'timer',\n 'weblink',\n];\n\n/** Domains that should have the history hidden in the more info dialog. */\nexport const DOMAINS_MORE_INFO_NO_HISTORY = [\n 'camera',\n 'configurator',\n 'history_graph',\n 'scene',\n];\n\n/** States that we consider \"off\". */\nexport const STATES_OFF = [\n 'closed',\n 'off',\n 'unlocked',\n];\n\n/** Temperature units. */\nexport const UNIT_C = '°C';\nexport const UNIT_F = '°F';\n\n/** Entity ID of the default view. */\nexport const DEFAULT_VIEW_ENTITY_ID = 'group.default_view';\n","import canToggleState from './can_toggle_state.js';\nimport computeStateDomain from './compute_state_domain.js';\nimport { DOMAINS_WITH_CARD } from '../const.js';\n\nexport default function stateCardType(hass, stateObj) {\n if (stateObj.state === 'unavailable') {\n return 'display';\n }\n\n const domain = computeStateDomain(stateObj);\n\n if (DOMAINS_WITH_CARD.includes(domain)) {\n return domain;\n } else if (canToggleState(hass, stateObj) &&\n stateObj.attributes.control !== 'hidden') {\n return 'toggle';\n }\n return 'display';\n}\n","/**\n@license\nCopyright (c) 2017 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n*/\nimport './boot.js';\n\n/**\n * Class representing a static string value which can be used to filter\n * strings by asseting that they have been created via this class. The\n * `value` property returns the string passed to the constructor.\n */\nclass LiteralString {\n constructor(string) {\n /** @type {string} */\n this.value = string.toString();\n }\n /**\n * @return {string} LiteralString string value\n */\n toString() {\n return this.value;\n }\n}\n\n/**\n * @param {*} value Object to stringify into HTML\n * @return {string} HTML stringified form of `obj`\n */\nfunction literalValue(value) {\n if (value instanceof LiteralString) {\n return /** @type {!LiteralString} */(value).value;\n } else {\n throw new Error(\n `non-literal value passed to Polymer's htmlLiteral function: ${value}`\n );\n }\n}\n\n/**\n * @param {*} value Object to stringify into HTML\n * @return {string} HTML stringified form of `obj`\n */\nfunction htmlValue(value) {\n if (value instanceof HTMLTemplateElement) {\n return /** @type {!HTMLTemplateElement } */(value).innerHTML;\n } else if (value instanceof LiteralString) {\n return literalValue(value);\n } else {\n throw new Error(\n `non-template value passed to Polymer's html function: ${value}`);\n }\n}\n\n/**\n * A template literal tag that creates an HTML