Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
f59cb66
Add a docs icon to the config flow dialog
balloob Feb 10, 2022
35a41b3
Use same help icon everywhere
balloob Feb 11, 2022
add92a5
Fix quickbar overlaying, fix click handling (#11900)
bramkragten Mar 2, 2022
24829bd
Supervisor mobile click accessibility (#11915)
steverep Mar 3, 2022
797c871
Convert objects to string in config flow error (#11908)
bramkragten Mar 3, 2022
8c445f6
Fix datepicker triangle (#11920)
robinwittebol Mar 3, 2022
604b796
Always show tab labels (#11919)
robinwittebol Mar 3, 2022
8f8017e
Remove zwave and ozw panels (#11911)
bramkragten Mar 4, 2022
adefc7a
Convert lovelace config dialogs to ha-form (#11910)
bramkragten Mar 4, 2022
0936fd9
Guard setting up config flow for an unsupported domain (#11937)
balloob Mar 4, 2022
bd20c15
Show triggered vars on click (#11924)
balloob Mar 5, 2022
ccb91e0
Allow marking YAML editor as read only (#11960)
balloob Mar 7, 2022
3873203
Convert inputs (#11907)
bramkragten Mar 7, 2022
b4b52d3
Remove some additional old zwave code (#11941)
raman325 Mar 7, 2022
2e10eb0
Correct media upload error + add file name (#11949)
spacegaier Mar 7, 2022
dfcb0f6
Fix humidifier more info mode dropdown (#11964)
bramkragten Mar 7, 2022
8258641
Make min width of select configurable (#11965)
bramkragten Mar 7, 2022
9d28df3
Fix for Statistics Editor (#11942)
zsarnett Mar 7, 2022
4b8b14a
A11y expansion panel (#11967)
bramkragten Mar 7, 2022
0dac10a
Convert file upload to mdc (#11906)
bramkragten Mar 7, 2022
4cdff3f
Add location selector, convert zone editor (#11902)
bramkragten Mar 7, 2022
68e7ce1
Add systemd_resolved unsupported reason (#11971)
ludeeus Mar 7, 2022
86dbf99
replace default switch icon
Mariusthvdb Mar 8, 2022
fc6b594
Allow selecting multiple entities (#11986)
balloob Mar 8, 2022
db830e9
Fix theme setting (#11977)
bramkragten Mar 8, 2022
d968fe4
Update Style of Design Page (#11982)
zsarnett Mar 8, 2022
8301ae2
change icon to mimic physical device
Mariusthvdb Mar 8, 2022
9f1e9b4
Use entities-picker in entity selector (#11990)
balloob Mar 9, 2022
246e426
#11971 Change order of alarm panel buttons (#11998)
bratanon Mar 10, 2022
99fd3a1
Fix zwave_js 'add/remove device' disabled bug (#12000)
raman325 Mar 10, 2022
f89b8cf
Fix zwave_js set config dropdown default value (#11974)
cgarwood Mar 10, 2022
294a69d
Fix changing cost number in energy settings (#12009)
zsarnett Mar 11, 2022
f4e28da
Fix Dashboard Editing (#12011)
zsarnett Mar 11, 2022
9b6c935
Fix For Selecting Device Class (#12010)
zsarnett Mar 11, 2022
5dfe17a
Fix: Allow for deleting Input_select options (#12007)
zsarnett Mar 12, 2022
a993d3a
Script ID update with Alias (#12008)
zsarnett Mar 12, 2022
fad8a27
HAWS 6.1 (#12016)
balloob Mar 12, 2022
4916527
Bumped version to 20220301.1
balloob Mar 12, 2022
4fbcc30
Merge remote-tracking branch 'origin/master' into dev
balloob Mar 12, 2022
c4dc6bf
Bumped version to 20220301.2
balloob Mar 12, 2022
cc27ddb
Bumped version to 20220312.0
balloob Mar 12, 2022
84ffa23
Add shade to device class overrides (#11874)
jpearl Mar 14, 2022
1fa04ba
Fix: Changing Blueprint Automation Name (#12036)
zsarnett Mar 14, 2022
dcf50e0
Fix @changed where using ev.detail (#12043)
zsarnett Mar 14, 2022
3358fc2
Add all cover device classes (#12042)
zsarnett Mar 14, 2022
641003b
Rename Lovelace Dashboard to just Dashboard (#12044)
matthiasdebaat Mar 14, 2022
b8d3c68
Add Color Temp Selector (#12041)
zsarnett Mar 14, 2022
e01cb3c
Utilize Hide Hidden Entities
zsarnett Mar 14, 2022
f1ec479
Reviews
zsarnett Mar 15, 2022
c37fe1e
add to demo
zsarnett Mar 15, 2022
db78b04
Add `Brand` folder and `Our story` page (#11978)
matthiasdebaat Mar 15, 2022
5f6490e
Add HA to public folder and show in markdown
zsarnett Mar 15, 2022
4e0fc8e
Update Translations
zsarnett Mar 15, 2022
7fa7a48
Disabled by
zsarnett Mar 15, 2022
c86ed1f
remove 1
zsarnett Mar 15, 2022
a27dd1e
Add Description of chosen
zsarnett Mar 15, 2022
d5a307f
Add icons and buttons
zsarnett Mar 15, 2022
5c53bc4
Add Color RGB Selector (#12039)
zsarnett Mar 15, 2022
5d3d150
Merge pull request #12054 from home-assistant/Add-image-to-design-docs
zsarnett Mar 16, 2022
4ac097f
Add Date Selector
zsarnett Mar 16, 2022
d5010dd
Add ha-form context (#12062)
balloob Mar 16, 2022
ab5df0f
test condition (#11925)
balloob Mar 16, 2022
1e929ae
Revamp URL form (#12060)
balloob Mar 16, 2022
9908162
Add support for menu data entry flow option (#12055)
balloob Mar 16, 2022
29119db
Add translation
zsarnett Mar 16, 2022
94ebb63
add to basic editor and update advanced style
zsarnett Mar 16, 2022
01eed22
clean up
zsarnett Mar 16, 2022
dde1c5e
Entity Status
zsarnett Mar 16, 2022
73ff8e2
Add Devices Picker (#12056)
zsarnett Mar 16, 2022
4fc2c3e
Remvoe redunency
zsarnett Mar 16, 2022
1ca9c78
Bumped version to 20220316.0
zsarnett Mar 16, 2022
4fbe9a7
Merge pull request #12049 from home-assistant/hide-hidden-entities
zsarnett Mar 16, 2022
1784ba5
Merge pull request #12061 from home-assistant/Add-Date-Selector
zsarnett Mar 16, 2022
8a50906
Merge pull request #12064 from home-assistant/20220316.0
zsarnett Mar 16, 2022
5247b28
Bump HAWS to 7.0.0 (#12067)
balloob Mar 17, 2022
0261cea
Create new Logo page
matthiasdebaat Mar 17, 2022
3e0942b
Add files via upload
matthiasdebaat Mar 17, 2022
ea19740
Ignore diagnostics not found exceptions (#12066)
balloob Mar 17, 2022
4fcdae8
Bump HAWS to 7.0.1
balloob Mar 17, 2022
102568c
Update lock
balloob Mar 17, 2022
2e7f8fb
Add Date Time Selector (#12070)
zsarnett Mar 17, 2022
3e2135a
Add radio Form Logic to Select Selector (#12063)
zsarnett Mar 17, 2022
af06ab1
Merge pull request #12073 from home-assistant/bump-haws-701
zsarnett Mar 17, 2022
bc36a20
Merge pull request #11984 from Mariusthvdb/patch-4
zsarnett Mar 17, 2022
03677c3
Bumped version to 20220317.0 (#12074)
zsarnett Mar 17, 2022
f927fc6
Update gallery/src/pages/brand/logo.markdown
matthiasdebaat Mar 18, 2022
ee230b8
Update gallery/src/pages/brand/logo.markdown
matthiasdebaat Mar 18, 2022
470225a
Update logo.markdown
matthiasdebaat Mar 18, 2022
9c1d1cb
Merge pull request #12069 from matthiasdebaat/patch-2
zsarnett Mar 18, 2022
ddf1cc0
Fetch history with `no_attributes` for entities that do not need them…
bdraco Mar 21, 2022
f5f8be8
Update required version of MDI to 6.6.95
mririgoyen Mar 21, 2022
6bf2111
Upload release assets (#11566)
cdce8p Mar 21, 2022
fa53796
Update styles for hui-editor
DuckyCrayfish Mar 21, 2022
ccf1fb5
Fix gas energy graph units if stats added by external source (#11892)
pszafer Mar 22, 2022
6ac51ed
Change Netlify preview URL (#12095)
ludeeus Mar 22, 2022
0e0e074
Update src/dialogs/config-flow/dialog-data-entry-flow.ts
zsarnett Mar 22, 2022
9eba50d
Merge pull request #11651 from home-assistant/add-docs-icon-config-flow
zsarnett Mar 22, 2022
0fc4c24
Merge pull request #12087 from DuckyCrayfish/fix-toolbar-styles
zsarnett Mar 22, 2022
15e972c
Stack Action Inputs in the Button Editor (#12076)
zsarnett Mar 22, 2022
bdde526
Add support for update entities (#12059)
ludeeus Mar 22, 2022
73f5580
Add support for integration type (#12077)
balloob Mar 22, 2022
49124f6
Update When entity can change enabled or hidden (#12096)
zsarnett Mar 22, 2022
88af0aa
Add entity include and exclude to selector (#12078)
zsarnett Mar 22, 2022
afd2e71
change from hidden to not shown (#12097)
zsarnett Mar 22, 2022
840858b
Add statistic adjust dialog (#12101)
balloob Mar 22, 2022
2d9b50d
Fix Duration Selector Default (#12098)
zsarnett Mar 22, 2022
a7a347e
Bumped version to 20220322.0 (#12102)
zsarnett Mar 23, 2022
c0dce08
Create user types page and rename the category (#12089)
matthiasdebaat Mar 23, 2022
d6a1d5a
Remove `setup.py` (#11593)
cdce8p Mar 23, 2022
079cc39
Fix selecting 0 with number selector
emontnemery Mar 23, 2022
c7e9ee7
Merge pull request #12109 from home-assistant/number_selector_allow_0
zsarnett Mar 23, 2022
dffc66c
Merge branch 'dev' of github.com:goyney/frontend into update-mdi-to-6…
mririgoyen Mar 23, 2022
504b043
Update lock file with MDI updates
mririgoyen Mar 23, 2022
7b6d3c0
Use update entities for showing updates on configuration panel (#12100)
ludeeus Mar 23, 2022
c522670
Fix loading traces for automation with custom id (#12112)
emontnemery Mar 23, 2022
95b80ac
Merge pull request #12085 from goyney/update-mdi-to-6-6-95
zsarnett Mar 23, 2022
cbd030a
Only show docs link when showing a form
balloob Mar 23, 2022
f493280
Exclude restored automations from dashboard (#12113)
emontnemery Mar 23, 2022
df96199
Support descriptions in flow menu steps (#12108)
emontnemery Mar 23, 2022
420e8fe
Merge pull request #12116 from home-assistant/docs-only-form
zsarnett Mar 23, 2022
40d8786
Sort selectors (#12120)
emontnemery Mar 24, 2022
859f49f
Update type for backend (#12122)
zsarnett Mar 24, 2022
27ca61e
Fix issue where theme select does not appear when user's theme is del…
ZephireNZ Mar 24, 2022
a58b4fb
Fix possibility to enable entity disabled by integration (#12121)
pszafer Mar 24, 2022
224df89
Allow rendering helper text from strings.json (#12119)
balloob Mar 25, 2022
dd963be
Add Day to duration selector (#12125)
zsarnett Mar 25, 2022
b3fa0cc
Add variables to automation trigger type
balloob Mar 28, 2022
2648a53
Merge pull request #12135 from home-assistant/update-automation-type
zsarnett Mar 28, 2022
637e420
Fix z-index map, always set icon for location selector (#12137)
bramkragten Mar 28, 2022
d30e8ee
Make padding on settings row content consistent (#12139)
bramkragten Mar 28, 2022
b080bca
Add Area Multiple Selector option (#12138)
zsarnett Mar 28, 2022
a44b898
break theme picker out of lovelace (#12140)
bramkragten Mar 28, 2022
61f6e88
Allow binary sensor device class updates (#12124)
zsarnett Mar 28, 2022
ca22ec6
Add selector initial values (#12142)
zsarnett Mar 28, 2022
85d3011
Add badge to configuration sidebar to indicate pending updates (#12146)
ludeeus Mar 29, 2022
2a12172
Bumped version to 20220329.0 (#12152)
zsarnett Mar 29, 2022
00cbd1d
Add entity source API (#12149)
balloob Mar 30, 2022
c7050e4
Update adjust statistic dialog (#12118)
balloob Mar 30, 2022
e263b57
Fetch release notes for update entities that provides it (#12148)
ludeeus Mar 30, 2022
ac67061
Add support for new timer properties (#11940)
raman325 Mar 30, 2022
7ca2846
Fix theme settings on design page (#12154)
ludeeus Mar 30, 2022
cfc1999
Allow ha-alert to be used in our markdown render (#12153)
ludeeus Mar 30, 2022
ff80ab3
Allow device_tracker entities to use state_color (#12127)
Mariusthvdb Mar 30, 2022
f5af63a
Automation description text overflow (#12040)
blairun Mar 30, 2022
7ab54ee
Update Pickers and selectors with required (#12151)
zsarnett Mar 30, 2022
624cb48
Add support for my links to create a helper config entry (#12155)
bramkragten Mar 30, 2022
505c222
Use brand icon instead of domain icon for helpers (#12157)
bramkragten Mar 30, 2022
ba235ac
Import components that are allowed to be defined in markdown (#12158)
ludeeus Mar 30, 2022
062f21a
Add options to selectors gallery (#12156)
bramkragten Mar 30, 2022
86afd88
Add helpers to list when searching in add integration (#12159)
bramkragten Mar 30, 2022
9444228
List Selector (#12099)
zsarnett Mar 30, 2022
b586186
Add shuffle and repeat-mode of media_player to UI (#12052)
NachtaktiverHalbaffe Mar 30, 2022
2b1457e
Add panel to Backup integration (#11671)
ludeeus Mar 30, 2022
396791b
Fix for Mobile View of Entities Table (#12160)
zsarnett Mar 30, 2022
bad776b
Allow Sensor Units to be updated via Entity Registry (#12143)
zsarnett Mar 30, 2022
c2c09b1
Add switch as x to entity settings (#12161)
bramkragten Mar 30, 2022
9e4bee1
Bumped version to 20220330.0 (#12164)
zsarnett Mar 30, 2022
9c3e0fc
Merge branch 'master' into dev
bramkragten Mar 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ env:
NODE_VERSION: 14
NODE_OPTIONS: --max_old_space_size=6144

# Set default workflow permissions
# All scopes not mentioned here are set to no access
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
actions: none

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # Required to upload release assets
steps:
- name: Checkout the repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -47,6 +55,13 @@ jobs:

script/release

- name: Upload release assets
uses: softprops/action-gh-release@v0.1.14
with:
files: |
dist/*.whl
dist/*.tar.gz

wheels-init:
name: Init wheels build
needs: release
Expand Down
1 change: 0 additions & 1 deletion cast/src/receiver/second-load.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "web-animations-js/web-animations-next-lite.min";
import "../../../src/resources/ha-style";
import "../../../src/resources/roboto";
import "./layout/hc-lovelace";
Binary file added gallery/public/images/clearspace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gallery/public/images/logo-variants.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gallery/public/images/logo-with-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gallery/public/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gallery/public/images/using-our-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion gallery/script/netlify_build_gallery
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ "${PULL_REQUEST}" == "true" ]]; then
createStatus "pending" "Building design preview" "https://app.netlify.com/sites/home-assistant-gallery/deploys/$BUILD_ID"
gulp build-gallery
if [ $? -eq 0 ]; then
createStatus "success" "Build complete" "$DEPLOY_URL"
createStatus "success" "Build complete" "$DEPLOY_PRIME_URL"
else
createStatus "error" "Build failed" "https://app.netlify.com/sites/home-assistant-gallery/deploys/$BUILD_ID"
fi
Expand Down
9 changes: 7 additions & 2 deletions gallery/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,17 @@ module.exports = [
category: "misc",
header: "Miscelaneous",
},
{
category: "brand",
header: "Brand",
},
{
category: "user-test",
header: "User Tests",
header: "Users",
pages: ["user-types", "configuration-menu"],
},
{
category: "design.home-assistant.io",
header: "Design Documentation",
header: "About",
},
];
20 changes: 13 additions & 7 deletions gallery/src/components/demo-black-white-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,19 @@ class DemoBlackWhiteRow extends LitElement {

firstUpdated(changedProps) {
super.firstUpdated(changedProps);
applyThemesOnElement(this.shadowRoot!.querySelector(".dark"), {
default_theme: "default",
default_dark_theme: "default",
themes: {},
darkMode: true,
theme: "default",
});
applyThemesOnElement(
this.shadowRoot!.querySelector(".dark"),
{
default_theme: "default",
default_dark_theme: "default",
themes: {},
darkMode: true,
theme: "default",
},
undefined,
undefined,
true
);
}

handleSubmit(ev) {
Expand Down
22 changes: 21 additions & 1 deletion gallery/src/components/page-description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ class PageDescription extends HaMarkdown {
if (!PAGES[this.page].description) {
return html``;
}

return html`
<div class="heading">
<div class="title">
${PAGES[this.page].metadata.title || this.page.split("/")[1]}
</div>
<div class="subtitle">${PAGES[this.page].metadata.subtitle}</div>
</div>
${until(
PAGES[this.page]
.description()
Expand All @@ -25,9 +32,22 @@ class PageDescription extends HaMarkdown {
static styles = [
HaMarkdown.styles,
css`
.heading {
padding: 16px;
border-bottom: 1px solid var(--secondary-background-color);
}
.title {
font-size: 42px;
line-height: 56px;
padding-bottom: 8px;
}
.subtitle {
font-size: 18px;
line-height: 24px;
}
.root {
max-width: 800px;
margin: 0 auto;
margin: 16px auto;
}
.root > *:first-child {
margin-top: 0;
Expand Down
11 changes: 11 additions & 0 deletions gallery/src/data/text.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export const LONG_TEXT = `
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc laoreet velit ut elit volutpat, eget ultrices odio lacinia. In imperdiet malesuada est, nec sagittis metus ultricies quis. Sed nisl ex, convallis porttitor ante quis, hendrerit tristique justo. Mauris pharetra venenatis augue, eu maximus sem cursus in. Quisque sed consequat risus. Suspendisse facilisis ligula a odio consectetur condimentum. Curabitur vehicula elit nec augue mollis, et volutpat massa dictum.

Nam pellentesque auctor rutrum. Suspendisse elit est, sodales vel diam nec, porttitor faucibus massa. Ut pretium ac orci eu pharetra. Praesent in nibh at magna viverra rutrum eu vitae tortor. Etiam eget sem ex. Fusce tristique odio nec lacus mattis, vitae tempor nunc malesuada. Maecenas faucibus magna vel libero maximus egestas. Vestibulum luctus semper velit, in lobortis risus tempus non. Curabitur bibendum ornare commodo. Quisque commodo neque sit amet tincidunt lacinia. Proin elementum ante velit, eu congue nulla semper quis. Pellentesque consequat vel nunc at scelerisque. Mauris sit amet venenatis diam, blandit viverra leo. Integer commodo laoreet orci.

Curabitur ipsum tortor, sodales ut augue sed, commodo porttitor libero. Pellentesque molestie vitae mi consectetur tempor. In sed lectus consequat, lobortis neque non, semper ipsum. Etiam eget ex et nibh sagittis pulvinar lacinia ac mauris. Aenean ligula eros, viverra ac nibh at, venenatis semper quam. Sed interdum ligula sit amet massa tincidunt tincidunt. Suspendisse potenti. Aliquam egestas facilisis est, sed faucibus erat scelerisque id. Duis dolor quam, viverra vitae orci euismod, laoreet pellentesque justo. Nunc malesuada non erat at ullamcorper. Mauris eget posuere odio. Vestibulum turpis nunc, pharetra eget ante in, feugiat mollis justo. Proin porttitor, diam nec vulputate pretium, tellus arcu rhoncus turpis, a blandit nisi nulla quis arcu. Nunc ac ullamcorper ligula, nec facilisis leo.

In vitae eros sollicitudin, iaculis ex eget, egestas orci. Etiam sed pretium lorem. Nam nisi enim, consectetur sit amet semper ac, semper pharetra diam. In pulvinar neque sapien, ac ullamcorper est lacinia a. Etiam tincidunt velit sed diam malesuada, eu ornare ex consectetur. Phasellus in imperdiet tellus. Sed bibendum, dui sit amet fringilla aliquet, enim odio sollicitudin lorem, vel semper turpis mauris vel mauris. Aenean congue magna ac massa cursus, in dictum orci commodo. Pellentesque mollis velit in sollicitudin tincidunt. Vestibulum et efficitur nulla.

Quisque posuere, velit sed porttitor dapibus, neque augue fringilla felis, eu luctus nisi nisl nec ipsum. Curabitur pellentesque ac lectus eget ultricies. Vestibulum est dolor, lacinia pharetra vulputate a, facilisis a magna. Nam vitae arcu nibh. Praesent finibus blandit ante, ac gravida ex mollis eget. Donec quam est, pulvinar vitae neque ut, bibendum aliquam erat. Nullam mollis arcu at sem tincidunt, in tristique lectus facilisis. Aenean ut lacus vel nisl finibus iaculis non a turpis. Integer eget ipsum ante. Donec nunc neque, vestibulum ac magna ac, posuere scelerisque dui. Pellentesque massa nibh, rhoncus id dolor quis, placerat posuere turpis. Donec aliquet augue nisi, eu finibus dui auctor et. Vestibulum eu varius lorem. Quisque lectus ante, malesuada pretium risus eget, interdum mattis enim.
`;
98 changes: 58 additions & 40 deletions gallery/src/ha-gallery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { html, css, LitElement, PropertyValues } from "lit";
import { customElement, property, query } from "lit/decorators";
import "../../src/components/ha-icon-button";
import "../../src/managers/notification-manager";
import "../../src/components/ha-expansion-panel";
import { haStyle } from "../../src/resources/styles";
import { PAGES, SIDEBAR } from "../build/import-pages";
import { dynamicElement } from "../../src/common/dom/dynamic-element-directive";
Expand Down Expand Up @@ -44,6 +45,10 @@ class HaGallery extends LitElement {
for (const page of group.pages!) {
const key = `${group.category}/${page}`;
const active = this._page === key;
if (!(key in PAGES)) {
console.error("Undefined page referenced in sidebar.js:", key);
continue;
}
const title = PAGES[key].metadata.title || page;
links.push(html`
<a ?active=${active} href=${`#${group.category}/${page}`}>${title}</a>
Expand All @@ -53,10 +58,9 @@ class HaGallery extends LitElement {
sidebar.push(
group.header
? html`
<details>
<summary class="section">${group.header}</summary>
<ha-expansion-panel .header=${group.header}>
${links}
</details>
</ha-expansion-panel>
`
: links
);
Expand Down Expand Up @@ -92,27 +96,34 @@ class HaGallery extends LitElement {
${dynamicElement(`demo-${this._page.replace("/", "-")}`)}
</div>
<div class="page-footer">
${PAGES[this._page].description ||
Object.keys(PAGES[this._page].metadata).length > 0
? html`
<a
href=${`${GITHUB_DEMO_URL}${this._page}.markdown`}
target="_blank"
>
Edit text
</a>
`
: ""}
${PAGES[this._page].demo
? html`
<a
href=${`${GITHUB_DEMO_URL}${this._page}.ts`}
target="_blank"
>
Edit demo
</a>
`
: ""}
<div class="header">Help us to improve our documentation</div>
<div class="secondary">
Suggest an edit to this page, or provide/view feedback for this
page.
</div>
<div>
${PAGES[this._page].description ||
Object.keys(PAGES[this._page].metadata).length > 0
? html`
<a
href=${`${GITHUB_DEMO_URL}${this._page}.markdown`}
target="_blank"
>
Edit text
</a>
`
: ""}
${PAGES[this._page].demo
? html`
<a
href=${`${GITHUB_DEMO_URL}${this._page}.ts`}
target="_blank"
>
Edit demo
</a>
`
: ""}
</div>
</div>
</div>
</mwc-drawer>
Expand Down Expand Up @@ -186,27 +197,16 @@ class HaGallery extends LitElement {
padding: 4px;
}

.sidebar details {
margin-top: 1em;
margin-left: 1em;
}

.sidebar summary {
cursor: pointer;
font-weight: bold;
margin-bottom: 8px;
}

.sidebar a {
color: var(--primary-text-color);
display: block;
padding: 4px 12px;
padding: 12px;
text-decoration: none;
position: relative;
}

.sidebar a[active]::before {
border-radius: 4px;
border-radius: 12px;
position: absolute;
top: 0;
right: 2px;
Expand Down Expand Up @@ -237,14 +237,32 @@ class HaGallery extends LitElement {

.page-footer {
text-align: center;
margin: 16px 0;
padding-top: 16px;
border-top: 1px solid rgba(0, 0, 0, 0.12);
margin: 16px;
padding: 16px;
border-radius: 12px;
background-color: var(--primary-background-color);
}

.page-footer div {
margin-top: 4px;
}

.page-footer .header {
font-size: 16px;
font-weight: 500;
line-height: 28px;
text-align: center;
}

.page-footer .secondary {
line-height: 23px;
text-align: center;
}

.page-footer a {
display: inline-block;
margin: 0 8px;
text-decoration: none;
}
`,
];
Expand Down
34 changes: 34 additions & 0 deletions gallery/src/pages/brand/logo.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: "Logo"
---

![Using our logo](/images/using-our-logo.png)

# Using our logo

As a community, we are proud of our logo. Follow these guidelines to ensure it always looks its best. Our logo follows Google's material design spec and uses the blue interface color.

[Download Logo](https://github.com/home-assistant/assets/tree/master/logo)

![Logo](/images/logo.png)


## Using the icon

Our icon is a shorter and most used version of our logo. The icon can exist without the wordmark, the wordmark should never exist without the icon.

![Logo variants](/images/logo-variants.png)

## Using the right variant

The pretty blue logo with a background shadow, pictured top left, is our primary logo. It should only be used with black, white, and non-duotone photography.

When needed you can use our logo without a shadow, as seen as the second variant.

The outlined logo should only be used on packaging.

## Exclusion zone

The logo needs some personal space. It's exclusion zone is equal to a quarter the height of the icon.

![Clearspace](/images/clearspace.png)
41 changes: 41 additions & 0 deletions gallery/src/pages/brand/our-story.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: "Our story"
---

## Open source home automation that puts local control and privacy first

Home Assistant is a free and open-source software for home automation that is designed to be the central control system for smart home devices with a focus on local control and privacy. It can be accessed via a web-based user interface, via apps for Android and iOS, or using voice commands via a supported virtual assistant like Google Assistant and Amazon Alexa.

IoT devices and services are supported by modular support for controlling proprietary ecosystems if they provide public access via an Open API for third-party integrations and protocols like Bluetooth, MQTT, Zigbee, and Z-Wave, After the Home Assistant software application is installed as a computer appliance it will act as a central control system for home automation. Information from all entities it sees can be used and controlled from within scripts trigger automations using scheduling and "blueprint" subroutines, e.g. for controlling lighting, climate, entertainment systems, and appliances.

# Open Home

The Open Home is our vision for the smart home. It defines the values that we put at the heart of every decision we make at Home Assistant. It’s woven into our architecture, licensing, community, and everything else.

The Open Home is about privacy, choice, and durability.

## Privacy

Your home should be your safe space. A place where you can be your true self without having to bother about what the world thinks of you. A place where you don’t need to act differently to avoid an algorithm categorizing your behavior. Privacy for the Open Home means that devices need to work locally. No one else needs to know if you turn on a light bulb or change the thermostat.

It is okay for a product to offer a cloud connection, but it should be extra and opt-in.

## Choice

Devices in your home gather data about themselves and their surroundings. Your data. Vendors shouldn’t be able to limit your access to your data or limit the interoperability of your devices with the rest of your smart home.

Choice for the Open Home means that devices need to make the gathered data available through local APIs. This avoids vendor lock-in and allows users to create their own smart home with devices from different manufacturers.

## Durability

If there is one thing that technology firms are very good at, it is launching new products. However, maintaining the products and making sure they keep working is an afterthought for most. The result is that vendors can decide to no longer support your device, crippling its features or even preventing it from working at all. As we install more and more devices in our home, durability is becoming more and more important. We shouldn’t have to buy everything new every couple of years because the manufacturer decided to move on.

Durability for the Open Home means that devices are designed and built to keep working. Not just this year, but for the next decade.

# Our history

The project was started as a Python application by Paulus Schoutsen in September 2013 and first published publicly on GitHub in November 2013. In July 2017, a managed operating system called Hass.io was initially introduced to make it easier use to use Home Assistant on single-board computers like the Raspberry Pi series. Its bundled "supervisor" management system allowed users to manage, backup, and update the local installation and introduced the option to extend the functionality of the software with add-ons.

An optional subscription service was introduced in December 2017 for $5/month to solve the complexities associated with secured remote access, as well as linking to Amazon Alexa and Google Assistant. Nabu Casa, Inc. was formed in September 2018 to take over the subscription service. The company's funding is based solely on revenue from the subscription service. It is used to finance the project's infrastructure and to pay for full-time employees contributing to the project.

In January 2020, branding was adjusted to make it easier to refer to different parts of the project. The main piece of software was renamed to Home Assistant Core, while the full suite of software with the embedded operating system and bundled "supervisor" management system was renamed to Home Assistant.
1 change: 1 addition & 0 deletions gallery/src/pages/components/ha-alert.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Alerts
subtitle: An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
---

# Alert `<ha-alert>`
Expand Down
Loading