Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta release: 20181030.0 + 20181103.0 #1974

Merged
merged 76 commits into from
Nov 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
35194cf
Extract navigate mixin (#1865)
balloob Oct 27, 2018
6cab3bb
Thermostat fix (#1867)
zsarnett Oct 27, 2018
8b02371
Fix hass setting on stack (#1868)
balloob Oct 27, 2018
2758e86
Convert hui-icon-element to TypeScript/LitElement and extract Element…
iantrich Oct 27, 2018
5a7841e
Pass correct node to handleClick
iantrich Oct 27, 2018
8afc381
Remove element-click refactor
iantrich Oct 27, 2018
bf0eb79
Implemented navigate function
iantrich Oct 27, 2018
5617416
cleaned up elementconfig type order
iantrich Oct 27, 2018
d0acef3
Add return types
iantrich Oct 27, 2018
4144481
Merge pull request #1871 from iantrich/typescript-icon-element
zsarnett Oct 28, 2018
bb483c9
Make hass optional within EntityRow as it may not be defined
iantrich Oct 28, 2018
ec6db9c
Merge pull request #1895 from iantrich/row-types
iantrich Oct 28, 2018
f3ef4ce
Change icon to set operation_mode to "off" (#1883)
Oct 28, 2018
d31195f
Add to HTML tag name map (#1900)
iantrich Oct 28, 2018
ecfdb16
Convert hui-state-label-element to TypeScript/LitElement (#1893)
iantrich Oct 28, 2018
7cd5f36
Convert hui-service-button-element to TypeScript/LitElement (#1888)
iantrich Oct 28, 2018
a4fa0ae
Handle no operation mode (#1901)
balloob Oct 28, 2018
4959b86
Convert hui-image-element to TypeScript/LitElement (#1890)
iantrich Oct 28, 2018
bdf5d0f
Convert hui-state-icon-element to TypeScript/LitElement (#1891)
iantrich Oct 28, 2018
8c155d4
Convert hui-state-badge-element to TypeScript/LitElement (#1892)
iantrich Oct 28, 2018
b6d0d77
Gauge convert and fix issues (#1886)
zsarnett Oct 28, 2018
b8752c4
Convert hui-divider-row to TypeScript/LitElement (#1896)
iantrich Oct 28, 2018
4f6bae1
Convert hui-weblink-row to TypeScript/LitElement (#1898)
iantrich Oct 28, 2018
82eb33a
Convert hui-climate-entity-row to TypeScript/LitElement (#1899)
iantrich Oct 28, 2018
d47c2a6
Merge remote-tracking branch 'origin/master' into dev
balloob Oct 29, 2018
c347be6
Lovelace - Weather Card: Adjust margins and move text (#1880)
timmo001 Oct 29, 2018
5ab15dc
add arm night (#1908)
zsarnett Oct 29, 2018
1d014bf
Convert hui-section-row to TypeScript/LitElement (#1897)
iantrich Oct 29, 2018
0d339e0
add arm_custom_bypass
zsarnett Oct 29, 2018
b717402
Fixes errors in PRs based on dev
zsarnett Oct 29, 2018
b3f8781
Merge pull request #1912 from home-assistant/prettier-fix
zsarnett Oct 29, 2018
630214d
Merge pull request #1911 from home-assistant/add-bypass
zsarnett Oct 29, 2018
3dde78c
Adding div arround each row to deal with spacing
zsarnett Oct 29, 2018
00935c8
Add themes to entities (#1909)
zsarnett Oct 29, 2018
7178d20
Light Card addition
zsarnett Oct 29, 2018
6dac48e
Merge pull request #1913 from home-assistant/entities-padding-fix
zsarnett Oct 29, 2018
bb4ce27
Fixing Gallery and updating timeout type
zsarnett Oct 29, 2018
1fcf510
Adding Type to Returns
zsarnett Oct 29, 2018
410b66d
Adding more types
zsarnett Oct 29, 2018
f7458b8
Add Hs_color to types
zsarnett Oct 30, 2018
a530411
UPdate Type for color
zsarnett Oct 30, 2018
2262031
Merge pull request #1874 from zsarnett/light-card
zsarnett Oct 30, 2018
5a1ca38
Propagate hass correctly (#1918)
balloob Oct 30, 2018
91966f6
Update polymer (#1921)
balloob Oct 30, 2018
7cf65ba
Update testing tools (#1925)
balloob Oct 30, 2018
d78b5fa
Update vaadin components (#1923)
balloob Oct 30, 2018
6f7ddef
Update mdi icons (#1922)
balloob Oct 30, 2018
de5f02d
Update TypeScript to latest (#1924)
balloob Oct 30, 2018
7ca2ef4
Addition to Edit Love Lace Cards (#1885)
zsarnett Oct 30, 2018
38bfe8c
Convert hui-call-service-row to TypeScript/LitElement (#1894)
iantrich Oct 30, 2018
a771a44
Fix conditional card with undefined hass (#1927)
balloob Oct 30, 2018
520e03a
Update translations
balloob Oct 30, 2018
2e395c1
Update version to 20181030.0
balloob Oct 30, 2018
a081047
Fix calculation of glance card size (#1930)
thomasloven Oct 30, 2018
2164b62
catch translation errors (#1928)
bramkragten Oct 30, 2018
03b1e40
Add preview to edit LL card (#1929)
balloob Oct 30, 2018
094eb63
Update Types for various cards (#1920)
zsarnett Oct 31, 2018
4ea83b8
Fixes: #1902 - Thermostat/Light Background (#1931)
zsarnett Oct 31, 2018
acab465
Move click and tooltip function to LL folder (#1935)
iantrich Oct 31, 2018
ce78131
Remove unused mixin (#1934)
iantrich Oct 31, 2018
447c06d
Fix overlapping device cards (#1940)
bramkragten Nov 1, 2018
aebd1a1
Remove side effects of render and Add types - Button/Glance (#1919)
zsarnett Nov 2, 2018
eb505d4
don't compress for CI runs (#1949)
balloob Nov 2, 2018
c0c7c0f
Remove .js from imports (#1948)
iantrich Nov 2, 2018
6cc67dc
New warning row for non-existent entities (#1946)
iantrich Nov 2, 2018
6f4cd88
Merge branch 'master' into dev
balloob Nov 2, 2018
727cfe9
Force correct line endings
balloob Nov 2, 2018
fbc1a72
Normalize all line endings
balloob Nov 2, 2018
38b8e5e
Update translations
balloob Nov 2, 2018
2ecb6e0
pic
balloob Nov 2, 2018
372cfde
Light, Thermostat, and Gauge - Theme Addition (#1947)
zsarnett Nov 2, 2018
c68604d
Mark edit as alpha (#1973)
balloob Nov 3, 2018
0922314
POC for RTL support (#1966)
rhayun Nov 3, 2018
8967757
Update translations
balloob Nov 3, 2018
dc0f023
Version bump to 20181103.0
balloob Nov 3, 2018
a3847dd
Merge remote-tracking branch 'origin/master' into dev
balloob Nov 3, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ensure Docker script files uses LF to support Docker for Windows.
# Ensure "git config --global core.autocrlf input" before you clone
* text eol=lf
*.ts whitespace=error
*.js whitespace=error

*.ico binary
*.jpg binary
*.png binary
*.zip binary
*.mp3 binary
Binary file modified gallery/public/api/media_player_proxy/media_player.walkman
Binary file not shown.
14 changes: 7 additions & 7 deletions gallery/src/components/demo-card.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";
import JsYaml from "js-yaml";

import HomeAssistant from "../data/hass.js";
import { demoConfig } from "../data/demo_config.js";
import HomeAssistant from "../data/hass";
import { demoConfig } from "../data/demo_config";
import { demoServices } from "../data/demo_services";
import demoResources from "../data/demo_resources.js";
import demoStates from "../data/demo_states.js";
import createCardElement from "../../../src/panels/lovelace/common/create-card-element.js";
import demoResources from "../data/demo_resources";
import demoStates from "../data/demo_states";
import createCardElement from "../../../src/panels/lovelace/common/create-card-element";

class DemoCard extends PolymerElement {
static get template() {
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/components/demo-cards.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import "@polymer/app-layout/app-toolbar/app-toolbar.js";
import "@polymer/paper-toggle-button/paper-toggle-button.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";
import "@polymer/app-layout/app-toolbar/app-toolbar";
import "@polymer/paper-toggle-button/paper-toggle-button";

import "./demo-card.js";
import "./demo-card";

class DemoCards extends PolymerElement {
static get template() {
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/components/demo-more-info.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import "../../../src/state-summary/state-card-content.js";
import "../../../src/dialogs/more-info/controls/more-info-content.js";
import "../../../src/components/ha-card.js";
import "../../../src/state-summary/state-card-content";
import "../../../src/dialogs/more-info/controls/more-info-content";
import "../../../src/components/ha-card";

class DemoMoreInfo extends PolymerElement {
static get template() {
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/components/demo-more-infos.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import "@polymer/app-layout/app-toolbar/app-toolbar.js";
import "@polymer/paper-toggle-button/paper-toggle-button.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";
import "@polymer/app-layout/app-toolbar/app-toolbar";
import "@polymer/paper-toggle-button/paper-toggle-button";

import "./demo-more-info.js";
import "./demo-more-info";

class DemoMoreInfos extends PolymerElement {
static get template() {
Expand Down
4 changes: 3 additions & 1 deletion gallery/src/data/entity.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export class LightEntity extends Entity {

if (service === "turn_on") {
// eslint-disable-next-line
const { brightness, hs_color } = data;
let { brightness, hs_color, brightness_pct } = data;
// eslint-disable-next-line
brightness = (255 * brightness_pct) / 100;
this.update(
"on",
Object.assign(this.attributes, {
Expand Down
6 changes: 3 additions & 3 deletions gallery/src/data/provide_hass.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { fireEvent } from "../../../src/common/dom/fire_event.js";
import { fireEvent } from "../../../src/common/dom/fire_event";

import { demoConfig } from "./demo_config.js";
import { demoConfig } from "./demo_config";
import { demoServices } from "./demo_services";
import demoResources from "./demo_resources.js";
import demoResources from "./demo_resources";

const ensureArray = (val) => (Array.isArray(val) ? val : [val]);

Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-alarm-panel-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("alarm_control_panel", "alarm", "disarmed", {
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-conditional-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("light", "controller_1", "on", {
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-entities-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("light", "bed_light", "on", {
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-entity-button-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("light", "bed_light", "on", {
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-entity-filter-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("device_tracker", "demo_paulus", "work", {
Expand Down
6 changes: 3 additions & 3 deletions gallery/src/demos/demo-hui-gauge-card.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import "../components/demo-cards.js";
import "../components/demo-cards";

const CONFIGS = [
{
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-glance-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("device_tracker", "demo_paulus", "home", {
Expand Down
6 changes: 3 additions & 3 deletions gallery/src/demos/demo-hui-iframe-card.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import "../components/demo-cards.js";
import "../components/demo-cards";

const CONFIGS = [
{
Expand Down
48 changes: 48 additions & 0 deletions gallery/src/demos/demo-hui-light-card.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("light", "bed_light", "on", {
friendly_name: "Bed Light",
brightness: 130,
}),
];

const CONFIGS = [
{
heading: "Basic example",
config: `
- type: light
entity: light.bed_light
`,
},
];

class DemoLightEntity extends PolymerElement {
static get template() {
return html`
<demo-cards id='demos' configs="[[_configs]]"></demo-cards>
`;
}

static get properties() {
return {
_configs: {
type: Object,
value: CONFIGS,
},
};
}

ready() {
super.ready();
const hass = provideHass(this.$.demos);
hass.addEntities(ENTITIES);
}
}

customElements.define("demo-hui-light-card", DemoLightEntity);
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-map-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("device_tracker", "demo_paulus", "not_home", {
Expand Down
6 changes: 3 additions & 3 deletions gallery/src/demos/demo-hui-markdown-card.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import "../components/demo-cards.js";
import "../components/demo-cards";

const CONFIGS = [
{
Expand Down
12 changes: 6 additions & 6 deletions gallery/src/demos/demo-hui-media-player-rows.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("media_player", "bedroom", "playing", {
Expand Down Expand Up @@ -65,7 +65,7 @@ const CONFIGS = [
- entity: media_player.living_room
name: Pause, No skip, tvshow
- entity: media_player.android_cast
name: Screen casting
name: Screen casting
- entity: media_player.lounge_room
name: Chromcast Idle
- entity: media_player.theater
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-picture-elements-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("light", "bed_light", "on", {
Expand Down
6 changes: 3 additions & 3 deletions gallery/src/demos/demo-hui-picture-entity-card.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import "../components/demo-cards.js";
import "../components/demo-cards";

const CONFIGS = [
{
Expand Down
6 changes: 3 additions & 3 deletions gallery/src/demos/demo-hui-picture-glance-card.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import "../components/demo-cards.js";
import "../components/demo-cards";

const CONFIGS = [
{
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-stack-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("light", "kitchen_lights", "on", {
Expand Down
10 changes: 5 additions & 5 deletions gallery/src/demos/demo-hui-thermostat-card.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import "../components/demo-cards.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";
import "../components/demo-cards";

const ENTITIES = [
getEntity("climate", "ecobee", "auto", {
Expand Down
14 changes: 7 additions & 7 deletions gallery/src/demos/demo-more-info-light.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { html } from "@polymer/polymer/lib/utils/html-tag.js";
import { PolymerElement } from "@polymer/polymer/polymer-element.js";
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";

import "../../../src/dialogs/more-info/controls/more-info-content.js";
import "../../../src/components/ha-card.js";
import "../../../src/dialogs/more-info/controls/more-info-content";
import "../../../src/components/ha-card";

import getEntity from "../data/entity.js";
import provideHass from "../data/provide_hass.js";
import getEntity from "../data/entity";
import provideHass from "../data/provide_hass";

import "../components/demo-more-infos.js";
import "../components/demo-more-infos";

/* eslint-disable no-unused-vars */

Expand Down
Loading