16149 Commits

Author SHA1 Message Date
Paulus Schoutsen
412b7595d2
Handle non existing states (#2098) 2018-11-23 20:42:41 +01:00
Paulus Schoutsen
a7ab652dd3
Add support for timestamp device class (#2087) 2018-11-23 19:38:28 +01:00
Paulus Schoutsen
d41a4cf78b
Generate Lovelace config on the fly (#2091)
* Generate Lovelace config on the fly

* Disable editing

* Fix domain name title rendering
2018-11-23 17:39:50 +01:00
Simon Holzmayer
785ed6f9db add "for" input field to numeric_state in trigger editor (#2081) 2018-11-23 11:52:48 +01:00
Ian Richardson
6885abd234 Convert shopping-list add item call to websockets (#2080) 2018-11-23 08:56:35 +01:00
Ian Richardson
3497cb892e Convert toggle functions to TypeScript (#2082)
* Convert toggle functions to TypeScript

* Update hui-picture-glance-card.ts

* Update hui-picture-glance-card.ts
2018-11-22 12:48:12 +01:00
Bram Kragten
a82561355c Dont change config on init (#2044)
* dont change config on init

* set default title empty

* used firstUpdated instead of updated

* prevent double events

* check if val changed

* typing

* clean

* lint

* clean

* prettier is having a fight
2018-11-21 22:15:22 -05:00
Paulus Schoutsen
f054cdc9ef
Use overrideIcon via data binding (#2078) 2018-11-21 21:11:00 +01:00
Paulus Schoutsen
463c7eae54
Merge pull request #2077 from home-assistant/dev
20181121.0
2018-11-21 20:14:51 +01:00
Paulus Schoutsen
cbb703e5c1 Bumped version to 20181121.0 20181121.0 2018-11-21 20:04:19 +01:00
Paulus Schoutsen
e4dc1884f8 Update translations 2018-11-21 20:04:10 +01:00
Paulus Schoutsen
f72a2b7ef8 Merge remote-tracking branch 'origin/master' into dev 2018-11-21 20:02:56 +01:00
Bram Kragten
39819c5c58 Hassio: Fix download snapshot (#2071)
* Fix download snapshot

* async + helper

* pretty

* move catch

* fix

* Update data.ts
2018-11-21 19:28:48 +01:00
Zack Arnett
49542c49fa Entities Card UI Editor (#2072)
* Entity Card ui + extras

* Travis Fix

* Bram already has this in  another PR
2018-11-21 09:29:06 +01:00
Ian Richardson
86e501f0aa Convert retrieval of items in shopping-list to websockets (#2041)
* Convert shopping-list to websockets

* Update shopping-list.ts

* Scale back to just retrieval of items to WS
2018-11-21 09:25:30 +01:00
Paulus Schoutsen
2ca3a784e2
Allow Google unlocking locks (#2073)
* Allow Google unlocking locks

* Fix missing type
2018-11-20 23:23:12 +01:00
Paulus Schoutsen
c01bd57ba5 Fix compression hassio build 2018-11-20 17:07:26 +01:00
Paulus Schoutsen
ba5d224080 Gen MDI icons during hassio build 2018-11-20 16:16:54 +01:00
Ronen Hayun
5da16db81b RTL support (POC) (#2014)
* RTL support (POC)

* restore yarn.lock
2018-11-20 13:10:40 +01:00
Ian Richardson
a9704b110d Convert hui-input-select-entity-row to TypeScript/LitElement (#2048)
* Convert hui-input-select-entity-row to TypeScript/LitElement

* Address Travis issues

* Address review comments

* Return callService promise

* Remove _selected
2018-11-20 13:09:52 +01:00
Ian Richardson
b8f048d96a Convert hui-input-text-entity-row to TypeScript/LitElement (#2050)
* Convert hui-input-text-entity-row to TypeScript/LitElement

* Address review comments

* Address review comments

Does anyone know why line 74 seemingly doesn't fire when the value hasn't changed? I think we should blur regardless if the value changed or not on "enter" but only seems to work when setValue is called

* Return promise from call service
2018-11-20 13:09:45 +01:00
Paulus Schoutsen
c20a285003
Pin Lit-HTML and Lit-Element (#2070) 2018-11-20 13:01:21 +01:00
Karl Kihlström
07cf1141c5 Improve sensor graph algorithm (#2069) 2018-11-20 12:41:47 +01:00
Zack Arnett
ef2aa2ea6f Picture Glance Conversion to TS (#2029)
* First Commit

* Convert to TS

* Extract entity render to own function

* Making it one function like not an idiot

* Addressing Reviews
2018-11-20 12:24:30 +01:00
Pascal Vizeli
2058e0d3fb
Fix gz build 2018-11-20 11:36:45 +01:00
Bram Kragten
773711a2d5
Update Hassio with security options (#2067)
* new security options

* Add more info modal

Added more info modal and moved the security components.

* fixes

* show apparmor only if not default

* add colors to apparmor
2018-11-20 10:14:46 +01:00
Bram Kragten
0bb85bc895
Added migrate dialog when card has no ID (#2008)
* Added migrate dialog when card has no ID

* typos

* Fix error messages

* cardId should be a string

* Add translation

* Only load yaml in yaml editor

* revert name change

* Combine migrate and edit in one dialog

* lint

* fixes + inlude and secret yaml

* resize after toggle preview -> value>config

* add loading spinners

* only create preview when type changes

* loader on yaml editor

* Fixed loading spinner not disappearing

* moved dialog

* disable toggle if not avail

* address comments

* cleanup showDialog
2018-11-19 22:19:50 +01:00
Petro31
9a9986cf17 Flatline fix for Sensor Cards (#2064)
* Update hui-sensor-card.js

This fixes issues where the first history item was repeated many times at the start of the graph resulting in a flat line that does not represent the data.

Also, the graph now has the ability to reach a 1 to 1 history graph to sensor graph point representation.  Before 2 to 1 was the highest resolution possible.  This was due to using history.length - 1 as the denominator in cases where the user set the accuracy larger than the total number of points in the history.

* Update hui-sensor-card.js

* Update hui-sensor-card.js

* Update hui-sensor-card.js

* Update hui-sensor-card.js

* Update hui-sensor-card.js
2018-11-19 16:47:30 +01:00
Jack Wilsdon
1bb62bfc05 Only add a separating colon if there is a valid prefix and suffix (#2060)
This commit changes the media player entity row to only add a colon
separator to the status line when there is both a prefix and a suffix.
2018-11-19 11:59:10 +01:00
Ian Richardson
f92f89e8e8 Convert compute functions to TypeScript (#2055)
* Convert compute functions to TypeScript

* Address review comment

* Address Travis complaint

* Attempt to not be dumb :)
2018-11-18 14:50:21 +01:00
Paulus Schoutsen
b1a50aa0e0 Fix hassio develop script 2018-11-18 12:25:16 +01:00
Jack Wilsdon
8c2a2fc043 Remove extra > (#2062) 2018-11-17 12:08:52 -05:00
callifo
adb39fd820 Update Lovelace Thermostat Card to include all supported thermostat m… (#2039)
* Update Lovelace Thermostat Card to include all supported thermostat modes

* Update hui-thermostat-card.ts

* Update en.json to include

* Update en.json

* Revert "Update en.json"

This reverts commit a71ed49b7873730f6e7770976ddd4dfbd36d2e0d.

* Revert "Update en.json to include"

This reverts commit 68b95ca4569efb855990c16cc7f94b61489fafbb.

* Removed manual mode, covered in PR #2036

* Update dry colour to #efbd07
2018-11-14 10:16:53 -05:00
TomMini
8a9762dd93 Add icon for manual mode (#2036)
* Add icon for manual mode

* Added state.climate.manual to translations

* Added manual color blue
2018-11-13 22:32:50 -05:00
Paulus Schoutsen
4407da9364 Remove extra > 2018-11-13 17:04:15 +01:00
Paulus Schoutsen
b533e4d093 Bumped version to 20181112.0 20181112.0 2018-11-12 10:17:51 +01:00
Ian Richardson
239ec5fb53 Ability to add items to shopping-list-card (#2035)
* Ability to add items to shopping-list-card

* Address review comments
2018-11-12 10:17:19 +01:00
Thomas Lovén
d974d5dc52 Fix hold_action not working on chrome for android (#2011) 2018-11-12 10:17:18 +01:00
Zack Arnett
2076949289 Glance fix (#2040) 2018-11-12 08:05:05 +01:00
Paulus Schoutsen
65bd7fd64f Update translations 2018-11-11 22:54:04 +01:00
Paulus Schoutsen
1f0c7297ce
Upgrade Lit (#2032) 2018-11-10 20:36:25 +01:00
Ian Richardson
efbd97f9a4 Add clearing of checked items to shopping-list-card (#2034) 2018-11-10 20:34:31 +01:00
Paulus Schoutsen
2ccfccc23f Bumped version to 20181103.3 20181103.3 2018-11-09 15:39:07 +01:00
Paulus Schoutsen
acbcb6bd45 Fix int in ha-form (#2033) 2018-11-09 15:38:56 +01:00
Paulus Schoutsen
e580dbe7f2
Fix int in ha-form (#2033) 2018-11-09 15:38:30 +01:00
Nikolay Vasilchuk
9f55678cb3 Timezone support for displaying header with date in logbook (#2026)
* Fixed display header with date in logbook

* prettier fix
2018-11-09 10:59:03 +01:00
Ian Richardson
9c2b85dd6e Add checked item section to shopping-list-card (#2005)
* Add checked item section to shopping-list-card

* Not getting value back from `this.localize`? at line 109

* Alignment of label

* Address review comment

* Address review comments

* Address review comment and fix Travis errors

* Address review comments

* Hide checked label when empty

* Address review comment
2018-11-09 10:13:44 +01:00
Ian Richardson
cb640c2e71 Convert hui-picture-card to TypeScript/LitElement (#2030) 2018-11-09 10:10:17 +01:00
Paulus Schoutsen
56bdb6e352 Fix fetching sub 2018-11-08 19:32:58 +01:00
Paulus Schoutsen
81e1e5be8f Fix link color in persistent notification (#2023) 2018-11-08 10:31:49 -05:00