Commit Graph

5407 Commits (271eb614cd31d2bc24107cdc41b64b9adf64d05c)

Author SHA1 Message Date
Thomas Lovén eba3c535bf Fix unclickable light in light-card. Fix #3679 (#3680) 2019-09-10 10:22:26 -07:00
Ian Richardson 34d50f0c90 Add image option to glance card entities (#3673)
* Add image option to glance card entities

Closes https://github.com/home-assistant/home-assistant-polymer/issues/3021

* properly order override
2019-09-09 22:14:12 -07:00
Ian Richardson 9eae637814 Only allow admin to edit UI config (#3674)
Closes https://github.com/home-assistant/home-assistant-polymer/issues/3084
2019-09-09 22:13:45 -07:00
Ian Richardson a29d598027 revert stop effect change (#3672)
Appears to be platform specific
2019-09-09 20:39:21 -07:00
Erik Montnemery 5448cbf1c5 Add device actions to automation editor. (#3637)
* Add device actions to automation editor.

* Copy automation on selection

* Fix types

* Remove device from device action schema
2019-09-09 12:01:58 -07:00
Ian Richardson f2999c30f3
Filter null badges (#3645)
* Convert weather-forecast to LitElement

Part of https://github.com/home-assistant/home-assistant-polymer/issues/2095

Not sure how RTL works and how to apply it.

Also, thinking I should update if the forecast changes and not just the state. Input?

* Revert "Convert weather-forecast to LitElement"

This reverts commit e1893b0a83.

* Filter out null badges

Closes https://github.com/home-assistant/home-assistant-polymer/issues/2974

* address review comments

* Update hui-view.ts
2019-09-09 11:31:20 -05:00
Ian Richardson 8a710202f1 Stop effect in more-info-light (#3636)
* Convert weather-forecast to LitElement

Part of https://github.com/home-assistant/home-assistant-polymer/issues/2095

Not sure how RTL works and how to apply it.

Also, thinking I should update if the forecast changes and not just the state. Input?

* Revert "Convert weather-forecast to LitElement"

This reverts commit e1893b0a83.

* Add stop effect button

Closes https://github.com/home-assistant/home-assistant-polymer/issues/3619

* address review comments

* cleanup
2019-09-09 14:10:20 +02:00
Bram Kragten 11f917d5f8
Add vibration (#3588)
* Add vibration

I don't have a device that supports vibrate, and can't find a list of patterns, maybe someone can make some nice patterns?

* listen event

* Mixin

* move logic to mixin
2019-09-09 14:08:52 +02:00
Bram Kragten 2d8d6119bd
Merge pull request #3663 from home-assistant/remove-babel
Remove babel
2019-09-09 09:54:17 +02:00
Paulus Schoutsen 1a5ae99c42 Update ESLint 2019-09-08 23:51:30 -07:00
Paulus Schoutsen c4d888f060
Whitelist tags/attributes instead of allow-all (#3657) 2019-09-08 23:47:28 -07:00
Paulus Schoutsen 594ee7ce9b Update build scripts 2019-09-08 23:39:37 -07:00
Paulus Schoutsen 7f10bcbfd1 Drop Babel 2019-09-08 23:39:22 -07:00
Paulus Schoutsen fe31f532b6
Update ESLint (#3664) 2019-09-08 23:38:58 -07:00
Bram Kragten 7e7158b816 Pick unused entities for lovelace cards (#3614)
* Pick unused entities for lovelace cards

* Type

* Table layout for unused entities

* properties

* remove unused import

* mwc-button

Need to find a way to set the color

* add icons to pick view dialog

* Comments

* Lint

* Restore unused entities for yaml mode

* Remove _elements

* decorators, types, comments

* flexbox + comments

* remove unused import
2019-09-08 13:43:28 -07:00
dependabot[bot] e19c210af2 Bump jquery from 3.3.1 to 3.4.0 (#3652)
Bumps [jquery](https://github.com/jquery/jquery) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.3.1...3.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-08 11:58:11 -07:00
dependabot[bot] a2f23c068b Bump lodash.mergewith from 4.6.1 to 4.6.2 (#3654)
Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-08 11:55:12 -07:00
dependabot[bot] 205e12150f Bump lodash.template from 4.4.0 to 4.5.0 (#3653)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-08 11:55:03 -07:00
dependabot[bot] b7ea66c30f Bump eslint-utils from 1.3.1 to 1.4.2 (#3651)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-08 11:54:37 -07:00
Paulus Schoutsen 11ac8e4b08
Convert preact to tsx (#3643) 2019-09-08 11:54:17 -07:00
Bram Kragten d5f0ae8ae2
Merge pull request #3655 from home-assistant/dev
20190908.0
2019-09-08 20:53:20 +02:00
Bram Kragten 4c37c76a8f Merge branch 'dev' 2019-09-08 20:48:25 +02:00
Thomas Lovén cdfc3f8faf Use new round sliders for light card (#3634)
* Use new round sliders for light card

* Remove _roundSliderstyle
2019-09-08 11:47:36 -07:00
dependabot[bot] 44ca37c1dc Bump mixin-deep from 1.3.1 to 1.3.2 (#3650)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-08 11:44:34 -07:00
dependabot[bot] 535308bf96 Bump js-yaml from 3.13.0 to 3.13.1 (#3649)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-08 11:44:27 -07:00
Bram Kragten 6328f15032 Bumped version to 20190908.0 2019-09-08 20:16:10 +02:00
Erik Montnemery 2f96a096f7 Device automations: Rename name to entity_name, introduce subtype (#3644) 2019-09-08 20:12:56 +02:00
Ian Richardson cbd01f2d68
Create more-for timer with action buttons (#3621)
* Create more-for timer with action buttons

Closes https://github.com/home-assistant/home-assistant-polymer/issues/3594

* center actions

* Address review comments

* address review comments
2019-09-06 22:13:05 -05:00
Paulus Schoutsen 2ff4d0fa4b
Do not allow SVG by default (#3640) 2019-09-06 17:36:28 -07:00
Shahen Hovhannisyan 3aba2e3408 feat(translations): Added Armenian language (#3616)
* feat(translations): Added Armenian language

* fix(translations): Corrected nativeName

* fix(armenian/hy): Corrected language code

* chore(translationsMetadata): Sorted by alphabetic order
2019-09-06 14:11:27 -07:00
Mauricio Bonani b473c9c2aa Upgrade MDI icons to 4.3.95 (#3639)
* Upgrade MDI icons to 4.3.95

* Upgrade MDI icons to 4.3.95
2019-09-06 14:37:51 -05:00
Bram Kragten b97e24283c
Clarify title of the dialog (#3629)
* Clarify title of the dialog

* translate
2019-09-06 16:36:58 +02:00
Ian Richardson c8d3293ae9 Throttle updates for entity-filter (#3551)
* Throttle updates for entity-filter

* throttle element config sets

* apply changes

* apply review changes
2019-09-06 11:48:39 +02:00
Ian Richardson 8e0c39e451 Convert weather-forecast to LitElement (#3623)
* Convert weather-forecast to LitElement

Part of https://github.com/home-assistant/home-assistant-polymer/issues/2095

Not sure how RTL works and how to apply it.

Also, thinking I should update if the forecast changes and not just the state. Input?

* Revert "Convert weather-forecast to LitElement"

This reverts commit e1893b0a83.

* Convert weather-forecast to LitElement

Part of https://github.com/home-assistant/home-assistant-polymer/issues/2095

Not sure how RTL works and how to apply it.

Also, thinking I should update if the forecast changes and not just the state. Input?

* address review comments and add types

* address review comments
2019-09-05 20:26:35 -07:00
Ian Richardson 46968bb565 Timestamp unavailable (#3635)
* Convert weather-forecast to LitElement

Part of https://github.com/home-assistant/home-assistant-polymer/issues/2095

Not sure how RTL works and how to apply it.

Also, thinking I should update if the forecast changes and not just the state. Input?

* Revert "Convert weather-forecast to LitElement"

This reverts commit e1893b0a83.

* Don't try to show unavailable timestamp

Closes https://github.com/home-assistant/home-assistant-polymer/issues/2956
2019-09-05 16:01:24 -07:00
Erik Montnemery 011219b727 Add device conditions to automation editor. (#3595)
* Add device conditions to automation editor.

* Fix inheritance shizzle

* Make device automation lists simple lists, not dicts

* Really make device automation lists simple lists

* Add few types

* Fix types
2019-09-05 15:43:14 -07:00
Bram Kragten 9205837b67 Create hui-views-list component (#3631)
And use for move card view
2019-09-05 11:17:19 -07:00
Bram Kragten 4eed3508ce Update cloud-google-pref.ts (#3628) 2019-09-05 09:47:39 -07:00
Bram Kragten 460a56aa0a Fill example data for services in dev tools (#3596)
* Fill example data

* Align indents

* Comments
2019-09-05 06:57:17 -07:00
Bram Kragten 3927eb53ac Fix translations (#3626) 2019-09-05 06:53:27 -07:00
Ian Richardson 2a596666c8 Move light brightness below icon (#3607)
* Move light brightness below icon

Closes https://github.com/home-assistant/home-assistant-polymer/issues/3606

* remove border and white text coloring
2019-09-04 12:57:06 -07:00
Bram Kragten 0008a100f4 Fill state details when entity selected (#3615) 2019-09-04 10:05:49 -07:00
David F. Mulcahey 164e433592 ZHA device info dialog (#3529)
* zha device info dialog

* cleanup

* quick hack to make this work

* remove hack

* add mixin for zha device info dialog

* fix potential exception

* cleanup

* review comments

* lint

* remove unused import

* lint

* review coments

* review comments

* translations and css
2019-09-04 09:40:47 -07:00
Bram Kragten abb9190c98
20190904.0 (#3613)
* Alarm codes (#3566)

* Handle alarm codes from keyboard input

Closes https://github.com/home-assistant/home-assistant-polymer/issues/2602

* remove friendly_name changes

* remove unnecessary TS check

* Update azure-pipelines-release.yml for Azure Pipelines

* Don't remove `hvac_action` from history attributes (#3570)

So it can be used to plot a fill when active in the graph.

* Update the map when making config changes (#3568)

* Add haptic feedback to handle click (#3569)

* Filter camera service entities (#3583)

Closes https://github.com/home-assistant/home-assistant-polymer/issues/3582

* Notification drawer RTL support (#3580)

* add exceptional icon (#3572)

* Add options to badges (#3552)

* Add options to badges

name
icon
entity_picture

* lint

* lint

* rename entityPicture to image

* Align styling cast buttons (#3579)

* Align styling cast buttons

* Split dev constants

* Ignore dev_const

* Update README.md

* Move lovelace background settings to theme (#3561)

* Move lovelace background settings to theme

While being backwards compatible

* Also update cast

* Don't allow overwrite of english lang (#3590)

* Update hui-card-options.ts (#3591)

* Fix display of no triggers text if no device is selected or device has no triggers (#3592)

* Fix timing issue in external auth (#3587)

* Fix timing issue in external auth

* add await 0

* Show toast on successfull save (#3576)

* Show toast on successfull save

We need to make a list of places where this could benefit the user experience.

* Helper method

* Rename

* handle unavailable lights (#3549)

* handle unavailable lights

* unavailable overlay

* extract unavailable overlay

* Option to display last changed in glance-card (#3584)

* Option to display last changed in glance-card

Closes https://github.com/home-assistant/ui-schema/issues/110

* move show_last_changed to entity-level

* address review comments

* Filter alerts in services (#3598)

Closes https://github.com/home-assistant/home-assistant-polymer/issues/3597

* Add exceptional in weather to translations (#3599)

* Add MQTT subscribe to dev tools (#3589)

* Add mqtt subscribe to dev tools

* Update mqtt-subscribe-card.ts

* Comments

* type

* Wrap long attributes in more-info-default (#3601)

Can likely be applied in many other places

Closes https://github.com/home-assistant/home-assistant-polymer/issues/2811

* Bumped version to 20190904.0 (#3612)
2019-09-04 14:21:03 +02:00
Bram Kragten c4fca84ded
Bumped version to 20190904.0 (#3612) 2019-09-04 13:51:52 +02:00
Ian Richardson 48a010563e Wrap long attributes in more-info-default (#3601)
Can likely be applied in many other places

Closes https://github.com/home-assistant/home-assistant-polymer/issues/2811
2019-09-04 09:37:21 +02:00
Bram Kragten 4378904243 Add MQTT subscribe to dev tools (#3589)
* Add mqtt subscribe to dev tools

* Update mqtt-subscribe-card.ts

* Comments

* type
2019-09-03 15:57:54 -07:00
MatthewFlamm ba66bf88d3 Add exceptional in weather to translations (#3599) 2019-09-03 22:51:46 +02:00
Ian Richardson 5282a6504a Filter alerts in services (#3598)
Closes https://github.com/home-assistant/home-assistant-polymer/issues/3597
2019-09-03 22:23:10 +02:00
Ian Richardson 4f3abe1025 Option to display last changed in glance-card (#3584)
* Option to display last changed in glance-card

Closes https://github.com/home-assistant/ui-schema/issues/110

* move show_last_changed to entity-level

* address review comments
2019-09-03 22:12:21 +02:00