14765 Commits

Author SHA1 Message Date
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
Paulus Schoutsen
b5ff52febf Version bump to 20180716.0 2018-07-16 08:47:24 +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
89f9589084 Version bump to 20180713.0 2018-07-13 15:33:00 +02:00
Paulus Schoutsen
ed0d0ab944 Update translations 2018-07-13 15:32:37 +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
c727
1b262f7cea Picture glance: introduce DOMAINS_TOGGLE (#1440)
* Picture glance: introduce DOMAINS_TOGGLE

* Use set instead of array
2018-07-12 11:58:11 +02:00
c727
c5fd32afac Glance: add toggle and turn_on as action (#1438)
* Glance: add toggle and turn_on as action

* Lint
2018-07-12 09:08:54 +02:00
Jerad Meisner
19e58c775e Add image type for picture-elements card. (#1428)
* Add image type for picture-elements.

* Rebased master. Move overflow rule to parent.

* Cleaned up click handler.
2018-07-12 08:56:53 +02:00
Paulus Schoutsen
c90a3dcdfd Version bump to 20180710.0 20180710.0 2018-07-10 11:58:39 +02:00
Jerad Meisner
5df758c0b2 Add configurable filter and state_filter to hui-image. (#1423)
* Add configurable filter and state_filter to hui-image.

* Rename state -> stateObj.

* Cleanup

* Remove unnecessary CSS

* Use placeholder for broken images.

* Update broken image
2018-07-10 11:37:46 +02:00
Jason Hu
77c65d43ae Add password field support to ha-form (#1418)
* Add password field support to ha-form

* Lint

* Load ha-iconset-svg
2018-07-10 11:20:11 +02:00
Paulus Schoutsen
dbb6a8e6d4
Fix when not using oauth (#1434) 2018-07-10 10:49:51 +02:00
Paulus Schoutsen
89ab6a7d5d Add release drafter 2018-07-10 10:21:24 +02:00
Paulus Schoutsen
c378eda17b Version bump to 20180709.0 2018-07-09 18:26:24 +02:00
Paulus Schoutsen
133d198e7c
Make Lovelace filter card more robust (#1431)
* Make Lovelace filter card more robust

* Update hui-entity-filter-card.js
2018-07-09 18:25:00 +02:00
Paulus Schoutsen
2e4ddebcda
Use IndieAuth for client ID (#1427)
* Use IndieAuth for client ID

* Lint
2018-07-09 18:24:49 +02:00
Jerad Meisner
13819937a7 Show more-info for media_players in picture-glance. (#1429)
* Show more-info for media-players in picture-glance.

* Cleanup
2018-07-09 18:21:47 +02:00
c727
b89ad9b217
Fix language detection for country codes (#1426)
* Fix language detection for country codes

navigator.languages = ["de-DE"],  navigator.languages = "de-DE" was detected as en before

* Use for each

* Use for of
2018-07-09 14:43:36 +02:00
Jerad Meisner
e51177b3c2 Fix picture-glance crash when state unavailable. (#1425)
* Fix picture-glance crash when state unavailable.

* Replace this.hass with hass, available check also for dialog-entities

* Lint
2018-07-08 23:59:16 +02:00
Jerad Meisner
bb7dc76996 Open more info for camera in picture-glance card. (#1424) 2018-07-08 19:30:11 +02:00
Paulus Schoutsen
274f8e1b64 Version bump to 20180708.0 2018-07-08 17:24:53 +02:00
Paulus Schoutsen
d1d3ff9013 Update translations 2018-07-08 17:24:36 +02:00
quthla
c39b6bb665 Fix Lovelace (#1420) 2018-07-08 17:19:55 +02:00
Paulus Schoutsen
52f2c29726
Cleanup the webpack config (#1417)
* Cleanup the webpack config

* Typo
2018-07-08 17:16:19 +02:00
c727
b0f29744bf Lovelace map: hide overflow, reset focus button (#1421)
* Lovelace map: hide overflow, reset focus button

* Increase margin for better clicking
2018-07-08 15:03:56 +02:00
c727
c17f390f58
State card lock (#1419)
* Add state-card-lock

* Cleanup

* Feedback

* Lovelace: Exclude covers and locks from header toggle
2018-07-08 03:24:22 +02:00
quthla
f58c612018 Lovelace custom ui (#1404)
* Lovelace custom ui

* Allow ForOf

* Move code
2018-07-07 21:04:11 +02:00
c727
d96c5f6bde
Don't modify stateObj (#1410)
* Don't modify stateObj

* Lint
2018-07-07 13:25:06 +02:00
Jerad Meisner
e649d37c05 Love: Added map card (#1412)
* Added map card

* Prefer arrow functions.

* Fix lint errors.

* Extract Leaflet setup. Debounce events. Cleanup.

* Cleanup.

* Add disconnectedCallback. More cleanup.
2018-07-07 05:36:01 -04:00
Jerad Meisner
594c1d6615 Don't show more info for weblinks. (#1416) 2018-07-07 05:35:03 -04:00
c727
10009eea2e Lovelace: Style view backgroud (#1408)
* Lovelace: Style view backgroud

based on: #1403

fix: https://github.com/home-assistant/ui-schema/issues/30

```yaml
background: center / cover no-repeat url("https://images.pexels.com/photos/977736/pexels-photo-977736.jpeg?auto=compress&cs=tinysrgb&h=750&w=1260")

background: radial-gradient(crimson, skyblue)

background: orange
```

* Reset background if not defined

* Simplify

* Lint

* Add global backround

* Fix backround in unused entities

* Lint
2018-07-06 15:12:43 -04:00
Hmmbob
cb60904912 Replace Fitbit Config Screenshot (#1411)
Fixes https://github.com/home-assistant/home-assistant/issues/15235
2018-07-06 15:10:01 -04:00
c727
ddd37f63a0
Remove line-height 0 from ifram card (#1413) 2018-07-06 02:25:17 +02:00
Jerad Meisner
d71a80c4f8 Love: Rework layout to use static sized view area (#1403)
* Rework view layout.

* Don't edit ha-app-layout

This reverts commit 7b32161

* User classList.toggle instead of attribute binding.

* Change view to a div.
2018-07-05 11:27:28 -04:00
c727
6b10eeb1e9 Hassio: Add button to change hostname (#1406)
* Hassio: Add button to change hostname

* Lint

* Lint
2018-07-04 22:49:29 -04:00
Paulus Schoutsen
e3d82f9e37 version bump to 20180704.0 2018-07-04 11:57:58 -04:00
c727
6739c88428
Add a button to show new entities (#1390)
* Add a button to show new entities

* Fix copy paste

* Test

* Update

* To-do: Menu CSS

* Set _curView to -1

* Lint

* Feedback

* Fix menu

* Feedback
2018-07-04 04:44:13 +02:00