Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
4cd4b32
[ci skip] Translation update
homeassistant Dec 30, 2020
fe8dda8
[ci skip] Translation update
homeassistant Dec 31, 2020
f684531
[ci skip] Translation update
homeassistant Jan 2, 2021
916a5c1
Make it clearer that we are looking for the YAML card config
spacegaier Jan 3, 2021
2113ea6
Prevent relative time text wrapping in more-info-sun (#8051)
spacegaier Jan 4, 2021
7f840e7
Add EN fallback text for dismiss button (#8068)
spacegaier Jan 4, 2021
775e93d
Ensure consistent number display for gauge (#8080)
spacegaier Jan 4, 2021
293b56c
Show actual error path/key in YAML card editor (#8076)
spacegaier Jan 4, 2021
e6d38f4
Fix incorrect date selection ranges for history and logbook (#8045)
spacegaier Jan 4, 2021
dcb2605
Add Bengali language (#8014)
spacegaier Jan 4, 2021
d5a77ef
Treat zero as String in number selector (#8070)
spacegaier Jan 4, 2021
fab6805
OZW Panel: Don't show an empty wakeup card (#8064)
cgarwood Jan 4, 2021
6fb2068
Switch header sizes for ZHA pairing status card (#8078)
abmantis Jan 4, 2021
05057ad
Catch navigator.clipboard errors (#7942)
spacegaier Jan 4, 2021
4a61779
Ensure YAML editor gets updated during action change / deletion (#8024)
spacegaier Jan 4, 2021
0208b50
Disable counter buttons if entity is unavailable (#8084)
spacegaier Jan 4, 2021
a0de209
Aligned gallery more-info with hui-cards (#7931)
spacegaier Jan 4, 2021
a3fdfe0
Add additional entities to gallery more-info-light (#7930)
spacegaier Jan 4, 2021
2c2226d
Slightly increase max attribute value width (#8085)
spacegaier Jan 4, 2021
13b69bf
Translate timestamp-display errors + tiny tweaks (#8086)
spacegaier Jan 4, 2021
42f0101
Add gallery demo for plant card (#7989)
spacegaier Jan 4, 2021
1667973
Improve spacing in entity rows + secondary ellipsis (#8028)
spacegaier Jan 5, 2021
2fdc746
Add support for "all" as entity ID in action "service" (#7954)
spacegaier Jan 5, 2021
5e2ee1a
Added Drag & Drop Reordering to Shopping List Card. (#7296)
ShaneQi Jan 5, 2021
88da9bb
Allow to show modal dialogs in iFrame panels (#7971)
siemon-geeroms Jan 5, 2021
bfe8346
Bump ini from 1.3.5 to 1.3.7 (#7949)
dependabot[bot] Jan 5, 2021
cb2c6d8
Convert gallery elements to LitElement (#8088)
spacegaier Jan 5, 2021
f2e9b35
Use proper styled confirmation dialog for handled actions (#8077)
spacegaier Jan 5, 2021
607eb6d
Prefer target over environment (#8092)
balloob Jan 5, 2021
30997db
Add filtering and zoom to node to the ZHA network visualization (#7913)
dmulcahey Jan 6, 2021
b9259b8
Beautify ha-attribute `<pre>` (#8101)
spacegaier Jan 6, 2021
1538fbb
Bump material elements (#8093)
bramkragten Jan 7, 2021
4deeff7
Prefix supervisor version with `supervisor-` (#8107)
ludeeus Jan 8, 2021
da07173
Prevent YAML mode if no entity is set in card editor (#8110)
spacegaier Jan 8, 2021
f9d28fc
Add blank between temperature and unit in weather card (#8111)
spacegaier Jan 8, 2021
2b0f43f
Format blueprint descriptions with markdown (#8109)
thomasloven Jan 8, 2021
0d281f8
Fix for undefined stateObj in media player row (#8114)
bramkragten Jan 8, 2021
d02a2e8
Consistently use isComponentLoaded() helper (#7995)
spacegaier Jan 10, 2021
2a14a3a
Move release builds from Azure to Github (#8128)
ludeeus Jan 11, 2021
02313e4
Move translations from Azure to Github (#8129)
ludeeus Jan 11, 2021
56d88b4
Add CSS Variables for Menu (#7917)
myleskeeffe Jan 11, 2021
a465754
Show location name in auth page, if available. (#8119)
thomasloven Jan 11, 2021
b148328
Add Core to supervisor/system (#8123)
ludeeus Jan 11, 2021
a9baa7f
Move netlify preview builds from Azure to Github (#8105)
ludeeus Jan 11, 2021
96f0cee
Update supervisor on add-on store refresh (#8132)
ludeeus Jan 11, 2021
edcb7e8
Hide configuration card if the add-on does not expose options or sche…
ludeeus Jan 11, 2021
f42587a
Format URL attribute as link (#8126)
spacegaier Jan 11, 2021
aba0e1f
Automation - State Condition display 'for:' in frontend (#8124)
Nikfinn99 Jan 11, 2021
cea3b8b
Show name on ignored entries (#8135)
balloob Jan 12, 2021
41f8b0d
Add verify-version step to release (#8138)
ludeeus Jan 12, 2021
75f2284
Allow configuring default TTS voice for cloud (#8148)
balloob Jan 13, 2021
6b20bb9
Add support for dhcp discovery (#8149)
bdraco Jan 13, 2021
c28a7d6
Center align content of date input (#8134)
spacegaier Jan 13, 2021
131a7f3
Clear entity ID during automation duplication (#8140)
spacegaier Jan 13, 2021
a1d07e5
Sort imports (#8104)
ludeeus Jan 13, 2021
28ca1a5
Adjust / theme entity marker background color (#8116)
spacegaier Jan 13, 2021
95fd8de
Adjust person / presence detection texts (#8117)
spacegaier Jan 13, 2021
6919d0c
Ensure we always show backend error in automation and script editor (…
spacegaier Jan 13, 2021
1aab656
Make entity-filter and glances demo a bit clearer & cleaner (#8157)
spacegaier Jan 14, 2021
b565a8b
Allow "idle" media players to be switched of in entity row (#8155)
spacegaier Jan 14, 2021
fd2df92
Change supportsStop to supportsStopTilt (#8153)
iMicknl Jan 14, 2021
cd06b93
Allow empty/undefined for counter min & max (#8154)
spacegaier Jan 14, 2021
1aa40cb
Convert state-card-display to LitElement and use timestamp display (#…
spacegaier Jan 14, 2021
ef7d2ae
Fix config update handling for map card editor (#8115)
spacegaier Jan 14, 2021
142f26a
Align entities card section header styling (#8113)
spacegaier Jan 14, 2021
16c914b
Show default value for selector-less blueprint inputs. (#8163)
thomasloven Jan 15, 2021
9659ebe
Increase font size for alarm keypad number buttons (#8120)
spacegaier Jan 16, 2021
bb77d34
Tweaks to cloud integration page (#7878)
spacegaier Jan 16, 2021
40f4c35
Initial Z-Wave JS Config Panel (#8166)
cgarwood Jan 16, 2021
84a9ca5
Add "columns" and "square" to grid card editor (#7888)
spacegaier Jan 16, 2021
45200da
Helpful comment. See #8152 (#8160)
thomasloven Jan 16, 2021
16e7a16
Fix date picker text color (#7776)
thomasloven Jan 16, 2021
08c1b86
Fix missing addon list when creating partial snapshot (#8176)
ludeeus Jan 17, 2021
7e06bd5
Change remote ui portal to account page (#8193)
bramkragten Jan 18, 2021
707338b
Add Z-Wave info to device page for zwave_js devices (#8195)
cgarwood Jan 21, 2021
136ebb5
Set sensible default tap_action (same logic as button row) (#8186)
spacegaier Jan 21, 2021
9e99d15
Add error handling to action handling (#8187)
spacegaier Jan 21, 2021
599dd81
Make "button row" name optional to be consistent with "button card" a…
spacegaier Jan 21, 2021
870f0bc
Fix some dialog close history issues (#8102)
bramkragten Jan 22, 2021
6f4dbdc
Improve entity registry errors display (#8208)
spacegaier Jan 22, 2021
fe13853
Allow timestamp attribute formatting + central timestamp formats (#8162)
spacegaier Jan 22, 2021
d228f38
Correct URL to automation run modes documentation (#8230)
spacegaier Jan 25, 2021
a3339c9
Add wizards for adding and removing Z-Wave JS nodes (#8174)
cgarwood Jan 25, 2021
831b9da
Various demo tweaks + cleanups (#8229)
spacegaier Jan 25, 2021
748a05f
Use app header color as default selected tab color + allow styling (#…
spacegaier Jan 25, 2021
a6b77c0
entity-filter card allow state_filter.value == 0 (number 0) (#8225)
b3nj1 Jan 25, 2021
7710cb2
Use correct color for shopping list card section header (#8223)
spacegaier Jan 25, 2021
12c935f
Show entity_picture in logbook (#8118)
spacegaier Jan 25, 2021
dc5d148
Added missing translations for some automation extra-fields (#8210)
spacegaier Jan 25, 2021
a8b27e2
Allow themeing of media control card (#8209)
spacegaier Jan 25, 2021
cf43b26
Prevent automation action row issue if event name gets cleared (#8213)
spacegaier Jan 25, 2021
0a09ec7
Visual alignment of automation and script more info dialogs (#8234)
spacegaier Jan 26, 2021
4171845
Adjust calendar translations to fix loading issue in calendar card (#…
spacegaier Jan 26, 2021
0dd9b21
Add minutes to hourly weather forecast time display (#8182)
spacegaier Jan 26, 2021
9b7d893
Correctly handle "hours to show" for footer graph (#8071)
spacegaier Jan 26, 2021
048de6b
Fix translation action (#8244)
bramkragten Jan 26, 2021
9d289bf
Add download dump button to zwave_js panel (#8232)
bramkragten Jan 26, 2021
9988227
Don't assume position of items in array (#7927)
timmccor Jan 26, 2021
46b3836
Add number entity support (#7876)
Shulyaka Jan 26, 2021
4cd95b7
Use minified bundle of node vibrant (#7784)
balloob Jan 26, 2021
8400e90
Translation update
Jan 27, 2021
ed368dd
Add support for delay values split into parts + millisecond time inpu…
spacegaier Jan 27, 2021
e69f360
add actions to weather-forecast-card (#7659)
iantrich Jan 27, 2021
5c0e151
Add selectors for text and arbitrary objects (#8152)
thomasloven Jan 27, 2021
0a3172d
More comprehensive YAML config errors + dynamic checks for action con…
spacegaier Jan 27, 2021
8bfe583
Convert customize to LitElement + "real" entity picker + option to di…
spacegaier Jan 27, 2021
8d06086
Entity registry: Translate advanced section + direct link to entity c…
spacegaier Jan 27, 2021
5f003cc
Add navigation to dashboard & resources to lovelace editor + icons (#…
spacegaier Jan 27, 2021
093e23c
Auto capitalize first letter of entity row name (#7962)
spacegaier Jan 27, 2021
7dfa1b0
Convert state history chart to LitElement + add warning if history is…
spacegaier Jan 27, 2021
4f0bb9f
Add icon support to gauge (#8081)
spacegaier Jan 27, 2021
b22455d
Add simple try tts dialog (#8245)
bramkragten Jan 27, 2021
2ce7020
Markdown format blueprint descriptions in import dialog (#8251)
thomasloven Jan 27, 2021
9243d30
Zwave -> OZW migration (#7765)
bramkragten Jan 27, 2021
4234d51
Bumped version to 20210127.0
bramkragten Jan 27, 2021
6483f23
Merge branch 'master' into dev
bramkragten Jan 27, 2021
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 @@ -26,6 +26,9 @@
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.trimTrailingWhitespace": true
}
}
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed w

```

## Problem-relevant configuration
## Problem-relevant frontend configuration

<!--
An example configuration that caused the problem for you. Fill this out even
if it seems unimportant to you. Please be sure to remove personal information
like passwords, private URLs and other credentials.
An example configuration that caused the problem for you, e.g. the YAML configuration
of the used cards. Fill this out even if it seems unimportant to you. Please be sure
to remove personal information like passwords, private URLs and other credentials.
-->

```yaml
Expand All @@ -89,7 +89,7 @@ DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed w
## Javascript errors shown in your browser console/inspector

<!--
If you come across any javascript or other error logs, e.g., in your browser
If you come across any Javascript or other error logs, e.g. in your browser
console/inspector please provide them.
-->

Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/netflify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Netlify

on:
schedule:
- cron: "0 0 * * *"

jobs:
trigger_builds:
name: Trigger netlify build preview
runs-on: "ubuntu-latest"
steps:
- name: Trigger Cast build
run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_CAST_DEV_BUILD_HOOK }}

- name: Trigger Demo build
run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_DEMO_DEV_BUILD_HOOK }}

- name: Trigger Gallery build
run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_GALLERY_DEV_BUILD_HOOK }}
80 changes: 80 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Release

on:
release:
types:
- published

env:
WHEELS_TAG: 3.7-alpine3.11
PYTHON_VERSION: 3.7
NODE_VERSION: 12.1

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Verify version
uses: home-assistant/actions/helpers/verify-version@master

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Set up Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}

- name: Build and release package
run: |
export TWINE_USERNAME="__token__"
export TWINE_PASSWORD="${{ secrets.TWINE_TOKEN }}"

script/release

wheels-init:
name: Init wheels build
needs: release
runs-on: ubuntu-latest
steps:
- name: Generate requirements.txt
run: |
# Sleep to give pypi time to populate the new version across mirrors
sleep 240
version=$(echo "${{ github.ref }}" | awk -F"/" '{print $NF}' )
echo "home-assistant-frontend==$version" > ./requirements.txt

- name: Upload requirements.txt
uses: actions/upload-artifact@v2
with:
name: requirements
path: ./requirements.txt

build-wheels:
name: Build wheels for ${{ matrix.arch }}
needs: wheels-init
runs-on: ubuntu-latest
strategy:
matrix:
arch: ["aarch64", "armhf", "armv7", "amd64", "i386"]
steps:
- name: Download requirements.txt
uses: actions/download-artifact@v2
with:
name: requirements

- name: Build wheels
uses: home-assistant/wheels@master
with:
tag: ${{ env.WHEELS_TAG }}
arch: ${{ matrix.arch }}
wheels-host: ${{ secrets.WHEELS_HOST }}
wheels-key: ${{ secrets.WHEELS_KEY }}
wheels-user: wheels
requirements: "requirements.txt"
65 changes: 65 additions & 0 deletions .github/workflows/translations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Translations

on:
schedule:
- cron: "30 0 * * *"
push:
branches:
- dev
paths:
- translations/en.json

env:
NODE_VERSION: 12

jobs:
upload:
name: Upload
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Set up Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}

- name: Upload Translations
run: |
export LOKALISE_TOKEN="${{ secrets.LOKALISE_TOKEN }}"

./script/translations_upload_base

download:
name: Download
needs: upload
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Set up Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}

- name: Download Translations
run: |
export LOKALISE_TOKEN="${{ secrets.LOKALISE_TOKEN }}"

npm install
./script/translations_download

- name: Initialize git
uses: home-assistant/actions/helpers/git-init@master
with:
name: GitHub Action
email: github-action@users.noreply.github.com

- name: Update translation
run: |
git add translations
git commit -am "Translation update"
git push
30 changes: 0 additions & 30 deletions azure-pipelines-netlify.yml

This file was deleted.

59 changes: 0 additions & 59 deletions azure-pipelines-release.yml

This file was deleted.

70 changes: 0 additions & 70 deletions azure-pipelines-translation.yml

This file was deleted.

17 changes: 1 addition & 16 deletions build-scripts/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const createWebpackConfig = ({
const ignorePackages = bundle.ignorePackages({ latestBuild });
return {
mode: isProdBuild ? "production" : "development",
target: ["web", latestBuild ? "es2017" : "es5"],
devtool: isProdBuild
? "cheap-module-source-map"
: "eval-cheap-module-source-map",
Expand Down Expand Up @@ -131,22 +132,6 @@ const createWebpackConfig = ({
}
return `${chunk.name}.${chunk.hash.substr(0, 8)}.js`;
},
environment: {
// The environment supports arrow functions ('() => { ... }').
arrowFunction: latestBuild,
// The environment supports BigInt as literal (123n).
bigIntLiteral: false,
// The environment supports const and let for variable declarations.
const: latestBuild,
// The environment supports destructuring ('{ a, b } = obj').
destructuring: latestBuild,
// The environment supports an async import() function to import EcmaScript modules.
dynamicImport: latestBuild,
// The environment supports 'for of' iteration ('for (const x of array) { ... }').
forOf: latestBuild,
// The environment supports ECMAScript Module syntax to import ECMAScript modules (import ... from '...').
module: latestBuild,
},
chunkFilename:
isProdBuild && !isStatsBuild
? "chunk.[chunkhash].js"
Expand Down
Loading