9049 Commits

Author SHA1 Message Date
Paulus Schoutsen
3092a4c084 Misc panel updates (#362)
* Add example to set variables for testing

* Allow host shutdown in advanced settings

* Fix floating label in service

* Add MQTT panel

* Lint
2017-07-31 09:04:17 -07:00
Paulus Schoutsen
7c313a1083 Voice dialog: Handle when not hearing anything. 2017-07-29 11:42:15 -07:00
Paulus Schoutsen
23f0744fe2 Shopping list update (#360)
* Hardcode how can I help chat

* Allow managing shopping list

* Lint

* Lint
2017-07-29 10:37:28 -07:00
Andrey
b57c86a29c Add JS support for device-local theme name (#358)
* Add JS support for device-local theme name

* Keep themes in hass object

* Make it actually work

* Move themes from home-assistant-main to home-assistant
2017-07-29 10:31:51 -07:00
Marc
8787304ed4 Covers - Removed disable buttons (#356)
* Removed disable buttons

Allow commands being send even if cover is open or closed. Important for cover template when using multiple covers or in end positions when cover registered as open/closed but isn't due to tolerance.

* Option to always enable buttons with assume_state

* Option to always enable buttons with assume_state

* Fix errors

* Update ha-cover-controls.html

* Update ha-cover-tilt-controls.html

* Added Functions

I couldn't test the ones for the tilt covers, but they should be fine.

* Update cover-model.html

* Compute button disable in component

* Minor fixes
2017-07-29 10:23:44 -07:00
Andrey
9fafdd4525 Allow customUI on 'unavailable' state too. (#357) 2017-07-25 20:58:32 -07:00
Paulus Schoutsen
19b903dfb7 Update voice UI (#355) 2017-07-25 00:20:24 -07:00
Andrey
8bd0ab22f5 Move hidden attributes to hassUtil (#351)
* Move hidden attributes to hassUtil so they are acessible by custom components.

* Rename to LOGIC_STATE_ATTRIBUTES
2017-07-24 07:58:12 -07:00
Boyi C
0c428134df enhance weather panel (#352)
* enhance weather panel

* enhance weather panel
Make a skin for weather panel.
Multi day forecast shows in table using Emoji.

* fix wind bearing
2017-07-23 23:25:09 -07:00
Andrey
2ea5cbcc88 Fix history showing extra points. (#350) 2017-07-23 23:22:55 -07:00
Andrey
6c45c5554a Move ha styles from html to body (#354) 2017-07-23 23:18:15 -07:00
Paulus Schoutsen
5cdba73bac Hassio improv (#348)
* Add Home Assistant restart option

* Use addons/reload in store refresh

* Add link to web UI

* Show logo in addon view

* Fix routing showing not found

* Add reset options button to addon view

* Fix unload error in addon info

* Add refresh button to snapshot page

* Lint
2017-07-22 11:02:33 -07:00
Paulus Schoutsen
2453d6f397 Organize JS better (#343) 2017-07-16 23:31:19 -07:00
Paulus Schoutsen
35c4e1d5ae ES5 cleanup 2017-07-16 22:19:02 -07:00
Paulus Schoutsen
b3f104935f Correct wrong syntax 2017-07-16 21:40:29 -07:00
Andrey
acd708b057 Sort zwave nodes by name (#341) 2017-07-16 07:58:09 -07:00
Andrey
6ba8338e18 Disable sidebar swipe in kiosk mode (#338)
* Disable sidebar swipe in kiosk mode

* Generalize disableSwipe

* Wrap in iife
2017-07-16 07:52:34 -07:00
Andrey
7c079dc01f Initial themes support (#331)
* Initial themes support

* Fix after merge

* Now UI autoresponds to backend theme change

* Move style udating logic to hass-util

* Revert unneeded change

* Switch to ES5 syntax
2017-07-13 09:10:59 -07:00
Andrey
b08170e7ff Add support for kiosk mode (#332)
* Add support for kiosk mode

* Implement kiosk mode as a panel
2017-07-13 09:10:30 -07:00
Adam Mills
2c69e001ee MVP Gulp introduction (#334)
* Install gulp as dev dependency

* Placeholder gulpfile

* Replace rollup invocations with gulp

* Consolidate duplicated code

* Big cleanup of gulpfile

* Without cache test

* Revert "Without cache test"

This reverts commit 0e3881d8d79b81faa514669fa2836e415dcc5c95.
2017-07-13 09:08:26 -07:00
Paulus Schoutsen
8a2f881684 Hassio updates (#335)
* Fetch addons from /hassio/addons

* Fetch snapshots from /hassio/snapshots

* Hass.io cleanup

* Hass.io limit data fetches until visible

* Upgrade hass addon view

* lint
2017-07-11 23:35:34 -07:00
Paulus Schoutsen
96ad1dae38 Polymer 2 fixes (#330)
* Fix startup error in panel-resolver

* Fix map panel stylesheet reference in develop mode under P2

* Fix automation editor recursion

* Fix HA style
2017-07-09 00:21:23 -07:00
Paulus Schoutsen
d705bd2e8f Add routing to panels (#329)
* Add routes to Hass.io

* Add routing to automation editor

* Lint
2017-07-08 22:37:44 -07:00
Paulus Schoutsen
10d5a05d1f Use app-route for routing (#328)
* Use app-route for routing

* Fix bower

* Fix default route

* Add back button support back
2017-07-06 21:06:07 -07:00
Andrey
6e30534e2d Fold binary_sensor state card into common code (#322)
* Fold binary_sensor state card into common code

* Check device_class per domain
2017-07-03 06:42:55 -07:00
Paulus Schoutsen
594f143ad0 Fix ES2015 syntax in media-player-model 2017-07-01 15:01:16 -07:00
Paulus Schoutsen
cf6bddd7a9 Fix ES2015 syntax in cover-model 2017-07-01 14:55:34 -07:00
Paulus Schoutsen
dce362c4af Fix ES2015 syntax in hass-util 2017-07-01 14:51:56 -07:00
Adam Mills
26218f64af Fix exception when no password is configured (#315) 2017-06-25 15:09:08 -07:00
Adam Baxter
bdec22bb0a Minor grammatical fixes to introduction card (#314) 2017-06-25 00:27:11 -07:00
Paulus Schoutsen
48b94d6546 Remove unused import 2017-06-20 21:08:50 -07:00
Paulus Schoutsen
e2e02acf30 Fix login form 2017-06-20 21:06:57 -07:00
Paulus Schoutsen
f177c0eb9f Fix configurator (#313) 2017-06-20 20:37:11 -07:00
Paulus Schoutsen
8b6db691ef Road to polymer 2 pt 2 (#310)
* Remove default-primary-color var

* Swap out paper-menu for paper-listbox
2017-06-18 19:30:18 -07:00
Paulus Schoutsen
bb83687d93 Polymer 2 prepare (#309)
* Remove unused paper-range-slider

* Update app-storage

* Upgrade paper-slider to 2.0

* Upgrade paper-scroll-header-panel

* Update paper-card

* Update slots

* Working upgrades

* More slots

* Upgrade app-layout

* More slot upgrades

* Vaadin components to Polymer hybrid ones

* Polymer 2 fixes

* Update polymer to 1.9.2

* Lint
2017-06-18 11:29:20 -07:00
Andrey
70da89ae73 Add service descriptions in zwave panel (#306)
* Add support for service descriptions in call buttons. Use it in Zwave panel.

* Hide descriptions behind a tap on questionmark

* Sort nodes by name and not entity_id
2017-06-18 10:59:55 -07:00
cribbstechnologies
37098f805d Control modification for cover (#298)
* modifying cover to optionally have up/down and tilt controls in regular state card

* missed these

* linting

* making only one set of controls show up with preference to up/down

* DRYing things up

* appeasing Travis

* DRYer still

* reusing utility functions

* appeasing the build master
2017-06-17 18:09:45 -07:00
Adam Mills
865b05b510 Hide oscillating button if oscillation not used (#301) 2017-06-11 21:36:51 -07:00
Andrey
6a864106e0 Allow controlling badge margin via mixin (#289)
* Allow controlling badge margin via mixin

* Move margin-bottom from ha-label-badge to ha-badges-card
2017-06-08 20:22:12 -07:00
Anton Sarukhanov
7fbc5df9a0 Set input_slider value after min,max,step. (#291)
This avoids clobbering it with the default values of min, max, and step. Fixes HA issues 7301 and 7232.
2017-05-23 17:01:45 -07:00
Andrey
d1d412c69f Fix default_view icon title. (#290) 2017-05-22 10:38:47 -07:00
Paulus Schoutsen
ffe0b22d77 Remove binary sensor from more info as it doesn't have one
https://github.com/home-assistant/home-assistant-polymer/pull/273/files#r116950389
2017-05-17 19:10:22 -07:00
cribbstechnologies
07364bed53 updating cover more-info to use supported features for configuration (#274)
* updating cover more-info to use supported features

* changing per best practices

* removing debugging text, whoops

* allowing for visibility of tilt position even if control is disallowed

* more changes

* still more changes
2017-05-16 23:27:37 -07:00
Lewis Juggins
2b14b206ab Fix chart background colours (#283) 2017-05-15 21:29:04 -07:00
Paulus Schoutsen
44e925a9ff Load Hass.io panel from supervisor in prod 2017-05-11 23:43:19 -07:00
Paulus Schoutsen
0754c007f2 Extract loading screen from partial-panel-resolver 2017-05-11 22:23:03 -07:00
Paulus Schoutsen
1f6f2c9260 Include response in api call response 2017-05-11 21:17:21 -07:00
Andrey
c0f119c853 Fix history timeline legend selection. (#276) 2017-05-09 22:49:01 -07:00
Paulus Schoutsen
ca82a411aa Add automation editor (#275)
* Add automation editor

* Build JS before running tests

* Add browser warning

* Re-order from/to in state
2017-05-09 09:37:10 -07:00
hawk259
f020e60b67 Add Binary Sensor State Card (#273)
* Add binary sensor state card

* use state-card-display as a template instead of state-card-toggle

* change == to ===
2017-05-04 09:12:42 -07:00