12459 Commits

Author SHA1 Message Date
Paulus Schoutsen
f5117e67d1 Add border radius to paper-dialoggs 2017-07-31 23:11:08 -07:00
AHS
4af688a226 Variable colours (cards, backgrounds, sidebar, ...) (#361)
* Update partial-cards.html

* Update ha-card.html

* Update ha-card.html

* Update ha-style.html

* Update partial-cards.html

* Update ha-sidebar.html

* Update ha-panel-dev-service.html

* Update ha-media_player-card.html

* Update ha-media_player-card.html

* Update partial-cards.html

* Update ha-style.html

* Update ha-style.html

* Update ha-state-label-badge.html

* Update ha-style.html

* Update ha-panel-dev-service.html

* Update ha-media_player-card.html

* Update ha-state-label-badge.html

* Update ha-card.html

* Update ha-style.html

* Update ha-style.html

* Update partial-cards.html

* Update ha-style.html

* Update ha-style.html

* Update ha-panel-dev-service.html

* Update ha-panel-dev-state.html

* Update state-badge.html

* Update ha-label-badge.html

* Update home-assistant-main.html

* Update ha-style.html

* Update ha-label-badge.html

* Update ha-label-badge.html

* Update ha-style.html

* Update ha-panel-dev-state.html
2017-07-31 23:09:06 -07:00
Eugenio Panadero
347ef95d39 state card for vacuum component with toolbar in more-info-card (#359)
* state card for vacuum component with toolbar in more-info-card

* Basic functionality:

- main switch for turn_on / turn_off.
- Show secondary line with optional status, fanspeed and battery status.
- Show toolbar with play_plause, stop, locate and return_home service calls in the more-info card.
- Use support flags for all extra services (not for turn_on/turn_off).
- Filter specific (vacuum) keys in the state attributes table.

* lint fix

* remove the more-info card, use speed steps with input select

- No need for `more-info-vacuum.html` (using `hidden$='{{inDialog}}'` to separate views).
- Added an input select for the `vacuum_fanspeed_list` property, to set fanspeeds within the more-info view.

This way the controls appear above the history chart, and any extra attribute attached in the platform shows in the normal table below.

* change `start_pause` service

* remove state-card and add more-info card

- No need to make a state-card, as no extra line is allowed in the state-card
- No need to add attrs keys to `LOGIC_STATE_ATTRIBUTES`, using the `extra-filters=` parameter.
- New more-info card with the vacuum controls and the extra state attrs table.

* change state attrs names

* one more change state attrs names

* fix justification

* fix vertical space

* fix hide fan_speed when not supported
2017-07-31 22:58:03 -07:00
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
7f6aeaf2a2 Lint 2017-07-29 12:04:03 -07:00
Paulus Schoutsen
b50ee02534 Shopping list: add clear completed 2017-07-29 11:42:32 -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
Paulus Schoutsen
1aa387a72f Hass.io: populate existing repositories 2017-07-25 22:59:50 -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
4c14e51079 Properly sort config entities (#353) 2017-07-23 23:18:30 -07:00
Andrey
6c45c5554a Move ha styles from html to body (#354) 2017-07-23 23:18:15 -07:00
Paulus Schoutsen
ed3d1f1ce0 Fix logo url 2017-07-23 11:01:44 -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
Adrian Popa
c7be840a9d Allow video elements rendered inside an iframe panel to be maximized fullscreen. Fixes issue #318 (#346) 2017-07-20 23:29:39 -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
Paulus Schoutsen
896d35fbab Add shopping list panel (#342) 2017-07-16 20:51:08 -07:00
Paulus Schoutsen
14d8abbbd9 Fix ES5 2017-07-16 18:15:15 -07:00
Paulus Schoutsen
43d7fd6cc2 Fix Hass.io panel in old HA versions 2017-07-16 16:18:06 -07:00
Paulus Schoutsen
30ba79121d Update README.md 2017-07-16 15:44:44 -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
Andrey
12e3afb7b7 Fixes for dev-service panel (#337) 2017-07-13 09:09:26 -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
c8c8b6aaab Add snapshots UI to hassio (#333) 2017-07-11 09:07:28 -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
49afc18818 Update iron-list and iron-bower 2017-07-06 21:18:02 -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
Paulus Schoutsen
33ee6a9075 hassio-addon-info ES5 compatability 2017-07-05 22:27:58 -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
Andrey
bac1142bc6 Update iron-resizable-behavior to 2.0.1 (#321) 2017-07-02 11:00:18 -07:00
Paulus Schoutsen
1ad4259213 Make panels ES5 compatible (#320) 2017-07-01 15:29:21 -07:00
Paulus Schoutsen
31af2968da Log error in vulcanize.js when one is raised 2017-07-01 15:01:45 -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
Paulus Schoutsen
d2a56655d0 Show update available in addon store 2017-06-28 23:02:31 -07:00
Paulus Schoutsen
015e7bc51d Add empty state to addons list 2017-06-28 22:55:15 -07:00