2324 Commits

Author SHA1 Message Date
Ian Richardson
8ecfd9780f Convert hui-entities-toggle to TypeScript/LitElement (#2144)
* Convert hui-entities-toggle to TypeScript/LitElement

* Assign types to _callService
2018-11-29 11:52:22 +01:00
Paulus Schoutsen
913cd2b3d4 Automatically detect plants (#2146) 2018-11-29 11:24:30 +01:00
Ian Richardson
c02b7a33fe Resolve warning (#2142) 2018-11-28 21:59:14 -05:00
Bram Kragten
7a0b2060d4 Add delete card func (#2116)
* Add delete card button

* Add delete card button

* fix the non-sense

* lovelace data was moved
2018-11-28 12:34:53 +01:00
Ian Richardson
afe9056725 Combine edit and complete shopping-list calls (#2135) 2018-11-28 10:14:45 +01:00
Zack Arnett
49be2ad013 Unit PAtch (#2134) 2018-11-27 20:49:22 -06:00
Zack Arnett
230ec51de5 Fixes: #2084 : Fix for extra padding (#2133)
* Fix for extra padding

* Easy fix
2018-11-27 21:35:41 +01:00
Zack Arnett
b37ea482d3
Add name variable - Weather Card (#2131)
* Add name variable

* Update to state name
2018-11-27 15:06:51 -05:00
Zack Arnett
bf69c8ce46 Title to Name (#2127) 2018-11-27 20:30:22 +01:00
Zack Arnett
d2741af24b Add name to config (#2128) 2018-11-27 20:26:56 +01:00
Zack Arnett
f04f58ac88 Change Title to Name (#2129) 2018-11-27 20:25:52 +01:00
Zack Arnett
8757dbb664 Plant add name (#2130) 2018-11-27 20:22:53 +01:00
Zack Arnett
ffc7f9706d
Update Aspect Ratio on Map card (#2126)
* Update Aspect Ratio

* Update Card Size
2018-11-27 11:48:41 -05:00
Zack Arnett
4487c3dc1a Removes Height, Light Width and Line Color from Sensor (#2122)
* Sensor fix

* SVG prettified - Use Accent Color only - Dont Calc height

* Prettier
2018-11-27 17:17:59 +01:00
Bram Kragten
97f5d8e7e2 Move lovelace data to /src/data/lovelace.ts (#2119)
* move lovelace data

* move types

* change imports from cards
2018-11-27 10:05:33 +01:00
cdce8p
1cc6e09953 Add html to LitElement.prototype (#2120) 2018-11-26 23:27:00 +01:00
Zack Arnett
3752530f96 Update UI in the config Elements (#2117)
* UpdateUI

* Updating continues

* Update name of file
2018-11-26 21:01:07 +01:00
Ian Richardson
21be35bc46 Conert shopping-list update to WebSockets (#2114) 2018-11-26 14:46:40 +01:00
Paulus Schoutsen
bb8ec4b2ef Bumped version to 20181126.0 2018-11-26 14:39:06 +01:00
Paulus Schoutsen
278ea184cc Update translations 2018-11-26 14:39:01 +01:00
Paulus Schoutsen
5ab419534c
Convert authorize page to lit (#2115)
* Convert authorize page to lit

* Don't use ha-markdown

* Simplify CSS
2018-11-26 14:10:01 +01:00
Paulus Schoutsen
07b65f37db
Add Cloud Webhook management (#2102)
* Add Cloud Webhook support

* Lint

* Tweak text

* Rename it to cloudhook

* Fix final type

* fix type

* Catch null
2018-11-26 14:09:27 +01:00
Paulus Schoutsen
8ad5280501
Document types in fireEvent (#2108)
* Document types in fireEvent

* Fix more types for fireEvent

* Adjust new code to new fireEvent
2018-11-25 20:47:29 +01:00
Bram Kragten
69df6179bb Add dialog to save config (#2100)
* Add dialog to save config

* Change types

* Helper funcs for register dialog

* Clean up

* Migrate config after save

* Clean up

* Unused imports

* Comments

* Missed half...

* cardConfig cant be undefined
2018-11-25 20:09:32 +01:00
Paulus Schoutsen
b939ae6ab4
Fix wrong import (#2106) 2018-11-25 15:18:41 +01:00
Bram Kragten
101a364a83 Type LovelaceConfig -> LovelaceCardConfig (#2103)
* LovelaceConfig -> LovelaceCardConfig

* Typo
2018-11-24 14:03:54 +01:00
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
cbb703e5c1 Bumped version to 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