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
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
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
c727
42525ae1df
Fix navigation path title ( #1401 )
2018-07-03 14:51:10 -04:00
Paulus Schoutsen
c201a9073f
Fix opening menu triggers column change ( #1400 )
2018-07-03 14:47:36 -04:00
Paulus Schoutsen
ad4814dfad
Use ha-icon when user can set icon ( #1399 )
2018-07-03 14:33:43 -04:00
Paulus Schoutsen
e5c900aec1
Use navigation_path for picture-elements navigation element
2018-07-03 11:13:51 -04:00
Paulus Schoutsen
5cccf4836f
Add navigation_path to picture-glance ( #1397 )
...
* Add navigation_path to picture-glance
* Lint
2018-07-03 10:57:26 -04:00
sbYm
d299166f2a
Fix json detect ( #1391 )
...
* Fix json detect
Content-type is not always "application/json" when using nginx.
eg: application/json; charset=utf-8
* Update hass-call-api.js
* Lint
* Lint 2
2018-07-03 10:17:15 -04:00
Jerad Meisner
c0ae7d50ad
Replace camera-preview card with picture-entity card. ( #1393 )
2018-07-03 09:28:54 -04:00
c727
dc034038c0
P-Elements: Add title to navigation icon ( #1395 )
...
* P-Elements: Add title to navigation icon
...and removed computeDomain()
* Improve code
2018-07-03 05:51:37 +02:00
c727
536b1e7b73
Fix scrollbar issues in vertical stack card ( #1394 )
...
* Fix scrollbar issues in vertical stack card
* Update vstack
2018-07-03 05:51:13 +02:00
Paulus Schoutsen
20d6f6d530
Don't allow toggle if can't toggle. Allow hiding info ( #1389 )
...
* Don't allow toggle if can't toggle. Allow hiding info
* Allow tap_action: toggle
* cleanup
* Lint
2018-07-03 01:55:46 +02:00
Paulus Schoutsen
173cd8126c
Picture Entity to use name instead of titles ( #1388 )
...
Entities have names, states have titles.
2018-07-02 22:39:23 +02:00
Jerad Meisner
918c2ce29e
Love: Update hui-image to use entity instead of state. ( #1386 )
...
* Update hui-image to use entity instead of state.
* Removed old function.
2018-07-02 14:20:16 -04:00
Paulus Schoutsen
66803cd4eb
Add panel mode ( #1383 )
2018-07-02 14:17:48 -04:00
Paulus Schoutsen
66ae61374d
Add navigation element ( #1384 )
...
* Add navigation element
* Lint
* Add missing import
2018-07-02 14:17:23 -04:00
Paulus Schoutsen
cf5460bf58
Add simple picture card ( #1385 )
...
* Add simple picture card
* navigate_path -> navigation_path
2018-07-02 14:16:29 -04:00
Paulus Schoutsen
c868df2718
Only allow state filter for filter card ( #1387 )
...
* Only allow state filter for filter card
* Lint
* Address comments
2018-07-02 14:03:59 -04:00
Paulus Schoutsen
6b8fbd91c6
Use name for entities ( #1380 )
...
* Use name for entities
* Glance: title -> name
2018-07-02 08:44:10 -04:00
Jerad Meisner
06cf03bff0
Fix image filtering when no off state is defined ( #1379 )
...
* Fix image filtering when no off state is defined
* Change Offline to Unavailable.
2018-07-02 02:12:18 +02:00
c727
22ee205807
Love: picture elements: nowrap for buttons ( #1378 )
2018-07-01 21:15:20 +02:00
Marius
e410274684
Lovelace: entity-filter: hide card when entities[] empty ( #1373 )
...
* Implements https://github.com/home-assistant/ui-schema/issues/48
Fixed lint
* Updates based on review
Reset display on new config
Fixed reset as setConfig was not being called
Fixed lint
2018-07-01 12:55:27 -04:00
Paulus Schoutsen
76256699e0
Fix card size calculation stacks ( #1375 )
2018-07-01 12:25:28 -04:00
Paulus Schoutsen
dc5213a79a
Fixes ( #1377 )
...
* Fix legacy wrapper in browsers without native custom elements
* Better error reporting for picture-elements
* Lint
2018-07-01 12:25:00 -04:00
Jerad Meisner
54fcb21917
Love: Allow custom title per entity in entities card ( #1374 )
...
* Allow custom title per entity in entities card
* Change entityConfig to config
* Only pass title to state-cards
2018-07-01 11:28:25 -04:00
Jerad Meisner
1a9af5595f
Love: Added <hui-image> element for handling different image sources ( #1365 )
...
* Added hui-image element. Converted picture-glance and picture-entity.
* Fixed hui-image data bindings
* Hide image if no source. Error message l10n
* Pass entire state object to hui-image
* Renamed isObject function. Fix camera image updating.
2018-07-01 11:26:41 -04:00
c727
5f44009177
Love: Add badges to picture elements ( #1371 )
...
* Love: Add badges to picture elements
* Lint
* Fix toggle text
* Simplify service button config
* Add default for service data
* Lint
2018-06-30 15:52:02 +02:00
Marius
42026f096f
Renamed row and column ( #1370 )
2018-06-30 01:22:55 +02:00
c727
122414e7bd
Love: Set love as default page ( #1368 )
...
* Love: Set love as default page
* Make toggle, move to dev-info
* Typo
2018-06-29 15:56:40 -04:00
Paulus Schoutsen
cdb7a6261e
Random fixes ( #1369 )
...
* Random fixes
* weather card to use legacy wrapper
* Lint
2018-06-29 15:35:46 -04:00
Paulus Schoutsen
bb670b76a9
Migrate cards to use setConfig to get config. ( #1363 )
...
* Experiment with setConfig
* More cleanup
* fix filter card
* Wait for DOM to be done
* 1 line
* Lint
* Lint2
* Lint
2018-06-29 10:54:52 -04:00
Jerad Meisner
05816374a8
Love: Fix config parsing in hui-glance-card ( #1364 )
...
* Fix config parsing in hui-glance-card
* Don't modify config.
2018-06-29 10:20:52 -04:00
c727
5b67a3691a
Love: change keys from "name" to "title" ( #1367 )
...
* Love: change keys from "name" to "title"
* Change action to tap_action
2018-06-29 16:08:04 +02:00
Jerad Meisner
fb2fc9fbbb
Love: Add optional title to hui-glance-card ( #1355 )
...
* Add optional title to hui-glance-card
* Use entity instead of entity_id. Allow both simple and complex entities in glance card config.
* Fix lint errors.
* Make coerceEntitiesToObjects accept single entity or array.
* Fix entities helper function. Add entities validation function.
* Fix conflicts
2018-06-29 05:34:05 +02:00
c727
ee0308849e
Love: cleanup ( #1362 )
...
* Love: cleanup
* Fix
2018-06-29 05:16:01 +02:00
c727
51f169aa13
Love: Add reload button to error screen ( #1360 )
...
* Love: Add reload button to error screen
* Move slot
* Feedback
2018-06-29 05:13:10 +02:00
c727
038f5b644b
Love: Rework PictureEntityCard ( #1359 )
...
* Love: Rework picture-entity-card
* Rework
* Use OFFLINE const
* Add optional title
* Fix issue, lint
2018-06-28 22:36:52 -04:00
c727
3442700e1f
Love: more cleanup ( #1361 )
...
* Love: more cleanup
* Fix
* Lint
2018-06-28 22:30:17 -04:00
c727
07d76739b4
Love: cleanup ( #1358 )
...
* Love: cleanup
* Lint
* Fix CopyPaste
* Change config key names for history
* Restore old card size
* Add function description
* Use createErrorCardConfig
2018-06-28 21:53:56 +02:00
Paulus Schoutsen
d40dea6d3b
Fix auth redirect url ( #1357 )
2018-06-28 14:48:01 -04:00
c727
8bbc8e0bb8
Love: Add column and row card ( #1353 )
...
* Love: Add column and row card
* Lint
* Add row card, also broken CSS
* Add cardSize logic
* Fix CSS
* Working now
* Feedback
* Lint
2018-06-28 04:42:13 +02:00
c727
9e2d311ce6
Hassio: fix scroll issues ( #1354 )
...
* Hassio: fix scroll issues
* Feedback
* Lint
* Lint
* Move to dom
2018-06-28 04:20:16 +02:00