2529 Commits

Author SHA1 Message Date
Paulus Schoutsen
8f1c75c57b Update translations 2019-01-13 09:37:11 -08:00
Paulus Schoutsen
1c86fbd52c
Set preferred panel right away (#2465) 2019-01-13 09:31:33 -08:00
Bram Kragten
937a939907 Make Lovelace default (#2414)
* Set Lovelace as default

* Remove template

* Make link follow OPT_IN_PANEL
2019-01-13 09:30:25 -08:00
Paulus Schoutsen
7173b16ef3
Fix long press directive (#2464) 2019-01-13 09:15:09 -08:00
Bram Kragten
d738f6e2f6 Rebuild just the card instead of entire view (#2452)
* Rebuild just the card instead of entire view

* Only rebuild card, not view
2019-01-12 23:34:03 -08:00
Paulus Schoutsen
b0d32b5674
upgrade lit (#2458)
* upgrade lit

* Lint
2019-01-12 23:32:53 -08:00
Paulus Schoutsen
0f53b7c832
migrate long press to paper ripple (#2457)
* migrate long press to paper ripple

* Add comment
2019-01-12 15:46:59 -08:00
Bram Kragten
668d4e82ba Fix gauge (#2456) 2019-01-12 14:44:34 -08:00
David F. Mulcahey
963bdcc53c address outstanding items (#2454) 2019-01-12 14:38:26 -08:00
Tommy Jonsson
d34dada9d8 Allow push notifications to suggest its device name (#2446)
* Allow push notifications to suggest its device name

* Lint
2019-01-11 20:35:10 -08:00
yosilevy
5ae599b1b2 RTL support for history timeline (#2444)
* RTL support in history timeline

* RTL support in history timeline
2019-01-11 14:53:23 -08:00
Bram Kragten
ebbd308be6 Thermostat: check if we are attached before getting clientWidth (#2447)
* We need to be attached to get the cleintWidth

* Use isConnected and set _loaded
2019-01-11 12:09:53 -08:00
David F. Mulcahey
6d43c9e86a Expand ZHA configuration panel (#2421)
* node panel

* cleanup

* add entities

* entities split into own element

* cleanup

* add clusters

* cleanup and attributes and commands

* start cluster attributes

* finish cluster attribute interaction

* cluster command panel

* scope cleanup

* fix parseInt

* guards and template cleanup

* cleanup

* cleanup

* fix missing button

* type info

* make names consistent

* cleanup - review comments

* split out fetch attributes command - review comment

* move _computeReadAttributeServiceData - review comment

* move readAttributeValue to zha.ts - review comment

* move fetchCommandsForCluster - review comment

* move fetchClustersForZhaNode - review comment

* move fetchEntitiesForZhaNode - review comment

* style changes - review comment

* cleanup - review comments

* fully sort imports

* use updated vs update - review comment

* remove unnecessary ids - review comment

* remove empty attributes - review comment

* fix read attribute value - review comment

* switch reconfigure to web socket command - review comment
2019-01-11 12:07:58 -08:00
Paulus Schoutsen
e96c9daad6
Correctly wrap weblink entities (#2440) 2019-01-10 16:21:26 -08:00
yosilevy
08f3496818 Force dev panels to LTR even in RTL language to make it usable. Same for logbook. (#2432) 2019-01-10 15:39:41 -08:00
Tommy Jonsson
326931277e Add dismiss functionality to html5 notifications. (#2435)
* Add dismiss function to notifications.

* fix let -> const
2019-01-10 13:46:53 -08:00
Ian Richardson
a2ef8bbe70 🛠️ add resources to lovelace struct (#2439)
* 🛠️ add `resources` to lovelace struct

`resources` are being removed by Raw Config Editor on save

* make resources optional

* Prevent removal of extra keys
2019-01-10 13:33:34 -08:00
Paulus Schoutsen
4bcb51bf5a Merge branch 'master' into dev 2019-01-09 15:29:09 -08:00
Paulus Schoutsen
bda5c3a0c9 Fix version bump 2019-01-09 15:29:01 -08:00
Paulus Schoutsen
e228f60c39 Version bump to 20190109.0 2019-01-09 15:13:52 -08:00
Paulus Schoutsen
67c032c85a
Merge pull request #2429 from home-assistant/dev
2019109.0
2019-01-09 14:39:11 -08:00
Paulus Schoutsen
417ffde3e8 Update translations 2019-01-09 14:37:32 -08:00
Paulus Schoutsen
f3064f0071 Bumped version to 2019109.0 2019-01-09 14:36:55 -08:00
Bram Kragten
e9d912cc87 Remove styleMap for base-unit (#2428) 2019-01-09 14:04:49 -08:00
yosilevy
2517e5ba60 Proper RTL support in weather forecast card (#2424)
* Proper RTL support in weather forecast card

* States panel force left to right since RTL is not usable

* Updated class names and switched div to span
2019-01-09 21:34:24 +01:00
Bram Kragten
64b405dd4d Set min height to thermostat card (#2416)
* Set min height

* Set min height on #root

* Add min-height on firstUpdated and remove after roundSlider is loaded

* Move back to #thermostat
2019-01-08 11:27:01 -08:00
Bram Kragten
ddb050d1fd Change title to name (#2425) 2019-01-08 08:18:44 -06:00
hulkhaugen
3f6a8cac80 Removed excessive bracket in css (#2411)
* Removed excessive bracket in css code

* lint
2019-01-07 10:40:12 +01:00
Bram Kragten
ad113367e6 🛠️ Small fixes to sensor editor (#2415)
* Small fixes to sensor editor

* any -> string | number
2019-01-06 20:06:59 -06:00
David F. Mulcahey
f4f08ab0d1 Config panel for ZHA (#2389)
* zha config panel

* implement issue cluster command

* update layout

* read zigbee attribute service

* set attribute and manufacturer code override

* cleanup

* adjust style and documentation wording

* html cleanup

* ha-call-ws-api-button

* use call-ws-api-button

* fix deprecated syntax - travis error

* emulate new z-wave node info functionality

* start converting to lit

* fix style includes

* fix help toggle

* remove old panel

* cleanup

* cleanup

* convert to lit / ts

* import styles

* types - review comment
2019-01-04 19:11:08 -06:00
John Arild Berentsen
c2a57099d3 Allow for removal of broadcast node in UI (#2390)
* allow for removal of broadcast

* prettier

* prettier
2019-01-03 23:31:30 +01:00
Emil Stjerneman
adf0c6d891 Lovelace alarm panel respects the code_format attribute on the alarm entity (#2379) 2019-01-03 23:09:07 +01:00
Milan V
38a2627227 Fix climate control rounding error (#2375)
* Fix climate rounding error

* Update ha-climate-control.js
2019-01-03 23:07:37 +01:00
Ian Richardson
5a90edc893 thermostat card: follow same step logic as more-info (#2369)
* Follow same step logic as more-info

* Address review comments

* Address review comments

* Address review comments and cleanup
2019-01-03 22:53:55 +01:00
Ian Richardson
88473581c2 UI Editor for entity-button card (#2393) 2019-01-03 22:53:10 +01:00
Bram Kragten
88d23eb9dd Check config on save (#2346)
* Check config on save

Untested...

* views is list of objects, resources not required

* Lint

* Only warn on "# " to prevent warnings on colors

Could miss some comments...

* Improve # check

Warn on # at the start of a line or when followed by white space

* Faster

* Multiline

* Check if # is added

* Also handle paste and just show the warning on every #
2019-01-03 22:46:57 +01:00
Andrey
25c788871f Allow empty name (#2388) 2019-01-03 22:46:14 +01:00
Xus Badia
f272801253 Update favicon-apple-180x180.png (#2385) 2018-12-28 18:22:40 +01:00
Ian Richardson
2e750dc1e2 UI Editor for map card (#2287)
*  UI Editor for `map` card

* Address review comments

* Revert change properly

* Address review comments

* Note to change to interface after LL conversion

* Remove config options if empty

Should apply to other editors

* entitites is required

* cleanup

* cleanup

* Fix for number values

* Name chunk

* Remove zoom default
2018-12-21 13:53:26 +01:00
Paulus Schoutsen
3c5fb6d1ad Update translations 2018-12-19 14:43:12 +01:00
Paulus Schoutsen
32cd683b8a Bumped version to 20181219.0 2018-12-19 14:42:39 +01:00
Paulus Schoutsen
6c029b39e0 Merge branch 'master' into dev 2018-12-19 14:03:44 +01:00
Paulus Schoutsen
7efad04e42
Merge pull request #2367 from home-assistant/20181211-2
20181211.2
2018-12-19 14:02:48 +01:00
Paulus Schoutsen
b6f7781a87 Bumped version to 20181211.2 2018-12-19 13:59:16 +01:00
Paulus Schoutsen
16a147f389 Fix incorrect state display being cached (#2356)
* Fix incorrect state display being cached

* Remove test for cache
2018-12-19 13:59:10 +01:00
Zack Arnett
79b71ed753 Update UI and Add Move Card to a Dialogue (#2282)
* Update UI

* REmove useless import

* Add Notification if saved is done

* Move Register Dialog

* Updates from suggestions

* Updates box shadow on card options

* Update color and viewselection

* Add pointer

* Update Cursor

* Update check next to save

* Comment Updates

* Text area
2018-12-19 13:08:17 +01:00
Paulus Schoutsen
49fa74cc07
Fix incorrect state display being cached (#2356)
* Fix incorrect state display being cached

* Remove test for cache
2018-12-19 13:05:39 +01:00
Ian Richardson
0a2eaec884 Cleanup of picture card editor (#2364)
* Cleanup of `picture` card editor

* Fix `action-editor`
2018-12-18 20:40:51 +01:00
Ian Richardson
4c5d3138c1 UI Editor for picture card (#2240)
* UI Editor for `picture` card

This is a WIP.
* How should I handle service data? It's kind of freeform and I don't really have a good idea on what I should do.
* in action-editor I have two issues for `_navigation_path` and `_service` have TS errors saying the property doesn't exist on `ToggleActionConfig`. Not sure why that is the only type it is looking at. Should I be checking the type somewhere?

* Remove `id`

* Cleanup. Service-data still WIP

* Could use some help on service_data

* Perhaps a better/more structured method?

* Revert "Perhaps a better/more structured method?"

This reverts commit 1e1a1e44c16a18c5ffc380347cffd01e7fad52f9.

* Just playing around

* MVP doesn't include service data

* Address review comments

* Address review comments

* Name chunk and remove when unused

* Remove `more-info` action option

* Address review comments
2018-12-18 17:25:56 +01:00
Paulus Schoutsen
5e1cd389b3
Name all chunks (#2363) 2018-12-18 17:14:33 +01:00