15443 Commits

Author SHA1 Message Date
NovapaX
c83a05c1ea add issue template (#1067) 2018-04-03 16:43:28 -07:00
NovapaX
b102925323 fixing #940 (#1066) 2018-04-03 16:32:06 -07:00
John Arild Berentsen
1cda7791c1 give pollingintensity default value (#1059) 2018-04-01 12:03:32 -07:00
Andrey
efa956a0b5 Allow theming badge label color and hide empty label. (#1060) 2018-04-01 12:03:04 -07:00
Paulus Schoutsen
0a5767913a Update version to 20180401.0 2018-03-31 17:42:37 -07:00
Paulus Schoutsen
859ffdb66d Update translations 2018-03-31 17:42:30 -07:00
c727
4c65767e5a Fix TypeError for views (#1045)
* Fix TypeError for views

quick and dirty fix, maybe this file needs some more cleanup

problem:
if you have `default_view` in groups.yaml and reload groups in `computeViewStates(currentView, hass, defaultView)`
`defaultView` is (still) defined but but `hass.states.group.default_view` doesn't exist

Fix: #893

* Update partial-cards.html

* Add ;

* Lint
2018-03-31 17:35:33 -07:00
NovapaX
d7d167fbf9 Make paper-scrollable in fullscreen dialog resize properly (#1052)
* remove min-height to make paper-scrollable work properly.
Hack fullscreen background behind it

* apply fix to hassio-markdown-dialog
2018-03-31 17:32:02 -07:00
NovapaX
6447e98caa Fix language selection (#1056)
* fix attr-for-selected not finding language-tag

* look for attribute instead of property

* change to data-binding structure
2018-03-31 17:31:27 -07:00
NovapaX
d8fb01ab44 Hide empty 'Currently' on climate statecard (#1047)
* hide currently if no value

* zero is falsy. align items

* don't hide falsy values

* computed property instead of observer

* guard null/undefined
2018-03-31 17:29:49 -07:00
Paulus Schoutsen
77330d03b3
Guard for both undefined and null (#1053) 2018-03-31 12:09:22 -07:00
NovapaX
88ad376045 Don't uppercase unit_of_measurement in state-badge (#1025)
* determine unit from state. set case via label-is-state attr

* use css var and classnames

* use classnames and mixin

* use css var

* fallback, both needed and way more elegant
2018-03-29 17:35:51 -07:00
NovapaX
ed0696ea9c hide brightness slider on unavailable light (#1046) 2018-03-29 17:20:51 -07:00
Paulus Schoutsen
5508805f0b Version bump to 20180330.0 2018-03-29 16:59:38 -07:00
Paulus Schoutsen
d2688cab75 Fix markdown rendering 2018-03-29 16:58:23 -07:00
Paulus Schoutsen
06502cb93a
Fix a bunch of lint errors (#1044)
* Fix a bunch of lint errors

* Add behavior jsdoc

* Convert ha-markdown to polymer element

* Update lint command
2018-03-29 16:57:15 -07:00
Paulus Schoutsen
0e227708b9 Fix tooltip with title on hass-subpage (#1048) 2018-03-30 01:39:53 +02:00
Paulus Schoutsen
e46d2e2934 Fix property 2018-03-28 16:34:39 -07:00
Paulus Schoutsen
caf1c2fdd1 Update markdown 2018-03-28 16:19:29 -07:00
Kory Prince
209a118833 Remove extra quoting to resolve issues on macOS (#1039) 2018-03-28 16:18:48 -07:00
NovapaX
0790cd1ac9 Improve chart loading behaviour and some other chart fixes (#1042)
* show is loading and animate chart display

* let tooltip overflow in more-info

* graph chart tooltip overflow

* style toopltip a bit more like material design guidelines

* smoother tooltip appearing

* timeline transition time

* max-widht -> width
2018-03-28 16:16:25 -07:00
c727
fb8fb09c73 Change attribute checks to handle if value == 0 (#1037)
if (0) is false
2018-03-27 23:57:01 -07:00
Paulus Schoutsen
7081fb5123 Update markdown 2018-03-27 23:52:35 -07:00
Kory Prince
6c2126fb5f Use build script for markdown-js.html (#1038)
* add script to build and minify markdown-js.html from npm

* update markdown-js.html from build script
2018-03-27 23:52:27 -07:00
Kory Prince
af1581b4c5 Migrate to Marked.js + js-xss for Markdown parsing (#1026)
* Migrate to Marked.js + js-xss for Markdown parsing

* Update JS

Updating JS with latest source code from NPM to ensure it has not been altered
2018-03-26 21:13:54 -07:00
NovapaX
38542e1f0c Set theme variables on html element (#1023)
* set theme on html element

* style toggle buttons with primary color

* Fix lint
2018-03-26 17:31:41 -07:00
NovapaX
d87d845dbc Fix long more-info toolbar title. (#1034)
Max 2-lines. Ellipsis overflow on supported browsers.
2018-03-26 17:28:35 -07:00
PeteBa
7be6d17b37 Change brightness to be real-time rather than max value (#1029) 2018-03-26 21:44:09 +02:00
NovapaX
981e94e84d
Merge pull request #1032 from NovapaX/fix/state-info-badge-colors
Fix state-info badge colors (on polyfilled browsers)
2018-03-26 11:00:53 +02:00
NovapaX
c04c30337f Contain slots and scope css instead of using ::slotted
Polyfill converts `::slotted(*)` to `host-tag > *` which messes up
styles of descendents that are not slotted.
2018-03-26 10:50:10 +02:00
Paulus Schoutsen
8451f9487e Version bump to 20180326.0 2018-03-25 18:10:25 -07:00
Kory Prince
41e7235ccf use encodeURIComponent to encode API password (#1027) 2018-03-25 09:34:59 +02:00
c727
3b76238241 Hassio: support new mode (stable, beta, dev) (#1024)
* Hassio: support new mode (stable, beta, dev)

* mode -> channel

* Fix beta data
2018-03-24 22:14:48 +01:00
NovapaX
796ec4a4b0 Use hue, saturation and a brightness filter for state badge (#1021)
* Use hue and saturation values. Use css filter for brightness.

* Assign style properties at once.

* label => if else logic
2018-03-23 10:01:33 -07:00
Marc Khouri
6ee9808d42 Fixup styling of config entries (#1020)
* Fixup styling of config entries

Fixup the (temporary) styling of config entries by not using `paper-item`,
which made entries clickable / focusable

* Missed dependency
2018-03-22 23:16:50 -07:00
Marc Khouri
399d14a5e0 Add styling to Config Entries (#1011)
* Add some styling to Config Entries

This commit adds some styling to the (experimental) Config Entries

* re-add localization

Note: I'm having issues with localization on my current setup -- it doesn't
seem to be working for me 🤷. This commit just keeps the same localization
as there was previously, no change

* Update based on PR review

* Remove stale annotations
2018-03-22 10:32:32 -07:00
Paulus Schoutsen
42f3294523 Version bump to 20180322.0 2018-03-21 21:19:23 -07:00
Paulus Schoutsen
d609ce241e Update translations 2018-03-21 21:15:11 -07:00
Adam Mills
e5a5c353c4 Don't render minimum color temp with gray border (#1017) 2018-03-21 15:22:44 -07:00
Adam Mills
0df4aa6117
Use new light HS API for the color picker (#982) 2018-03-21 17:35:16 -04:00
c727
6bdf1c8b80 Hassio: show hardware (#997)
* Hassio: list hardware

* Hassio: show hardware

* Remove debug

* Travis

* Concept

* Lint

* Raised button

* Lint
2018-03-21 12:26:46 -07:00
NovapaX
421b9abc7d fix media-player source selection loop (#1012) 2018-03-21 18:20:14 +01:00
NovapaX
b107e0e15c Stop paper-slider to change value on touchdown on the sliderbar (#1006)
* Stop paper-slider to change value on touchdown on the sliderbar.
This prevents interfering with intended scroll. Touch-tap on the
sliderbar still works. Mouse-behavior doesn't change eiter.

* change property syntax
2018-03-19 14:42:51 -07:00
NovapaX
fe6c8faad7 fix vaadin overlay height (e.g in services picker) (#1007)
see: https://github.com/vaadin/vaadin-combo-box/issues/432
2018-03-19 14:42:05 -07:00
Andrey
46a2f4fd72 Make sure packages are up to date when releasing (#1004) 2018-03-17 17:26:45 -07:00
NovapaX
3324c7e01c Nicer scrolling for more-info (#1005)
* nicer more-info scrolling (momentum & rubberband)

* move chart into scrolling region.
Fixes resizing issues of the paper-dialog (and scrolling area) because
of chart rendering after loading.
2018-03-17 17:26:02 -07:00
Paulus Schoutsen
8146794857 Version bump to 20180316.0 2018-03-16 15:38:59 -07:00
Andrey
b03c361198 When /states/bad_view is selected - fall back to default view. (#1002) 2018-03-16 15:38:27 -07:00
cdce8p
860860099e Changed cover icon condition (#995) 2018-03-16 03:38:37 +01:00
Paulus Schoutsen
b80c52dab2
Fix race condition setting current language (#996) 2018-03-15 12:33:32 -07:00