8368 Commits

Author SHA1 Message Date
c727
85d58ba134 Always show locationName in Title (#602)
* Always show locationName in Title

* Handle if no name set

* Fix lint

* Feedback

* Readd L66-L68

* Feedback and fix for default_view

* Fix c&p

* Change default name for default_view to "Default view"

* Make everyone happy

* Make everyone happy2

* Fix CP

* Handle no homeassistant.name in config
2018-01-18 22:10:04 -08:00
Andrey
8b8ba5875f Fix for browsers without SW (#805)
* Fix for browsers without SW

* Improve check
2018-01-17 17:10:15 -08:00
Paulus Schoutsen
9131a7c7e3
Add LastPass workaround (#811) 2018-01-17 10:07:08 -08:00
Marius
3e0193c704 Bug fix for #761 and color enhance when temperature in flux (#772)
* Correct triggering temperature when min is reached and user clicks extra #761

* Fixed build problems from lint

* Fixed as per feedback from @c727

* Updated based on PR feedback from @andrey-git

* Improved defect based on better solution from @andrey-git

* Updated vars to const based on feedback

* Updated control to support better changing values regardless of step based on feedback
2018-01-16 17:02:55 +02:00
Victor Cerutti
811e9e2a0e fix slider showed in box mode (#802)
fixes https://github.com/home-assistant/home-assistant/issues/11094
2018-01-16 10:14:41 +02:00
Alok Saboo
4029508b3f Fix icon for device_class occupancy (#801) 2018-01-15 14:39:36 -08:00
Andrey
6fd8ad52b0 Move horizontal padding from state-cards to containing entity-card (#799) 2018-01-14 20:48:37 -08:00
Andrey
fbe44598ac Cleanup of partial-cards (#798) 2018-01-12 13:31:39 -08:00
Andrey
58b2a28fe5 Make sure climate more-info dropdowns are upto date (#797) 2018-01-11 22:50:47 -08:00
Andrey
d6fd21521c Add on/off to climate more-info (#794) 2018-01-10 14:07:03 -08:00
Paulus Schoutsen
e9dfa79f36
Add Alexa info to cloud account page (#793) 2018-01-10 13:19:28 -08:00
Paulus Schoutsen
728d781843
Fix history jump (#792) 2018-01-10 09:39:53 -08:00
Andrey
48b0857edb Make sure toggle is always up-to date (#783)
* Make sure toggle is always upto date

* Move logic to observer
2018-01-09 16:44:53 -08:00
Andrey
c06be58a33 Fix possible JS error (#789) 2018-01-07 14:13:49 -08:00
Paulus Schoutsen
7231976af6
Fix nested group more info (#788) 2018-01-07 13:25:10 -08:00
baflo
ea16ebd4f0 Changed behaviour of selecting base entity. (#735) 2018-01-06 21:49:44 -08:00
Matt Schmitt
27d343b488 Update icons to match with actual state (#769) 2018-01-01 18:04:06 -08:00
Marius
5728d8ad1b Fixed issue #767 Operation mode influence between different thermostats (#771)
* Fixed issue #767 Operation mode influence between different thermostats

* Capitalised Operation to be consistent with the rest of controls
2017-12-31 13:50:01 +02:00
Marius
bdea42f0b7 Fix for #371 (#774) 2017-12-31 13:39:59 +02:00
c727
fdcc73c6cc Change all keys for "Open"/"Closed" to cover-keys (#773) 2017-12-31 13:38:47 +02:00
Andrey
9e2396375e Fix history panel (#757) 2017-12-30 16:41:16 -08:00
Marius
5085c78f7e Fixing Climate More-info does not allow dual temp target setting (#765)
* Fixing #236

* Fixed build errors

* Updated PR based on feedback from @andrey-git

* Improved side by side style for dual temperature control

* Removed unused styling

* Removed code that is no longer needed after correction from feedback

* Updated based on feedback on discord

* Corrected errors from lint and refactored more vars to const
Fixed lint
2017-12-30 13:11:04 +02:00
ciotlosm
0fd84a2f8d Fixing thermostat bugs (scrolling and state) #758 and #763 (#766)
* Fixing bug more-info-climate card interface scroll bug #758

* Fixes #763

* Renamed class to match value based on PR feedback
2017-12-28 21:21:55 +02:00
Matt Schmitt
4379df0d5c Additional device classes for binary sensors (#749)
* Add additional device classes for binary sensor

* Minor updates

* Travis fixes

* Update per comments

* Update per comments
2017-12-28 13:03:23 -05:00
Adam Mills
38088acf14
Use localized state display for timeline charts (#746)
* Fix import typo

* Use localized state names on timeline charts

* Track language in cache metadata
2017-12-23 14:02:33 -05:00
Adam Mills
1b60a93fcc
Add translations for the login form (#751) 2017-12-23 14:02:14 -05:00
Adam Mills
34fd3e4899 Map and mailbox translations (#748)
* Map translations

* Mailbox panel translations
2017-12-22 21:16:02 -08:00
Andrey
60ac82edc5 Another fix for app-header-layout (#738) 2017-12-22 21:07:46 -08:00
Adam Mills
f0f1a56537 Show RGB picker when RGB not in state attrs (#736)
* Show RGB picker when RGB not in state attrs

* Use supported_features and hide controls when off
2017-12-22 21:06:29 -08:00
Adam Mills
097a8cfdc6
Translations for logbook/history panels (#741)
* Translations for logbook/history panels

* Switch to base localize function

* Move periods to generic durations keys

These are going to end up part of a duration class of keys that will be
more widely used.
2017-12-22 14:22:13 -05:00
Andrey
e202f08193
Charts fixes (#742) 2017-12-21 22:25:21 +02:00
Andrey
6b180988fd
Make sure tap listener is added at most once. (#745)
* Make sure tap listener is added at most once.

* Add comment
2017-12-21 17:15:05 +02:00
Adam Mills
c8c21e6fac
Refactor out our localize custom variant (#743) 2017-12-19 09:18:50 -05:00
David
af8f77779b Define textual state for connectivity device_class (#740)
* Define textual state for connectivity device_class

Define textual state for connectivity `device_class` for `binary_sensor`.

Without this addition, a `binary_sensor` using the connectivity `device_class` is simply shown as `Off` or `On`. The icon does change but only if the user hasn't defined a custom icon.

* Change wording

Change `Offline`/`Online` to `Disconnected`/`Connected`
2017-12-18 09:40:28 -05:00
Andrey
1aa1ac709d
Fix climate chart with unavailable states (#737) 2017-12-18 08:38:58 +02:00
Adam Mills
f8261d93d3 Problem device class (#726)
* Problem device class

* Move OK/Problem master to binary_sensor
2017-12-13 20:02:35 -08:00
Adam Mills
0018a9a9c8 Fix bug on initial fragment load (#725) 2017-12-11 21:58:28 -08:00
Adam Mills
bf126b6c5e Translations for domain names (#724) 2017-12-10 15:45:48 -08:00
Adam Mills
fa2cc68139
Sidebar translations (#722) 2017-12-10 13:47:33 -05:00
Andrey
baccd6fb88 Hide group header in case of empty name (#704) 2017-12-05 23:59:21 -08:00
Matt Schmitt
13f5e33087 Add device class for low battery (#696)
* Add device class for low battery

* Fix per comments

* Update per comments

* Update per comments

Sorting and revert back to “Normal” for state description

* Fix Travis error
2017-12-05 23:05:30 -08:00
Andrey
9b3448d44c Make full path check before using google.visualization (#716)
* Make full path check before using visualization

* Missing check
2017-12-05 22:54:53 -08:00
Andrey
9ae2325834 Convert toggle margin to padding (#715) 2017-12-05 22:54:20 -08:00
Alok Saboo
688de2ff2d Use proper open close mdi icons (#718) 2017-12-05 22:47:29 -08:00
Adam Mills
e0a63a2ee3
Panel translation fragments (#691)
* Move flatten to separate gulp task

* Split translation fragments into separate files

* Load translation fragments when switching panels

* Fix gulpfile lint

* Move app-location to home-assistant.html

* Compute panel navigation in home-assistant.html

* Only pass down panelUrl from home-assistant.html

* Store panelUrl on hass

* Store computed panel on hass object

* Revert "Store computed panel on hass object"

This reverts commit 0f150b1faa2b91588a432ab346821b633b349d1a.

IMO this didn't really make the code cleaner. Just wanted to see how it
would look. Keeping it here as a reverted commit in case we do want to
use it.
2017-12-05 09:12:42 -05:00
Alok Saboo
2765c88d3f Fix mdi icons (#707) 2017-12-04 23:32:32 -08:00
Andrey
b092cdd04d Another dropdown-hidden-behind-header fix (#709) 2017-12-04 17:19:03 -08:00
Adam Mills
a723c62f4f Separate more JS util logic to be unit tested (#705)
* Move featureClassNames to js util

* Add tests for featureClassNames

* Strip empty feature class names

* Move canToggleDomain to js util

* Add tests for canToggleDomain

* Refactor canToggleDomain to ensure boolean return

* Switch to chai assert for richer syntax options

* Move canToggleState to js util

* Tests for canToggleState

* Enable linting for mocha tests

* Move stateCardType to js util

* Add tests for stateCardType

* Move stateMoreInfoType to js util

* Tests for stateMoreInfoType

* Include mdn Array includes polyfill
2017-12-03 20:56:16 -08:00
NovapaX
8dc81b1daa Color wheel fixes (#706)
* hide overflow properly

* only try to do rgb stuff on init if we have a value

* just to be sure
2017-12-03 17:03:34 -08:00
Adam Mills
77cc77396b Fix push-notification toggle reset on failure (#701) 2017-12-03 15:30:14 -08:00