1102 Commits

Author SHA1 Message Date
quthla
e458cf1388 Fix name styling (#1522)
* Fix name styling

* Update hui-glance-card.js

* Demo

* Update demo-hui-glance-card.js

* Update hui-glance-card.js
2018-07-26 00:56:25 +02:00
c727
36ba37c59c
Fix margin for row action buttons (#1520)
* Fix margin for row action buttons

* Also cover controls
2018-07-25 21:13:37 +02:00
c727
1b18315e96 Add icon support for picture glance (#1518)
* Add icon support for picture glance

* Add gallery demo

* Replace icon-button with ha-icon
2018-07-25 11:02:25 +02:00
Jerad Meisner
690252a6ba Added row entity for climate entities. (#1494)
* Added row entity for climate entities.

* Revert to old climate state style.

* Added climate entity to entities-card in gallery.
2018-07-25 10:40:21 +02:00
c727
72390aaadc Add support for CSS imports (#1517)
* Add support for CSS imports

* Abc
2018-07-24 20:31:15 +02:00
c727
7b579c8e7a Fix header toggle for entity objects (#1514)
* Fix header toggle for entity objects

* Finish

* Lint
2018-07-24 16:02:52 +02:00
quthla
b32a6d58f3 Allow empty names (#1515) 2018-07-24 16:01:41 +02:00
Paulus Schoutsen
f7d9aecf47
Allow changing entity id (#1508)
* Allow changing entity id

* _entityId

* Use set properties
2018-07-24 14:07:40 +02:00
c727
201959841c Hide name or state in picture entity (#1511)
* Hide name or state in picture entity

* Lint
2018-07-24 13:54:54 +02:00
c727
5e91fbc54f Glance: replace turn-on with call-service (#1510)
* Glance: replace turn-on with call-service

* Fix demo

* Lint
2018-07-24 13:50:01 +02:00
c727
d1d248ab87 Add call-service row element (#1513) 2018-07-24 13:49:12 +02:00
c727
00bee73bf1 Fix toggle if state = unavailable (#1512) 2018-07-24 10:06:54 +02:00
c727
c375e5900b Fix toggle-able for group row elements (#1507) 2018-07-24 08:42:33 +02:00
c727
dcc47b6b83 Add prefix and suffix for state-label (#1509)
* Add prefix and suffix for state-label

* Feedback
2018-07-24 08:36:09 +02:00
John Arild Berentsen
0aee48cb2c Add ability to set Zwave protection commandclass (#1433)
* Add protection selector

* Review changes

* Naming

* forgot one literal

* Further reveiw changes
2018-07-23 15:31:44 +02:00
c727
22ed241286 Add row divider for entities card (#1503)
* Add row divider for entities card

* Add gallery demo

* Change hr to div, less attributes needed
2018-07-23 10:02:33 +02:00
c727
44ab96d590
Entities card: special row types, weblink (#1493)
* Add special row-cards: weblink

* Fix binding

* Fix yaml

* Lint

* Feedback

* Fix build

* Lint

* Lint
2018-07-23 03:57:42 +02:00
Paulus Schoutsen
bdf26bbccd
Tweaks (#1489)
* Tweaks

* Lint

* No need for copy plugin

* Allow handling more complex service calls

* Missed a state

* Add locks

* Lint

* Add cover entity

* Make generic entity constructor

* Light to handle homeassistant.X services

* Lint

* Fix translations

* final tweaks
2018-07-22 11:41:56 +02:00
c727
97f548a9f1 Custom icons for row cards and glance (#1492)
* Custom icons for row cards

* Remove var fallback

* Add icon support to glance

* Fix glance
2018-07-21 09:04:45 +02:00
c727
6b1d04584e
Improve CSS for entity rows (#1491) 2018-07-21 03:10:42 +02:00
Jerad Meisner
5d7e4322eb Automation and vacuum rows toggleable. (#1490) 2018-07-21 01:42:24 +02:00
Nathan Knotts
bc71019573 ha-cover-controls: handle opening/closing states (#1485)
* ha-cover-controls: handle opening/closing states

* added missing semi-colons

* fixed entityObj reference
2018-07-20 23:00:38 +02:00
Jerad Meisner
06532def08 Add custom elements to picture-elements. (#1482) 2018-07-20 12:04:11 +02:00
Jason Hu
abf85ae19b Only send auth/current_user if new auth is enabled (#1483) 2018-07-20 12:02:30 +02:00
Paulus Schoutsen
61d3d446f4
picture glance: better handle if no title (#1474)
* Better handle if no title

* Simplify code

* Arrays in ifs

* Remove unused method

* Always render the middle div

* Always show both entity divs
2018-07-19 21:18:24 +02:00
Paulus Schoutsen
964c028c72
Tweaks to user flow (#1473)
* Tweaks to user flow

* Mobile layout

* Final tweaks
2018-07-19 10:51:00 +02:00
Jerad Meisner
708447b6f1 Added change password card to profile panel. (#1464)
* Added change password dialog to profile panel.

* Switch change password from dialog to card

* Restore current password verification.
2018-07-19 09:39:56 +02:00
Jason Hu
7e257f6ee9 Display Unnamed User if no name found in user object (#1469)
* Display Unnamed User if no name found in user object

* address review comment
2018-07-19 09:11:21 +02:00
c727
10d44db8e6 Allow views with badges and no cards (#1471) 2018-07-19 08:45:59 +02:00
c727
e84f5c683c
Fix Lovelace docs URL #2 (#1470)
last PR was to false branch xD
2018-07-19 02:16:13 +02:00
c727
8c44e243e1 Separate row entity elements for Lovelace (#1461)
* Separate row entity elements for Lovelace

* Update

* Update

* Add fan

* Add support for last changed

* Feedback

* Feedback2

* Update

* Update

* Fix timer

* Update

* Lint
2018-07-18 17:25:13 +02:00
Paulus Schoutsen
9ab4158e0a
Use callWS helper (#1465) 2018-07-18 17:13:53 +02:00
c727
4c3e039423 Use separate duration for relative time (#1463) 2018-07-18 09:50:31 +02:00
c727
7c5c5ea9b6 Use custom off states in picture glance (#1462) 2018-07-18 09:49:11 +02:00
Jerad Meisner
6db76c8ab4 Refactored element creation out of picture-elements class. (#1446)
* Refactored element creation out of picture-element class.

* Fix navigation element listener.

* Cleanup. Change service-icon -> icon.

* Fixes.

* More fixes.

* More fixes.

* Feedback

* More fixes.
2018-07-18 09:48:27 +02:00
Paulus Schoutsen
90328cfc33
Add an onboarding flow (#1452)
* Add an onboarding flow

* Address comments
2018-07-17 10:05:27 +02:00
Paulus Schoutsen
84b0542fb6
Fix spacing picture glance (#1460) 2018-07-17 10:04:48 +02:00
Paulus Schoutsen
229d167f89
Add current user to hass object (#1451)
* Add current user to hass object

* Add enter key support to login form
2018-07-17 09:25:46 +02:00
c727
5c5a7e50da Remove capitalize from card heading (#1455)
fix: https://github.com/home-assistant/ui-schema/issues/107
2018-07-17 08:45:52 +02:00
c727
bac1c8f630 Make Glance column width configurable (#1456) 2018-07-17 08:44:01 +02:00
Marius
9c66d47afa Fixes picture-glance no longer compatible with entity-filter (#1448)
* fixes https://github.com/home-assistant/ui-schema/issues/101

* Updates based on feedback

* More updates from feedback

* Cleanup
2018-07-17 08:43:20 +02:00
Jason Hu
1f80769d9e Submit form when Enter pressed in new login form (#1459) 2018-07-17 08:38:40 +02:00
c727
8dcda2dae9
Fix translation for weather states (#1454)
we should rename the keys on lokalise before we merge this

fix: #1414
2018-07-17 00:34:46 +02:00
Jason Hu
348b284ba6 Check access token expires before we use it. (#1444)
* Check access token expires before we use it.If we found access token expires, we proactive call refresh token.So that we can avoid uncessary invalid auth error in backend.

* Move expires  calc to fetchToken() and refresToken()

* Address code review comment
2018-07-16 23:11:05 +02:00
Marius
832f4ba6cd Make custom cards work as panel (#1447)
* Make custom cards work as panel

* Fixed some errors and implemented suggestion from comments
2018-07-15 14:05:32 +02:00
Paulus Schoutsen
ed9c73429f
Allow managing users (#1436)
* Allow managing users

* Address comments

* table -> card-content

* Don't close dialog on error
2018-07-13 15:31:22 +02:00
c727
c11cf53f96 Lovelace: add basic support for badges (#1443)
* Lovelace: add basic support for badges

* Lint

* Check in entityId exists in states

* Hide badges container if no badges

* setProperties

* lint
2018-07-13 13:42:34 +02:00
quthla
834528506a Override history names (#1405) 2018-07-13 12:12:50 +02:00
c727
f2c56a624b Glance card: hide name or state (#1442) 2018-07-12 13:56:25 +02:00
c727
6a35fc9eb5
Picture elements: add service-icon (#1439)
* Picture elements: add service-icon

* Default for servie_data

* Lint

* Remove file
2018-07-12 12:34:05 +02:00