7773 Commits

Author SHA1 Message Date
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
Robbie Trencheny
247d951e1e Occupancy sensor class (#103)
* Sort the binarySensorIcon cases

* Add the occupancy sensor_class
2016-09-03 22:56:12 -06:00
Robbie Trencheny
86d61ac9ae Filter external attributes (#102)
* Filter out emulated_hue keys

* Filter out Haaska keys

* Filter out homebridge-homeassistant keys

* Fix linting issues
2016-09-03 09:15:48 +01:00
Robbie Trencheny
7e455e2be1 Need a space when combining more-info-* class and attributeClassNames so that the first property correctly shows 2016-09-02 13:54:54 -07:00
Robbie Trencheny
3d77da0346 Add a default icon for the fan component (#101) 2016-09-01 21:55:35 -07:00
Andreas Rammhold
9313d221fe Added alt attributes to developer tool buttons (#96) 2016-09-01 10:57:19 +01:00
Paulus Schoutsen
ffce92d026 Add automation more info 2016-09-01 10:49:31 +01:00
John Arild Berentsen
670ba0292b first go at cover frontend (#94)
* first go at cover frontend

* missing import
2016-08-23 18:24:12 -07:00
Paulus Schoutsen
8a2e2e37ba Fix dialog graph layout 2016-08-23 00:05:33 -07:00
Paulus Schoutsen
82c143887f Fix paper slider styles 2016-08-22 23:52:13 -07:00
Paulus Schoutsen
c0c0b2c2f3 Update packages 2016-08-21 15:30:51 -07:00
Paulus Schoutsen
9b5ae6e8de Migrate to push notification store 2016-08-21 15:20:16 -07:00