9984 Commits

Author SHA1 Message Date
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
andrey-git
04b510e4b5 Fix lint warnings. (#166) 2016-12-27 21:27:53 +01:00
Paulus Schoutsen
b8a7c6624d Add TTS support to more info media player 2016-12-13 22:30:42 -08:00
Pete Peterson
0b6b308ca3 Add remote domain icon (#161)
to address: https://github.com/home-assistant/home-assistant/issues/4772
2016-12-05 23:38:15 -08:00
Paulus Schoutsen
117c33cf5a Fill bottom screen with toast 2016-12-05 22:14:07 -08:00
Sebastian von Minckwitz
4697af1b0d Add option to hide the group card switch (#159)
* Add option to hide the group card switch

* Changed hide_switch to control

* lint

* lint again

* Pick state-card-display if control is hidden

* fix permissions
2016-12-05 17:47:29 -08:00
Paulus Schoutsen
2652823d35 Lint 2016-12-04 14:45:14 -08:00
Paulus Schoutsen
a767765c5b Clean up media player progress 2016-12-04 14:12:23 -08:00
Paulus Schoutsen
968deae5b2 Fix when showing covers for media player card 2016-12-04 13:21:52 -08:00
Paulus Schoutsen
735378f36b Only show second divider if push notifications are shown 2016-12-04 12:20:32 -08:00
Paulus Schoutsen
b76ad67d4a Fix lint 2016-11-27 22:33:17 -08:00
Bjarni Ivarsson
4d7e1fef75 Support for showing playback progress in media_player (#150)
* Added support for showing playback progress in media_player.

* Small bugfix.

* Playback progress now updates without needed state transitions in HA.

* media_position_update_at property is now a datetime.

* Linting fixes + removed _internal polymer property + cleanup

* More linting.
2016-11-27 22:25:17 -08:00
Antoine Bertin
9184aaf33f Add effects selector in light more info (#156)
* Add effects selector in light more info

* Fix incorrect indentation
2016-11-27 16:38:08 -08:00
Paulus Schoutsen
24dd4357d8 Migrate to use websocket client (#158)
* Migrate to websocket client HA-JS

* Bump dependency to 0.1.4

* Upgrade HA-JS

* Fix missing import
2016-11-26 23:41:51 -08:00
Paulus Schoutsen
0df7f83ebd Upgrade dependencies 2016-11-26 17:43:55 -08:00
Paulus Schoutsen
8ff385a568 Fix eslint console warning 2016-11-22 22:08:39 -08:00
Bjarni Ivarsson
bba2bfabd9 Media_player background only shown if there is no album art. (#151) 2016-11-01 20:50:06 -07:00
Adam Mills
ab187a7a84 Media players can support turn off without turn on (#148) 2016-10-28 08:50:46 -07:00
Justin Weberg
d2ff6a18e1 Update styling on climate sliders (#137)
* Increase width of sliders

* Update color styling on sliders

* Remove IDs in favor of tags
2016-10-27 07:38:33 -07:00
Bjarni Ivarsson
898a8acdc0 Music album art aspect ratio set to 1:1 (#146)
* Music album art aspect ratio set to 1:1

* Javascript sillyness.
2016-10-26 12:18:39 -07:00
Justin Weberg
8ba1632edf Remove deprecated from hass-util (#144) 2016-10-26 06:04:12 -07:00
Daniel Peukert
b6bc3cd387 Fixed script button alignment (#139)
* Fixed script button alignment

* Fixed configurator and scene button alignment
2016-10-25 22:56:35 -07:00
Justin Weberg
3b5e1f9871 Remove thermostat, hvac, rollershutter (#143) 2016-10-25 14:28:24 -07:00
Justin Weberg
4ec6049c73 micromarkdown fix (#131) 2016-10-18 18:01:12 -07:00
Justin Weberg
78c7756aa1 Add markdown to persistent notifications (#128)
* Add micromarkdown.js and update persistent notifications

* Fixed my way wrong logic

* change to stateObj in call

* Move micromarkdown to bower. Update importHref.

* Add properties for importHref

* Fix importHref properties and add logging.

* Fix computeContent function

* Fix travis

* Fix computeContent function

* Fix markdown script

* Fix all markdown code.

* Add mmd.css

* Correct imports of stylesheets

* Fix Travis

* Move micromarkdown to HA

* Fix requests

* Fix importHref script location
2016-10-18 08:18:06 -05:00
Adam Mills
8c5b547141 Use material UI color for light icon (#129)
https://www.materialui.co/colors/yellow/600
2016-10-16 15:49:52 -07:00
Justin Weberg
97a5188c55 Fix inconsistent dialog width (#120)
* add 100% relative width

* set dialog width based on domain

* Set history-charts max-width

* Fix review requests

* Fix requests.

* Set Camera dialog width to auto

* Fix camera dialog width

* Fix dialog width and history charts running off the edge of the dialog
2016-10-13 23:49:32 -07:00
Justin Weberg
75f1a42efb Fix hidden tooltip on history chart (#118)
* Fix hidden tool-tip on history chart

* Tighten scope on .charts-tooltip class
2016-10-07 08:06:41 -07:00
Scott Reston
a5e1db321a Added title attributes to dev buttons (#119)
The title attribute doesn't aid in accessibility, but it can give a visual cue to what those buttons do. It took me a while before I got the hang of what was under each since icons can be Rorsachs.
2016-10-07 07:30:49 -07:00
Ben Origas
71278d7d6b Use state as a fallback if current_position == undefined (#117)
* Use state as a fallback if current_position == undefined

* Fix lint errors
2016-10-04 23:12:40 -07:00
Marc Pabst
89d586ddf3 Update more-info-light.html (#105)
* Update more-info-light.html

* Update more-info-light.html
2016-10-02 18:14:01 -05:00
Justin Weberg
22386a5035 Polymer 1.7 (#113)
* Update paper-range-slider in Bower.json

* Changed Content to slot in ha-card.html

* Update bower.json for Polymer 1.7

* Revert "Update paper-range-slider in Bower.json"

This reverts commit 0c305bd2fec2c8d99b3aeb1ee3f2461df80dc87c.

* change :root to html
2016-10-02 15:23:06 -07:00
Justin Weberg
1a456dc098 Climate range slider (#111)
* Update paper-range-slider in Bower.json

* Revert "Update paper-range-slider in Bower.json"

This reverts commit 0c305bd2fec2c8d99b3aeb1ee3f2461df80dc87c.

* update paper-range-slider in bower.json

* Update styling for temp-slider and temp-range-slider

* Fix slider colors for production

* Moved class to parent container
2016-10-02 14:41:08 -07:00
Justin Weberg
792de4c6ac Fix for home-assistant/home-assistant/issues/3378 (#108)
* Fix for home-assistant/home-assistant/issues/3378

* Update state-card-climate.html

Fix Travis Error

* Fix more-infos display sliders based on target temps not range
2016-09-14 18:26:53 -07:00
Justin Weberg
ba588fc779 Climate range slider (#104)
🎉
2016-09-09 11:33:07 -06:00