8368 Commits

Author SHA1 Message Date
Andrey
2f640d9075 Allow line charts in more-info to be interactive. (#216) 2017-02-19 14:27:05 -08:00
Adam Mills
a9265b3a69 Add supported_features to cover component (#215)
* Add supported_features to cover component

* Fix linting
2017-02-18 18:11:08 -08:00
Adam Mills
fe5fcc6db3 Fix media player model typo (#214) 2017-02-18 18:04:29 -08:00
Sean Dague
a87c431428 make more-info- tags in dynamicContentUpdater lowercase (#211)
When trying to understand the source tree using `git grep` the fact
that the critical function which actually creates the more-info-
panels used MORE-INFO, makes it actually hard to find. Rework the
logic so that it's all managed in lower case for greater
discoverability of hunting through code.

Because the stateMoreInfoType comes from home-assistant domains, this
should always be lower case, so no explicit lower casing is needed.
2017-02-15 22:59:08 -08:00
Paulus Schoutsen
14ea3e3af4 Upgrade dependencies 2017-02-15 22:24:20 -08:00
Sean Dague
116277acb4 ha-climate-control polymer widget (#212)
This replaces the climate paper-slider with a new control which is a
numerical display plus up/down buttons. The paper-slider control
really needs a fine pointer like a mouse or a stylus to function well,
and in my use case the most often time I want to quick manually adjust
the temperature is on a mobile device, where using the paper-slider is
extremely problematic.

The stepsize is now computed based on the units. 0.5 for C, 1.0 for F,
which provides about the same granularity for both.

The ha-climate-control widget is actually pretty generic, and could be
used in other places if anyone has suggestions on a good generic name.
2017-02-15 19:18:18 -08:00
Andrey
f396c9acde Support multi-day history charts (#207)
* Support multi-day history charts

* Fix lint

* Reduce the periods to 1/3/7 days.

* Switch to end_time param instead of days

* Move async waiting from history-data to panel-history
2017-02-14 21:34:30 -08:00
Adam Mills
5207629e87 Add Object.assign polyfill support (#210)
* Add Object.assign polyfill support

* Remove redundant polyfill check

* Use ES6 in compatibility.js
2017-02-14 12:01:32 -08:00
Paulus Schoutsen
267c0d51e1 Tweak colors 2017-02-13 23:32:33 -08:00
Andrey
7c9c03a087 Make media_player hide image it can't load. (#208)
* Make media_player hide image it can't load.

* Add timeout for background image loading.
2017-02-13 22:07:56 -08:00
Paulus Schoutsen
62aa635390 Add a Z-Wave config panel (#209) 2017-02-12 22:29:35 -08:00
Adam Mills
fd798a8f29 Add device_class support to cover domain (#202) 2017-02-12 11:08:16 -08:00
Paulus Schoutsen
d6fda61d8c Add core config panel (#204)
* Add core config panel

* Lint
2017-02-11 23:03:01 -08:00
Adam Mills
518d0b38da Rename sensor_class to device_class (#200) 2017-02-10 20:46:02 -08:00
Paulus Schoutsen
f3808ff4d4 Fix group more info overwriting data 2017-02-10 09:27:55 -08:00
Adam Mills
bdd3157087 Rnm supported_media_commands to supported_features (#197) 2017-02-07 20:42:11 -08:00
Paulus Schoutsen
da62d1bf18 Fix TTS form 2017-02-01 08:59:19 -08:00
Paulus Schoutsen
8d62654e4f Fix input_Slider pt2 (#190) 2017-02-01 00:40:46 -08:00
Tom Matheussen
fa68419f77 Multiple weather card graphs (#181)
* Set different id for each weather card

* Style fixes

* Changed id interpolation

* Use same function both for generating and finding chart id

* Fix line too long
2017-02-01 00:23:04 -08:00
andrey-git
26c7cc38ca Allow using custom state cards. (#175)
* Allow using custom state cards from www/

* Use importHref

* Check if element loaded before loading it again dynamically.

* load custom_ui according to data provided at bootstrap via Nuclear

* Switch card custom UI to using local www path.

* Switch custom UI to use /local/ path
2017-02-01 00:20:57 -08:00
andrey-git
f55154ddea fix input_slider with min>100 (#189)
* fix input_slider with min>100

* Don't update max twice

* Update state-card-input_slider.html

* Update state-card-input_slider.html
2017-02-01 00:17:05 -08:00
Paulus Schoutsen
a3528a1eb1 Update Home Assistant JS Websocket 2017-02-01 00:09:50 -08:00
Paulus Schoutsen
81949d1f42 Fix last changed label 2017-01-31 18:54:00 -08:00
Paulus Schoutsen
eff68a9d7f Add missing domain icons 2017-01-31 07:33:42 -08:00
Paulus Schoutsen
0d4060bb97 Fix passing in non-existing domains 2017-01-31 07:33:33 -08:00
Paulus Schoutsen
06edb22651 Fix dates on history and logbook 2017-01-30 09:06:08 -08:00
Paulus Schoutsen
0a45e0e95b Fix lint 2017-01-30 00:54:56 -08:00
Paulus Schoutsen
94cde37aaa Stupid sorting copy/paste bug 2017-01-30 00:17:47 -08:00
Paulus Schoutsen
b9cf35cced Render history after dialog has opened 2017-01-30 00:03:05 -08:00
Paulus Schoutsen
5792c77100 Avoid more info dialog jump 2017-01-29 23:57:34 -08:00
Paulus Schoutsen
11caadc516 More info media player: source dropdown take max width
Fixes #173
2017-01-29 23:40:01 -08:00
Paulus Schoutsen
dcd9fd16f3 Add service worker registration back 2017-01-29 23:12:28 -08:00
Paulus Schoutsen
5c1cf2a66a Filter out default_view 2017-01-29 23:01:44 -08:00
Paulus Schoutsen
993f136934 Lint 2017-01-29 22:57:12 -08:00
Paulus Schoutsen
07357bcca8 Fix callApi with auth 2017-01-29 22:56:14 -08:00
Paulus Schoutsen
264731961b Proper cleanup on logout 2017-01-29 22:56:04 -08:00
Paulus Schoutsen
a1057681f1 Initial getting rid of HA-JS (#180)
Getting rid of HA-JS
2017-01-29 18:34:45 -08:00
andrey-git
5159326a7b Show attribute in more-info of light and lock. (#179)
* Show attribute in more-info of light and lock.

* Use <ha-attributes> in weather card

* Inline functions from hass-util

Inline functions from hass-util now  that ha-attributes is the only user.

* Inline functions from hass-util

* Weathrer's FILTER_KEYS is no longer needed.

* Cache csv split
2017-01-25 09:30:02 -08:00
Paulus Schoutsen
c4d76b0568 fix missing import 2017-01-20 23:06:54 -08:00
Adam Mills
c8af07ab6b Display attributions separately in more-info (#176)
* Display attributions separately in more-info

* Fix js lint

* Rename to formatAttributeValue

* Properly declare the computed bindings
2017-01-20 22:05:10 -08:00
Robbie Trencheny
abe798d121 Add a more info card for the fan component (#177)
* Add a more info card for fan and make the fan icon spin

* Add direction support to fan more info

* Fix ESLint errors

* Fix ESLint errors

* Remove spinning fan icon :(
2017-01-20 22:03:06 -08:00
Robbie Trencheny
76016391e0 Fix a bug in cover more info card (#178)
Should have been `stop_cover_tilt` not `stop_cover`
2017-01-20 22:02:33 -08:00
Adam Mills
d799d3a52e Capitalize card titles for default domain groups (#174) 2017-01-16 21:25:31 -08:00
Tom Matheussen
988ac00281 Added weather platform card, with forecast graph (#160)
* Added weather platform card, with forecast graph

* Changed login page to a form, allowing autofill

* Reverted incorrect login form commit

* Moved to a seperate weather card, instead of using a state-card, added basic current information

* Some cleanup, set graph line to be smooth

* Removed some unnecessary stuff

* Removed leftover space
2017-01-09 01:36:54 +01:00
andrey-git
c7d44320d5 Allow cleanup on closing more-info (#165)
* Remove camera's streaming source from camera's 'more info' when more-info is closed.

* Rename to isVisible

* Rename to isVisible

* Split dynamicContentUpdater

Split dynamicContentUpdater into two functions intended for 'normal' flow and 'hide' flow.

* Use hassUtil.resetDynamicContent

* Fix lint

* Fix lint

* Move isVisible to more-info-content

* Move isVisible to more-info-content

* Typo

* Avoid modifying the original state

* Put isVisible in the right place

* Inline resetDynamicContent

* Inline resetDynamicContent

* Fix lint
2017-01-09 01:35:21 +01:00
Adam Mills
894c2cd29e Add supportsPlay (#169) 2017-01-09 01:10:21 +01:00
andrey-git
aeb82117eb Change toggle touch target size to 48x48 by adding padding and compensating for it with margin. (#172) 2017-01-07 00:01:51 +01:00
andrey-git
029ed86395 Always show the brightness slider in more-info (#168)
* Always show the brightness slider in more-info

Always show the brightness slider in more-info if it is supported.
Even when the light is currently off.

* Lint fix

* Set brightness to 0 when light is off
2017-01-05 22:26:39 +01:00
Michaël Arnauts
57071f7250 Fix locale for non-english users (#170)
* Take navigator.languages into account when determining the preferred language

* Lookup language only once, use it also for other date/time functions

* Show the date picker value in localized date

* Show the date picker value in localized date (in history)
2017-01-05 14:38:27 +01:00
Michaël Arnauts
cc64fc9809 Don't capitalize entity names in the UI, causes the UI to use the specified friendly_name from the configuration. (#164) 2016-12-27 21:28:44 +01:00