16022 Commits

Author SHA1 Message Date
Andrey
a1b578f81e Report JS errors to backend (#842) 2018-01-27 11:50:13 -08:00
Andrey
13f8fa7e11 Add version to JS (#839)
* Add version to JS

* Throw if version wasn't found
2018-01-26 23:27:11 -08:00
Fabien Piuzzi
c11a525a2d Added support for humidity display in the climate state (#838) 2018-01-26 10:54:14 -08:00
covrig
d21c1bc615 Add input_text mode:password (#837) 2018-01-26 10:47:53 -08:00
Paulus Schoutsen
42d11c5a3f Version bump to 20180126.0 2018-01-25 23:25:09 -08:00
Paulus Schoutsen
41fe6e8021 Update translations 2018-01-25 23:24:13 -08:00
c727
c3e35a27ba Get language from languages[] first, detect CN (#830) 2018-01-22 23:24:27 -08:00
c727
89464c16ff Fix play/pause icon (#825)
* Fix play/pause icon

* Fix hidden
2018-01-21 19:50:12 -08:00
Paulus Schoutsen
9c2f6e591d
Run Hass.io panel in an iframe (#678)
* Run Hass.io in an iframe

* Update hass.io build script

* Lint

* Lint

* Fix build script

* Lint
2018-01-21 00:39:56 -08:00
Andrey
3c95559f33 Extract climate state into a separate component (#820) 2018-01-20 22:09:45 -08:00
Matthias Dötsch
50ed7678a1 Add translate tags to "cards" (#818)
* Add translate tags to "cards"

affected cards:
 - camera card
 - persistent notification
 - weather

* Add translate tags to "cards"

code style

* Add translate tags to "cards"

changes from code review
2018-01-20 22:08:47 -08:00
Adam Mills
8649c5352b Core config translations (#821)
* Config dashboard translations

* Simplify config pages

* Core/Core/Validation

* Core/Core/Reloading

* Core/Core/Server_Management

* Core/Push_Notifications

* Core/Translation

* Core/Themes

* Initial hassbian config translations

* Switch to sentence cases
2018-01-20 22:08:22 -08:00
PeteBa
31bc099cef Aligning the front-end card with latest Plant component changes (#633)
* Aligning with latest backend plant component changes

* Address review comments and plant component alignment

* Revert PR636 to reinstate card

* Add plant domain icon
2018-01-20 21:48:24 -08:00
Victor Cerutti
447dd6640f feature : display input number next to slider (#808)
* feature : display input number next to slider

* Improvements for Box mode of input number

Add unit when available and align the value to the right

* fix for small width cards

hide state if slider width<100px

* add a space between if and (

* Fix value display after a window resize

State value is now hiding or showing correctly after a window resize, using iron-resize component

* fixes eslint validator

* Fix a typo in state-card

* Improvement : Apply all properties altogether

As suggered by @andrey-git, I made use of setProperties

* Watch for mode update of input_number

If a mode is updated and the box switches from "box" to "slider", it now also update the visibility of the state value depending on the slider width

* Update width showing state value

* Use ResizeObserver when available

* Fix conditionnal mistake

Related @andrey-git review here https://github.com/home-assistant/home-assistant-polymer/pull/808#pullrequestreview-90048982
2018-01-20 21:47:15 -08:00
Andrey
31d2b6ffe1 Disconnect dom in invisible tabs (#790)
* Clear dom in invisible tabs

* Disconnect DOM of inactive tabs
2018-01-20 21:47:04 -08:00
Andrey
aced689207 History improvements (#817) 2018-01-20 21:45:53 -08:00
Paulus Schoutsen
3736d45318 Version bump to 20180119.0 2018-01-19 09:53:18 -08:00
Paulus Schoutsen
5749e2f07c Update translations 2018-01-19 09:53:07 -08:00
Paulus Schoutsen
783f356679
Add timer card and badge (#810)
* Add timer card and badge

* Disable interval on disconnect

* Tests!

* One more test case

* Remove padStart

* Remove state from timer state card
2018-01-19 09:26:06 -08:00
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
Fabian Affolter
40731152e9
Enable probot move (#807) 2018-01-16 09:26:08 +01: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
Paulus Schoutsen
0b47d1f6a5 Version bump to 20180112.0 2018-01-11 15:50:18 -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
Paulus Schoutsen
f2358acf2d Version bump to 20180110.0 2018-01-10 00:51:42 -08:00
Paulus Schoutsen
c8e4ac422b Update translations 2018-01-10 00:50:42 -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
Andrey
0b9bd62251 Update canToggleState with toggleable climate (#782) 2018-01-04 23:57:23 -08:00
Nigel Rook
1d13126bb5 Use current date for input_datetime time rendering (#754)
* Use current date for input_datetime time rendering

Chrome has a bug where it fails to render times correctly using
toLocaleTimeString for certain dates in the past with non-normal
daylight saving rules. For the UK and New Zealand, this includes
1970-01-01. Instead of using this as the date when rendering the time
for a time only input_datetime, use the current date.

* Add comment

* Lint
2018-01-02 05:02:26 -08:00
Matt Schmitt
27d343b488 Update icons to match with actual state (#769) 2018-01-01 18:04:06 -08:00
Paulus Schoutsen
0a091a272c Version bump to 20180102.0 2018-01-01 17:12:20 -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
Paulus Schoutsen
eeb949a081
Allow resending email verification (#770) 2017-12-29 12:43:28 -08: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