8368 Commits

Author SHA1 Message Date
Paulus Schoutsen
5ede26f162 Extract empty image 2018-05-18 15:12:24 -04:00
Paulus Schoutsen
960bdc0c9b Remove hassCallApi from window 2018-05-18 15:01:33 -04:00
Paulus Schoutsen
e57d9f7751
Add websocket helpers to polymer (#1187)
* Add websocket helpers to polymer

* Lint

* Upgrade to home-assistant-js-websocket@2.0.0
2018-05-18 13:25:01 -04:00
cdce8p
ba3670c5db Fix fan rotation attributes (#1159) 2018-05-18 11:14:59 -04:00
Paulus Schoutsen
e1c9f3deea Everything through navigate mixin 2018-05-17 18:20:23 -04:00
Paulus Schoutsen
bc27f854f1
More cleanup (#1185)
* More cleanup

* Set up correct urls authorize.html

* Fix polymer lint

* Remove reference to bower

* Tweak uglify settings
2018-05-17 17:51:07 -04:00
Paulus Schoutsen
cb0db95abe
Build hassio panel (#1184)
* Fix hass.io panel

* Add develop scripts

* Build hassio on Travis
2018-05-16 23:03:48 -04:00
Paulus Schoutsen
8ac08bc802 Remove unused import helper 2018-05-16 21:33:39 -04:00
Paulus Schoutsen
f70c0aea6c
Org files (#1183)
* Organize files

* Import EventsMixin

* Import NavigateMixin

* Dissolve window.hassMixins

* Apply ElementMixin when we use it

* Update tests to point at right dir

* Eslint

* Clean

* Update mixins inside hassio

* Update lint command"

* Fix polymer lint
2018-05-16 13:47:34 -04:00
Paulus Schoutsen
1971223ad3
Code split voice and more info dialog out (#1182) 2018-05-16 09:38:01 -04:00
Paulus Schoutsen
3fa9896543 computeStateDomain instead of computeDmoain 2018-05-16 09:20:25 -04:00
Paulus Schoutsen
405cb36904 Fix imports 2018-05-16 08:54:48 -04:00
c727
0c6f8c34fb
P3: Replace hassUtil with imports (#1181)
* P3: Remove get is()

* P3: Replace hassUtil with imports

* Remove hass-util imports

* Fix errors
2018-05-16 14:03:04 +02:00
Paulus Schoutsen
23a2a479a5
Remove rollup (#1179)
* Remove rollup

* Fix build

* Add copy webpack plugin

* Touch service worker

* Remove unused ha-config-js-.js
2018-05-16 07:54:29 -04:00
c727
5a16095270 P3: Remove get is() (#1180) 2018-05-16 07:06:07 -04:00
Paulus Schoutsen
658b349755 Use url path instead of component name for path 2018-05-15 13:38:05 -04:00
Paulus Schoutsen
a4afc2e37a
Polymer 3 modulize (#1154)
* Version bump to 20180510.1

* Fix hass util

* Fix translations

* Bye paper-time-input

* Add webpack config

* Add webpack to package.json

* Fix translation import

* Disable web animations polyfill bad import

* Disable importHref import

* Update webpack config to build authorize.js

* Build translations json

* Build frontend correctly

* Run eslint --fix

* Load markdown JS on demand (#1155)

* Add HTML imports (#1160)

* Fix localize (#1161)

* Fix Roboto in build (#1162)

* Load web animations polyfill (#1163)

* P3: Fix chart js (#1164)

* P3: Fix Chart JS

* Update timeline package

* P3: panel resolver (#1165)

* WIP

* Initial importing of panels

* Fix panel resolver

* Fix automation and script editor (#1166)

* Expose Polymer and Polymer.Element on window (#1167)

* Remove unused import

* eslint --fix

* Es5 build (#1168)

* Build for ES5

* Fix build_frontend

* Remove stale comment

* Migrate to use paper-material-styles (#1170)

* Send parsed date to history/logbook (#1171)

* Fork app storage behavior (#1172)

* Add paper input with type time (#1173)

* Fix authorize

* Lint

* Sort imports

* Lint

* Remove eslint-html

* Do not lint authorize.html

* Fix polymer lint

* Try chrome 62 for wct

* P3: Add patched iconset (#1175)

* Add patched iconset

* Lint

* Test with latest Chrome again

* Use less window.hassUtil

* Teporarily use my fecha fork

* Import correct intl.messageFormat

* Update wct-browser-legacy to 1.0.0

* Include polyfill in right place

* Fix IntlMessageFormat

* Fix test not having a global scope

* Rollup <_<

* Fork app-localize-behavior

* Disable wct tests

* Lint
2018-05-15 13:31:47 -04:00
Paulus Schoutsen
3b7a206cec
Add an authorize page for authentication (#1147)
* Use authorize page if auth provider

* Add webcomponent polyfill

* More fixes

* ES5 fix

* Lint

* Use redirect_uri

* upgrade uglify to fix tests?

* Update browsers used for testing
2018-05-10 14:25:36 -04:00
Paulus Schoutsen
912969111f
Move all of hassUtil to JS (#1153)
* Move all of hassUtil to JS

* Fix tests
2018-05-09 21:33:31 -04:00
c727
8ecc41388a Fix issues with new weather card (#1149)
* Fix issues with new weather card

* New line
2018-05-08 18:14:29 -04:00
cdce8p
6f738510fa Added sensor device_class 'light' (#1143)
* Added sensor device_class 'light'

* Changed icon

* Changed device_class name
2018-05-05 09:37:55 -04:00
Boyi C
de55c13355 Fix chart not updating #1104 (#1139) 2018-05-04 16:04:07 -04:00
Paulus Schoutsen
06341edc49 Fetch camera image via websocket connection (#1136)
* Fetch camera image via websocket connection

Lint

Cleanup

* setProperties
2018-05-03 22:04:25 +02:00
Paulus Schoutsen
9fc3d9d019 Fetch media player image from websocket (#1137) 2018-05-03 22:03:48 +02:00
Malte Franken
3e90db5fa3 Allows to define a custom "more info" dialog per entity (#1128) 2018-04-29 15:01:14 -04:00
c727
30555eda88
Remove Hassbian panel (#1132) 2018-04-29 18:08:03 +02:00
c727
ac38fdb9df Fix plant card batteryLvl 100 icon (#1130)
* Fix plant card batteryLvl 100 icon

* Update ha-plant-card.html
2018-04-28 19:29:36 -04:00
Paulus Schoutsen
4c6d9602ae
Remove zoom plugin (#1104) 2018-04-27 14:09:25 -04:00
c727
811d99b68c Rework plant card (#1123)
* Rework plant card

* Lint

* Fix updates for battery icon
2018-04-27 10:26:34 -04:00
c727
a983a5dbc5 Weather card without chart (#1117)
* Weather card without chart

* Lint

* Add iron-icon

* Add night icon and translation

* More translations

* Lint

* Feedback

* More Flexbox KungFu

* Finishing

* Use hass lang instead of browser lang

* Add more info card

* Lint

* Improve support for other providers

* Support non-daily forcasts

* Here we go
2018-04-26 17:16:02 -04:00
NovapaX
e1b924a154 Update more-info-media_player.html (#1126)
Fixes https://github.com/home-assistant/home-assistant/issues/14098
2018-04-26 21:57:38 +02:00
c727
86db23a957 Add translation for script and scene card (#1119)
* Add translation for script and scene card

* appliesMixin

* Change script button text to "execute"
2018-04-23 13:25:48 -04:00
Otto Winter
a22b62cf2a Add Sensor device_class support (#1115)
* Add Sensor Device Class Support

* ES6
2018-04-22 23:37:26 -04:00
Otto Winter
db2f588e86 Fix unavailable state icon (#1118) 2018-04-22 18:35:59 +02:00
c727
eafd7fb296
Update more-info-updater.html 2018-04-20 05:04:45 +02:00
NovapaX
570cb5d52b add default vacuum component icon (#1108) 2018-04-18 15:46:52 -04:00
NovapaX
afc4663870 allow label-badge-title font-weight theming (#1102)
* allow label-badge-title font-weight theming

* change to 400 weight

kept the variable for those who really prefer the thinness of before.
2018-04-18 14:16:13 -04:00
NovapaX
a5aaaf6a0a icon rename (#1105) 2018-04-18 20:15:31 +02:00
NovapaX
2aa02ff561 Fix chart tooltip format for line charts (#1099)
* position tooltip correctly if chart is in history_graph card

* format & localize title in linechart

* tweak tooltip style/position
2018-04-18 09:44:43 -04:00
NovapaX
0a60ec2298 Fix paper-slider pin style (#1022)
* ha-paper-slider extends and copies paper-slider

* paper-slider -> ha-paper-slider

* remove promise

* this.is -> HaPaperSlider.is

* jsdoc to instruct linter

* suppress missing props

* fix linter

* more lint
2018-04-17 17:24:09 -04:00
NovapaX
cd3136908c classrename (#1097) 2018-04-17 21:17:10 +02:00
Boyi C
5dc9efd995 Unify navigation to NavigateMixin (#1095)
* Unify page navigation to NavigateMixin

* revert unintended change

* Use template literal
2018-04-17 10:01:58 -04:00
NovapaX
8047313165 take zero height (#1089) 2018-04-17 10:00:47 -04:00
NovapaX
5068178aac Some more state wrapping fixes (#1082)
* climate state should never wrap

* some more state wrapping fixes
2018-04-17 10:00:11 -04:00
NovapaX
1335a74605 Setting used paper-colors in ha-style (#1091)
* setting default paper-colors
clean up some whitespace/indentation

* better indentation
2018-04-15 16:16:11 +02:00
NovapaX
027165c8ac Prefix media-player-model and use it for more-info (#1088)
* prefix media player model with hass-
use model for more-info-mplayer

* missed a binding
2018-04-14 18:04:44 -04:00
Boyi C
dc6ca7c774 Change padding logic (#1077) 2018-04-13 21:32:50 -04:00
NovapaX
f40d64d68c Easier theming and also apply theme to date picker (#1041)
* datepicker overlay backgrond

* style vaadin more

* cleanup diff

* make styling easier

* more vars

* sidebar text

* sidebar selected background backward compatible

* indent commented theming var

* fix sidebar text color incompatibility
2018-04-13 21:32:20 -04:00
NovapaX
961f43e4a5 correct max width. give small text some more space. vertical centering. (#1083) 2018-04-13 21:25:17 -04:00
NovapaX
2cf508e0b0 Some little tweaks (old browsers / iOS 9) (#1086)
* fix config panel flex

* fix media player card not shwwing picture

* prevent toggle being compressed / pushed away
2018-04-13 21:16:51 -04:00