9984 Commits

Author SHA1 Message Date
John Arild Berentsen
49a5d922fc Zwcp small fixes, style, refactor etc. (#1570)
* Fix promise errors

* Style, fixes and refactors

* Missed some files

* Short key
2018-08-16 14:18:50 +02:00
Paulus Schoutsen
a960084438
Include ES5 version of hass-icons (#1574) 2018-08-16 13:39:43 +02:00
Jason Hu
8ae44e6f7f Fix stateObj.attributes.entity_id null issue (#1572) 2018-08-16 10:16:34 +02:00
Paulus Schoutsen
95ea220936 Fix build 2018-08-15 12:30:45 +02:00
Paulus Schoutsen
7ffdb3ddc7 Use ha toast for frontend notification 2018-08-15 10:48:23 +02:00
Jason Hunter
decbbc9acd Media Player: Standardize computePlaybackControlIcon (#1571)
* standardize computePlaybackControlIcon and add play/pause icon for UNKNOWN state

* fix linting errors
2018-08-15 10:45:36 +02:00
Paulus Schoutsen
283668ef18
Fix disconnected notification (#1569) 2018-08-13 21:22:23 +02:00
Paulus Schoutsen
310299367b
Ask to store auth (#1568)
* Ask to store auth

* Reorg auth
2018-08-13 21:10:39 +02:00
Paulus Schoutsen
63c7c55843
Cleanups (#1566)
* Cleanup core.js

* Add ha-toast

* Lint

* Remove unused import
2018-08-13 15:48:54 +02:00
Jerad Meisner
4bc83b01d3 Remove _hiddenState method. (#1557)
* Remove _hiddenState method since it always has the same result.

* Hide state when row element is narrow. Add input_number row to gallery.
2018-08-13 09:42:09 +02:00
Paulus Schoutsen
c39417c93d
Move user settings to profile page (#1560) 2018-08-11 08:46:16 +02:00
Paulus Schoutsen
1b2b62f04c
Reorg root (#1559)
* Extract element from entrypoint

* Reorg root

* Extract more

* Lint

* Extract connection

* Extract notification

* Lint

* Also split out more info dialog

* Consolidate dynamic element creation
2018-08-11 08:45:11 +02:00
Jerad Meisner
1a31855fc8 Right-align climate row state display. (#1558) 2018-08-10 08:22:58 +02:00
Paulus Schoutsen
f4e92dedff Fix links to dev tools
Fixes #1556
2018-08-09 23:13:33 +02:00
John Arild Berentsen
85d6be64cc Remove zwave rename functions (#1553) 2018-08-09 11:47:38 +02:00
Jason Hu
033e058745 Fix access token expires issue (#1554) 2018-08-09 11:17:40 +02:00
Paulus Schoutsen
1cbe0b7b9f
Don't put components in entrypoint (#1548)
* Don't put components in entrypoint

* Remove extra deps
2018-08-07 23:11:57 +02:00
John Arild Berentsen
e048060c72 Fix wrong targetnode and nonupdating othergroupnodes (#1541) 2018-08-06 10:40:31 +02:00
Paulus Schoutsen
a9f29a3151
Fix custom panel include (#1539) 2018-08-04 15:15:44 +02:00
Jason Hu
50f417a7e2 Fix dropdown in new login form (#1538) 2018-08-04 15:05:44 +02:00
Marius
b432324159 Fixed conditional card state on 1st render (#1537)
* Fixed conditional card state on 1st render

* Moved method to correct location
2018-08-03 13:03:28 +02:00
Conrad Juhl Andersen
255ea41648 Update state-card and more-info card to support new methods. (#1532)
* Update state-card and more-info card to support new start and pause methods

* Revert some changes

* fixed checking the same thing twice
2018-08-03 11:23:28 +02:00
Jason Hu
6bcfdfaaf8 Support for voluptuous-serialize 2.0.0 (#1529) 2018-08-02 17:03:26 +01:00
Paulus Schoutsen
c537a8d389
Use correct keys for localization. (#1533) 2018-08-02 13:17:41 +01:00
Jerad Meisner
716e505c88 Fixed passing service_data to call-service-button. (#1531) 2018-08-02 13:12:24 +01:00
Alexei Chetroi
cc652a9476 allow 'same-origin' credentials for fetch() (#1530) 2018-08-02 13:11:53 +01:00
Conrad Juhl Andersen
db310646b7 Vacuum: Added support for STATES (#1497)
* Changed vacuum state-card

* Stupid copy/paste error

* Added support for vacuum in lovelace

* Implement backwards compat.

* Remove lovelace changes

* Added new lovelace

* Updated lovelace code to reflect changes in entity

* Hopefully fix me being bad at git?

* even more fixes

* remove lovelace for now

* Fixed styling errors

* fix styling

* Fallback to toggle

* Fixed errors

* 🐫

* Updated ui

* fix lint error

* Added error to translation

* Added translations

* Removed a comma

* Added the last translations

* Support translation for actions

* Styling

* abcd, removed states from ui.card.vacuum, and moved actions to ui.card.vacuum.actions

* abcd and use this._interceptable

* Removed unused import

* _computeLabel(state, interceptable)
2018-07-27 16:03:27 +02:00
Paulus Schoutsen
a8ce5e3e25
Add profile badge to sidebar header (#1525)
* Add profile badge to sidebar header

* Lint

* Update ha-sidebar.js

* Address comments
2018-07-27 09:12:14 +02:00
c727
7ca7d3e12c Add conditional card for Lovelace (#1524)
* Add conditional card for Lovelace

* Make it work

* Fix cardSize

* Lint

* Check if visible in cardSize

* Fix

* Add demo, remove visible in cardSize

* Check if undefined
2018-07-27 08:37:09 +02:00
Jerad Meisner
be7fb50f8c Hide change password card for non-homeassistant auth_providers. (#1526) 2018-07-27 08:27:59 +02:00
c727
fdbaa3908a Try to fix history graph for lovelace (#1523)
* Try to fix history graph for lovelace

* Reset interval

* Sort

* Lint
2018-07-26 20:16:23 +02:00
Paulus Schoutsen
6cbca6d88a
Use webpack plugin to generate HTML (#1521)
* Use webpack plugin to generate HTML

* Generate index.html

* Remove unused packages
2018-07-26 09:30:03 +02:00
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