Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
8d2c716
Fix config card rtl issues
yosilevy Jan 28, 2022
deba6a0
Remove optional field from ha-form schema type (#11538)
balloob Feb 4, 2022
bfaf44f
Merge pull request #11475 from yosilevy/config-info-rtl-fix
yosilevy Feb 4, 2022
f474400
Add entity id autocompletion to YAML code editors (#11099)
kubawolanin Feb 4, 2022
0046252
Add selectors to ha-form (#11534)
balloob Feb 4, 2022
8730c12
Allow translate gas total (#11547)
bramkragten Feb 4, 2022
9b97faa
Migrate combobox to mwc (#11546)
bramkragten Feb 4, 2022
45e6ec1
New date picker (#11555)
bramkragten Feb 5, 2022
21d86f4
Link via device on device page (#11554)
frenck Feb 5, 2022
9be5a15
Add integration_discovery to discovery sources (#11564)
bdraco Feb 5, 2022
04668ad
Remember filter between navigation (#11565)
bramkragten Feb 6, 2022
4092f7f
Convert selectors to MWC (#11543)
bramkragten Feb 6, 2022
d05f807
Covert area picker to combo-box (#11562)
bramkragten Feb 6, 2022
76af6e4
Convert entity picker to ha-combo (#11560)
bramkragten Feb 7, 2022
354ea88
Update links on info page (#11590)
bramkragten Feb 7, 2022
ca8d31c
Migrate (input) select entities to mwc (#11591)
bramkragten Feb 7, 2022
e72a4e4
Convert HaFormSchemas to use selectors (#11589)
bramkragten Feb 7, 2022
22df034
Fix number selector (#11585)
bramkragten Feb 7, 2022
869fa91
Convert entity-attribute picker to ha-combo-box (#11587)
bramkragten Feb 7, 2022
2cb3782
Convert icon picker to ha-combobox (#11586)
bramkragten Feb 7, 2022
236fa14
Convert area-devices picker (#11588)
bramkragten Feb 7, 2022
09d46da
Convert device automation picker to mwc (#11592)
bramkragten Feb 7, 2022
e9ec2da
Fix clearing device in device action (#11594)
bramkragten Feb 7, 2022
2d33327
dark mode fixes (#11595)
bramkragten Feb 7, 2022
6a51e2a
Only show stable add-ons in the store if not advanced mode (#11596)
ludeeus Feb 7, 2022
9eea17b
Convert Automation Action Choose to HA Form (#11597)
zsarnett Feb 7, 2022
4ef5f3a
Replace checkboxes in list items with `check-list-item` (#11610)
bramkragten Feb 9, 2022
5435218
Make textarea grow on input (#11618)
bramkragten Feb 9, 2022
5f43715
Update lit-virtualizer (#11623)
bramkragten Feb 9, 2022
ed001fb
Convert time inputs to Lit + mwc (#11609)
bramkragten Feb 9, 2022
4db943c
Set initial focus for device, area, and entity dialogs (#11622)
steverep Feb 9, 2022
d37d992
Add aria-label to table headers with no title (#11503)
Nardol Feb 9, 2022
f02dd39
Add loadCardHelpers to cast scope (#11616)
thomasloven Feb 9, 2022
9c9bfa2
Update code editor to material 3 look (#11628)
bramkragten Feb 9, 2022
dc27871
Set button role on button card and handle enter and space (#11627)
bramkragten Feb 9, 2022
134ed7d
Only load ha-selector when needed (#11630)
bramkragten Feb 9, 2022
ce3b854
Fix service control for older browsers (#11629)
bramkragten Feb 9, 2022
a0aed91
Migrate a bunch of paper-dropdowns (#11626)
bramkragten Feb 9, 2022
d38a8a3
Merged too fast for Bram :) Code improv (#11632)
zsarnett Feb 9, 2022
830b449
Add support for opening camera media source (#11633)
balloob Feb 10, 2022
92a9ed7
Create error when trying to backup wile system in freeze (#11634)
ludeeus Feb 10, 2022
b053881
Add missing type to create device automation/script heading (#11635)
ludeeus Feb 10, 2022
b0b3222
Generate random webhook_id and add copy button (#11568)
esev Feb 10, 2022
467a516
Migrate search bar to mwc (#11637)
bramkragten Feb 10, 2022
fd80408
fix data-table row handlers (#11638)
bramkragten Feb 10, 2022
0eeed85
Bunch of fixes and cleanup (#11636)
bramkragten Feb 10, 2022
cefa2ee
State Trigger -> HA Form (#11631)
zsarnett Feb 10, 2022
d7a5921
Allow uploading media (#11615)
balloob Feb 10, 2022
fca7d2c
Add Attribute Picker as a selector - add to state trigger (#11641)
zsarnett Feb 10, 2022
ce9f83e
Time Pattern to HA Form (#11648)
zsarnett Feb 10, 2022
ac90bb7
MQTT Trigger to Ha-Form (#11643)
zsarnett Feb 10, 2022
76f574f
Convert Sun to Ha Form (#11647)
zsarnett Feb 10, 2022
9912d42
Geo Location Trigger to HA - Form (#11644)
zsarnett Feb 10, 2022
ed84ce9
HA Trigger to HA Form (#11645)
zsarnett Feb 10, 2022
099fa70
Make HA Form set required to false for selectors (#11649)
zsarnett Feb 11, 2022
db7cac5
Fix Lovelace Empty Menu when not advanced or admin (#11660)
zsarnett Feb 11, 2022
35cc291
Add support for media player assumed state (#11642)
thecode Feb 11, 2022
a9bfea2
Improve search and filters on mobile + fix close button in search fie…
bramkragten Feb 11, 2022
ee1fd3e
Allow adding Zigbee/Zwave device (#11650)
balloob Feb 11, 2022
fb66d22
Numerical State to HA-Form (#11646)
zsarnett Feb 11, 2022
e1c07f1
Filter fixes (#11664)
bramkragten Feb 11, 2022
bef6591
Add WORKSPACE_DIRECTORY environment variable to devcontainer and scri…
mib1185 Feb 12, 2022
d86a18b
hotfix history view on missing state (#11663)
lintaba Feb 12, 2022
a8c1fdd
Improve robustness of hls media player (#11672)
allenporter Feb 13, 2022
db33c38
Revert compute state display show empty string as unknown (#11677)
balloob Feb 13, 2022
7f90ffa
Set initial focus for some more dialogs (#11676)
steverep Feb 13, 2022
806b129
Limit types of media that can be uploaded to local media (#11683)
balloob Feb 14, 2022
63c9b3f
Don't show toggle always on more info (#11640)
zsarnett Feb 14, 2022
a321432
Add TTS to media browser (#11679)
balloob Feb 14, 2022
2ac0ad1
Omit Device info and actions for connected controller nodes (#11673)
kpine Feb 14, 2022
460b900
Script Editor to Ha Form (#11601)
zsarnett Feb 14, 2022
523afe2
Another round of paper-dropdown -> mwc-select conversion (#11674)
bramkragten Feb 14, 2022
fc654d8
hassio fixes (#11688)
bramkragten Feb 14, 2022
92db272
Dont exclude domain for area and device (#11689)
bramkragten Feb 14, 2022
520896a
Try to keep the browsing stack when changing players in media panel (…
balloob Feb 14, 2022
8bb2374
Allow uploading multiple files (#11687)
balloob Feb 14, 2022
901677b
Bumped version to 20220214.0
balloob Feb 14, 2022
9c8d683
Group helpers not in an area in a single card (#11690)
balloob Feb 15, 2022
d049990
Improve `stripPrefixFromEntityName` to handle colon and space separat…
bdr99 Feb 15, 2022
26d4599
Display transmitted messages in MQTT debug info dialog (#11531)
emontnemery Feb 15, 2022
ba63ab8
Latest paper-dropdown -> mwc-select conversion (#11692)
bramkragten Feb 15, 2022
68a4118
This adds back mobile click accessibility (#11693)
bramkragten Feb 15, 2022
e95065e
Updated text part 2 (#11686)
matthiasdebaat Feb 15, 2022
f5feb1d
Set initial focus for lovelace dialogs (#11667)
steverep Feb 15, 2022
56cb958
Migrate all lovelace elements to mwc (#11695)
bramkragten Feb 15, 2022
965fc9b
Fix import
balloob Feb 15, 2022
16d8eb0
Clean up some imports (#11696)
zsarnett Feb 15, 2022
6563984
Convert triple dots to single char in translations (#11697)
spacegaier Feb 16, 2022
f43655e
Fixes remote icon state color (#11698)
joshmcrty Feb 16, 2022
89f4fe9
Convert scene action to service call (#11705)
bramkragten Feb 16, 2022
9dec0f8
Fix mode selection in automation editor (#11707)
bramkragten Feb 16, 2022
53607fe
Remove duplicate gallery page (#11711)
balloob Feb 17, 2022
3a664d4
Add bottom padding to config links list with safe-area-inset-bottom (…
joshmcrty Feb 17, 2022
bfb9063
Bump hls.js to v1.1.5 (#11712)
uvjustin Feb 17, 2022
b55c7ed
Make zwave_js config panel inclusion state aware (#11556)
raman325 Feb 17, 2022
f923228
Fix mwc-select in lovelace editors (#11708)
zsarnett Feb 17, 2022
cbd0ef6
Add signed add-on capability and adjust max rating (#11703)
ludeeus Feb 17, 2022
0dc56d7
Add support for removing config entry from a device
emontnemery Feb 17, 2022
f88ce26
Tweak
emontnemery Feb 17, 2022
0abafff
Fix lint error
emontnemery Feb 18, 2022
8f5c929
Tweak
emontnemery Feb 18, 2022
246724c
Prettier
emontnemery Feb 18, 2022
5c5459b
Add play media action (#11702)
bramkragten Feb 18, 2022
9500ac4
Debounce refresh the cloud status if Google events happen (#11721)
balloob Feb 18, 2022
eae7e82
Remove custom MQTT delete device button (#11724)
emontnemery Feb 18, 2022
4f6a241
Apply suggestions from code review
emontnemery Feb 18, 2022
26689a0
Update src/panels/config/devices/ha-config-device-page.ts
emontnemery Feb 18, 2022
fe8a115
Correct typing
emontnemery Feb 18, 2022
b29563a
Prettier
emontnemery Feb 18, 2022
bc6ef77
Remove useless Array.isArray check
emontnemery Feb 18, 2022
cc177ef
Remove custom Tasmota delete device button (#11725)
emontnemery Feb 18, 2022
494cc3a
Automation Conditions to conversion to ha-form or mwc (#11727)
zsarnett Feb 18, 2022
4fc0617
Set initial focus for energy dialogs (#11730)
steverep Feb 18, 2022
8999ca2
Entity Settings Page to MWC 3 (#11694)
zsarnett Feb 18, 2022
728c391
Show why relayer is reconnecting (#11732)
balloob Feb 19, 2022
6e4b027
Change words for trigger condition (#11733)
balloob Feb 19, 2022
7bac41f
Update media player more info (#11734)
balloob Feb 19, 2022
3d6d07e
Pass hass to ha-form to enable selectors (#11739)
balloob Feb 20, 2022
29e1b7b
Bumped version to 20220220.0
balloob Feb 20, 2022
3269b28
Add link to the selector docs
balloob Feb 20, 2022
cf8e2a6
TTS form no longer showed due to import oopsie (#11742)
balloob Feb 20, 2022
dc20389
Improve logo rendering for playing media in browser (#11741)
balloob Feb 20, 2022
afe044d
Fix media upload on iOS (#11740)
balloob Feb 20, 2022
9b4c6ee
Handle inifinity media duration (#11749)
balloob Feb 21, 2022
28cd9b6
Show when media is being loaded (#11750)
balloob Feb 21, 2022
794bc16
Merge pull request #11716 from emontnemery/remove_config_entry_from_d…
emontnemery Feb 21, 2022
6cac7ee
Lovelace Entity Card Editor to Ha Form - Adds Theme Selector and HaFo…
zsarnett Feb 21, 2022
2281f5b
Set initial focus for supervisor dialogs (#11710)
steverep Feb 21, 2022
decc0d3
Convert Automation Actions to mwc/ha-form + other automation items (#…
zsarnett Feb 21, 2022
98699b6
Selector: remove text value when not required and empty (#11754)
bramkragten Feb 21, 2022
94b4b81
Convert date-range-picker to mwc (#11755)
bramkragten Feb 21, 2022
72b5721
Radio Browser is now added during onboarding (#11756)
balloob Feb 21, 2022
a14d75d
Add support for the media browser My link (#11757)
balloob Feb 21, 2022
eaf97ee
Show Home Assistant when creating partial backup (#11758)
ludeeus Feb 21, 2022
a5ee610
Fix zwave migration (#11751)
bramkragten Feb 21, 2022
564a725
Allow config entries to be reloaded when they are in setup_retry stat…
bdraco Feb 21, 2022
27750b8
Area Card Editor to Ha Form (#11762)
zsarnett Feb 21, 2022
eb1f94c
Fix WebRTC player stream playback when disconnected/connected (#11764)
allenporter Feb 21, 2022
e6d1e86
set theme to undefined when no theme (#11765)
bramkragten Feb 21, 2022
b1f369a
Paper input migrations (#11766)
bramkragten Feb 21, 2022
d230541
Only show description when set (#11772)
balloob Feb 22, 2022
73855e6
Thermostat Editor to HA - Form (#11763)
zsarnett Feb 22, 2022
15d1b8b
Alarm Card Editor to HA Form (#11760)
zsarnett Feb 22, 2022
940f5c0
Change icons for cover with device_class curtain (#11752)
pascalwinters Feb 22, 2022
ed9d886
no need for memoize
bramkragten Feb 22, 2022
1e6f402
Include scoped custom element polyfill (#11776)
bramkragten Feb 22, 2022
f5b5414
Show triggered in automation editor (#11771)
balloob Feb 22, 2022
5335772
Allow changing volume media player entity (#11781)
balloob Feb 22, 2022
ebd6a26
Add community section (#11779)
zsarnett Feb 22, 2022
8263e29
Bumped version to 20220222.0
balloob Feb 22, 2022
1baaf76
Fix State Condition 'For' Data (#11782)
zsarnett Feb 22, 2022
f633cc2
entities card editor to MWC (#11785)
zsarnett Feb 23, 2022
540c06c
Fix ripple corner radius for button card (#11780)
robinwittebol Feb 23, 2022
7e68393
Condition Card Editor to MWC (#11783)
zsarnett Feb 23, 2022
1dd1095
Show number of hidden items (#11786)
balloob Feb 23, 2022
aa988c7
Put volume slider in the middle of the button (#11788)
bramkragten Feb 23, 2022
df35496
Add media management dialog (#11787)
balloob Feb 23, 2022
64459a0
Convert alarm control panel more info (#11791)
bramkragten Feb 23, 2022
6be6755
Migrate more-info configurator (#11792)
bramkragten Feb 23, 2022
7f8ecf5
Convert more info lock (#11794)
bramkragten Feb 23, 2022
aa9ff01
Add Margin to Tip (#11790)
zsarnett Feb 23, 2022
6e2e80a
Dont render double label on number selector (#11796)
bramkragten Feb 23, 2022
0010bf5
Input conversion in dev tools (#11795)
bramkragten Feb 23, 2022
e6dbbc3
Gauge Editor to Ha Form (#11793)
zsarnett Feb 23, 2022
b341ee9
Stop spinning when opening media in dialog (#11800)
bramkragten Feb 23, 2022
5d8b322
Fix Entities picker (#11802)
zsarnett Feb 23, 2022
430b47f
Migrate single textfields (#11799)
bramkragten Feb 23, 2022
3204dbf
change repository url and project description (#11801)
Misiu Feb 23, 2022
8db22d4
Calendar card to HA Form (#11784)
zsarnett Feb 23, 2022
5f69a4c
Graph Footer to MWC (#11803)
zsarnett Feb 23, 2022
2a98ace
History Graph Editor to ha form (#11797)
zsarnett Feb 23, 2022
0113cc3
Glance editor to ha-form (#11804)
zsarnett Feb 23, 2022
9ae1f01
Grid Card to HA Form (#11798)
zsarnett Feb 23, 2022
70ca27c
Button editor to ha-form (#11808)
zsarnett Feb 23, 2022
fec0dc0
Bumped version to 20220223.0
bramkragten Feb 23, 2022
87290c4
Merge branch 'master' into dev
bramkragten Feb 23, 2022
1719d06
mwc-select -> ha-select (#11806)
bramkragten Feb 23, 2022
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"runem.lit-plugin",
"ms-python.vscode-pylance"
],
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"files.eol": "\n",
Expand Down
1,536 changes: 0 additions & 1,536 deletions .yarn/patches/@lit-labs/virtualizer/0.7.0.patch

This file was deleted.

18 changes: 9 additions & 9 deletions .yarn/patches/@lit-labs/virtualizer/event-target-shim.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
diff --git a/lib/uni-virtualizer/lib/polyfillLoaders/EventTarget.js b/lib/uni-virtualizer/lib/polyfillLoaders/EventTarget.js
index d92179f7fd5315203f870a6963e871dc8ddf6c0c..362e284121b97e0fba0925225777aebc32e26b8d 100644
--- a/lib/uni-virtualizer/lib/polyfillLoaders/EventTarget.js
+++ b/lib/uni-virtualizer/lib/polyfillLoaders/EventTarget.js
@@ -1,14 +1,15 @@
-let _ET, ET;
+let _ET;
+let ET;
diff --git a/polyfillLoaders/EventTarget.js b/polyfillLoaders/EventTarget.js
index 4e18ade7ba485849f17f28c94c42f0e0e01ac387..8f34f4f646c7f7becc208fb5a546c96034fc74dc 100644
--- a/polyfillLoaders/EventTarget.js
+++ b/polyfillLoaders/EventTarget.js
@@ -6,16 +6,15 @@
let _ET;
let ET;
export default async function EventTarget() {
- return ET || init();
+ return ET || init();
Expand All @@ -26,4 +25,5 @@ index d92179f7fd5315203f870a6963e871dc8ddf6c0c..362e284121b97e0fba0925225777aebc
+ _ET = (await import("event-target-shim")).default.EventTarget;
+ }
+ return (ET = _ET);
}
}
//# sourceMappingURL=EventTarget.js.map
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is the repository for the official [Home Assistant](https://home-assistant.io) frontend.

[![Screenshot of the frontend](https://raw.githubusercontent.com/home-assistant/home-assistant-polymer/master/docs/screenshot.png)](https://demo.home-assistant.io/)
[![Screenshot of the frontend](https://raw.githubusercontent.com/home-assistant/frontend/master/docs/screenshot.png)](https://demo.home-assistant.io/)

- [View demo of Home Assistant](https://demo.home-assistant.io/)
- [More information about Home Assistant](https://home-assistant.io)
Expand Down
12 changes: 11 additions & 1 deletion build-scripts/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports.ignorePackages = ({ latestBuild }) => [
];

// Files from NPM packages that we should replace with empty file
module.exports.emptyPackages = ({ latestBuild }) =>
module.exports.emptyPackages = ({ latestBuild, isHassioBuild }) =>
[
// Contains all color definitions for all material color sets.
// We don't use it
Expand All @@ -28,6 +28,15 @@ module.exports.emptyPackages = ({ latestBuild }) =>
),
// This polyfill is loaded in workers to support ES5, filter it out.
latestBuild && require.resolve("proxy-polyfill/src/index.js"),
// Icons in supervisor conflict with icons in HA so we don't load.
isHassioBuild &&
require.resolve(
path.resolve(paths.polymer_dir, "src/components/ha-icon.ts")
),
isHassioBuild &&
require.resolve(
path.resolve(paths.polymer_dir, "src/components/ha-icon-picker.ts")
),
].filter(Boolean);

module.exports.definedVars = ({ isProdBuild, latestBuild, defineOverlay }) => ({
Expand Down Expand Up @@ -196,6 +205,7 @@ module.exports.config = {
publicPath: publicPath(latestBuild, paths.hassio_publicPath),
isProdBuild,
latestBuild,
isHassioBuild: true,
defineOverlay: {
__SUPERVISOR__: true,
},
Expand Down
5 changes: 4 additions & 1 deletion build-scripts/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const createWebpackConfig = ({
isProdBuild,
latestBuild,
isStatsBuild,
isHassioBuild,
dontHash,
}) => {
if (!dontHash) {
Expand Down Expand Up @@ -117,7 +118,9 @@ const createWebpackConfig = ({
},
}),
new webpack.NormalModuleReplacementPlugin(
new RegExp(bundle.emptyPackages({ latestBuild }).join("|")),
new RegExp(
bundle.emptyPackages({ latestBuild, isHassioBuild }).join("|")
),
path.resolve(paths.polymer_dir, "src/util/empty.js")
),
!isProdBuild && new LogStartCompilePlugin(),
Expand Down
3 changes: 3 additions & 0 deletions cast/src/receiver/layout/hc-lovelace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import "../../../../src/panels/lovelace/views/hui-view";
import { HomeAssistant } from "../../../../src/types";
import "./hc-launch-screen";

(window as any).loadCardHelpers = () =>
import("../../../../src/panels/lovelace/custom-card-helpers");

@customElement("hc-lovelace")
class HcLovelace extends LitElement {
@property({ attribute: false }) public hass!: HomeAssistant;
Expand Down
5 changes: 0 additions & 5 deletions demo/src/entrypoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@ import "../../src/resources/ha-style";
import "../../src/resources/roboto";
import "../../src/resources/safari-14-attachshadow-patch";
import "./ha-demo";

/* polyfill for paper-dropdown */
setTimeout(() => {
import("web-animations-js/web-animations-next-lite.min");
}, 1000);
1 change: 0 additions & 1 deletion gallery/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module.exports = [
"editor-trigger",
"editor-condition",
"editor-action",
"selectors",
"trace",
"trace-timeline",
],
Expand Down
1 change: 1 addition & 0 deletions gallery/src/components/demo-black-white-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { html, LitElement, css, TemplateResult } from "lit";
import { customElement, property } from "lit/decorators";
import { applyThemesOnElement } from "../../../src/common/dom/apply_themes_on_element";
import { fireEvent } from "../../../src/common/dom/fire_event";
import "../../../src/components/ha-card";

@customElement("demo-black-white-row")
class DemoBlackWhiteRow extends LitElement {
Expand Down
27 changes: 25 additions & 2 deletions gallery/src/pages/automation/describe-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@ import { html, css, LitElement, TemplateResult } from "lit";
import { customElement, property } from "lit/decorators";
import "../../../../src/components/ha-card";
import { describeAction } from "../../../../src/data/script_i18n";
import { getEntity } from "../../../../src/fake_data/entity";
import { provideHass } from "../../../../src/fake_data/provide_hass";
import { HomeAssistant } from "../../../../src/types";

const actions = [
const ENTITIES = [
getEntity("scene", "kitchen_morning", "scening", {
friendly_name: "Kitchen Morning",
}),
getEntity("media_player", "kitchen", "playing", {
friendly_name: "Sonos Kitchen",
}),
];

const ACTIONS = [
{ wait_template: "{{ true }}", alias: "Something with an alias" },
{ delay: "0:05" },
{ wait_template: "{{ true }}" },
Expand All @@ -19,8 +29,20 @@ const actions = [
device_id: "abcdefgh",
domain: "plex",
entity_id: "media_player.kitchen",
type: "turn_on",
},
{ scene: "scene.kitchen_morning" },
{
service: "scene.turn_on",
target: { entity_id: "scene.kitchen_morning" },
metadata: {},
},
{
service: "media_player.play_media",
target: { entity_id: "media_player.kitchen" },
data: { media_content_id: "", media_content_type: "" },
metadata: { title: "Happy Song" },
},
{
wait_for_trigger: [
{
Expand Down Expand Up @@ -52,7 +74,7 @@ export class DemoAutomationDescribeAction extends LitElement {
}
return html`
<ha-card header="Actions">
${actions.map(
${ACTIONS.map(
(conf) => html`
<div class="action">
<span>${describeAction(this.hass, conf as any)}</span>
Expand All @@ -68,6 +90,7 @@ export class DemoAutomationDescribeAction extends LitElement {
super.firstUpdated(changedProps);
const hass = provideHass(this);
hass.updateTranslations(null, "en");
hass.addEntities(ENTITIES);
}

static get styles() {
Expand Down
2 changes: 1 addition & 1 deletion gallery/src/pages/automation/editor-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { HaDelayAction } from "../../../../src/panels/config/automation/action/t
import { HaDeviceAction } from "../../../../src/panels/config/automation/action/types/ha-automation-action-device_id";
import { HaEventAction } from "../../../../src/panels/config/automation/action/types/ha-automation-action-event";
import { HaRepeatAction } from "../../../../src/panels/config/automation/action/types/ha-automation-action-repeat";
import { HaSceneAction } from "../../../../src/panels/config/automation/action/types/ha-automation-action-scene";
import { HaSceneAction } from "../../../../src/panels/config/automation/action/types/ha-automation-action-activate_scene";
import { HaServiceAction } from "../../../../src/panels/config/automation/action/types/ha-automation-action-service";
import { HaWaitForTriggerAction } from "../../../../src/panels/config/automation/action/types/ha-automation-action-wait_for_trigger";
import { HaWaitAction } from "../../../../src/panels/config/automation/action/types/ha-automation-action-wait_template";
Expand Down
3 changes: 0 additions & 3 deletions gallery/src/pages/automation/selectors.markdown

This file was deleted.

102 changes: 0 additions & 102 deletions gallery/src/pages/automation/selectors.ts

This file was deleted.

Loading