6059 Commits

Author SHA1 Message Date
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
Paulus Schoutsen
5962786494 fix climate/hvac update 2016-08-20 23:42:42 -07:00
John Arild Berentsen
533ac9fade First draft of climate (#91)
* First draft of climate

* Use thermostat state card info

* Make sure temperature is updated
2016-08-19 00:28:35 -07:00
Paulus Schoutsen
dd6ee9544e Also allow 127.0.0.1 for push notificatons 2016-08-16 23:00:50 -07:00
Paulus Schoutsen
5efe930d6c Add HTML 5 push notifcations support (#89)
* Add push notification handling to service worker

* Add push registration to sidebar

* Whitelist manifest.json

* Remove unused property

* Catch if no url specified

* Fix eslint

* Fix bug

* Fix some bugs

* More Firefox proof

* Moar fixes

* Fix semi
2016-08-14 00:31:52 -07:00
Paulus Schoutsen
474366c536 Fix linting issue 2016-08-13 09:55:03 -07:00
Paulus Schoutsen
8f0044778e Hide tabs when only 1 view 2016-08-13 09:38:59 -07:00
Tobie Booth
2533b872b7 Add support for triggered alarm state (#83)
* add support for triggered alarm state

* missing semi-colon
2016-08-12 17:55:20 -07:00
Adam Mills
744198cdc9 Use native date formatting functions if available (#87)
With the removal of moment.js, dates and times are no longer formatted
using the native locale. This allows the browser to format if the
functionality is available (Everyone but Safari).

Also included is a correction in relativeTime. Times in the future were
being displaed incorrectly -xxx seconds, and the in/ago verbage was
reintroduced.
2016-08-10 13:30:06 -07:00
Paulus Schoutsen
b9bc55441d Fix empty space under camera-card 2016-08-09 20:00:17 -07:00
Paulus Schoutsen
e821ed2a4e Fix paper-input styles 2016-08-09 19:59:00 -07:00
Paulus Schoutsen
3a8e758a31 Update packages 2016-08-08 00:38:26 -07:00
Paulus Schoutsen
3512e5aa25 Rename url_name to url_path 2016-08-07 21:35:59 -07:00
Paulus Schoutsen
c4b17a24a3 Fix imports thanks to polymer-lint 2016-08-02 09:06:22 -07:00
Paulus Schoutsen
f0b7682815 Fix media player card CSS 2016-07-31 20:01:48 -07:00