Commit Graph

17 Commits

Author SHA1 Message Date
Paulus Schoutsen a1057681f1 Initial getting rid of HA-JS (#180)
Getting rid of HA-JS
2017-01-29 18:34:45 -08:00
andrey-git 5159326a7b Show attribute in more-info of light and lock. (#179)
* Show attribute in more-info of light and lock.

* Use <ha-attributes> in weather card

* Inline functions from hass-util

Inline functions from hass-util now  that ha-attributes is the only user.

* Inline functions from hass-util

* Weathrer's FILTER_KEYS is no longer needed.

* Cache csv split
2017-01-25 09:30:02 -08:00
Adam Mills c8af07ab6b Display attributions separately in more-info (#176)
* Display attributions separately in more-info

* Fix js lint

* Rename to formatAttributeValue

* Properly declare the computed bindings
2017-01-20 22:05:10 -08:00
Robbie Trencheny abe798d121 Add a more info card for the fan component (#177)
* Add a more info card for fan and make the fan icon spin

* Add direction support to fan more info

* Fix ESLint errors

* Fix ESLint errors

* Remove spinning fan icon :(
2017-01-20 22:03:06 -08:00
andrey-git c7d44320d5 Allow cleanup on closing more-info (#165)
* Remove camera's streaming source from camera's 'more info' when more-info is closed.

* Rename to isVisible

* Rename to isVisible

* Split dynamicContentUpdater

Split dynamicContentUpdater into two functions intended for 'normal' flow and 'hide' flow.

* Use hassUtil.resetDynamicContent

* Fix lint

* Fix lint

* Move isVisible to more-info-content

* Move isVisible to more-info-content

* Typo

* Avoid modifying the original state

* Put isVisible in the right place

* Inline resetDynamicContent

* Inline resetDynamicContent

* Fix lint
2017-01-09 01:35:21 +01:00
Michaël Arnauts 57071f7250 Fix locale for non-english users (#170)
* Take navigator.languages into account when determining the preferred language

* Lookup language only once, use it also for other date/time functions

* Show the date picker value in localized date

* Show the date picker value in localized date (in history)
2017-01-05 14:38:27 +01:00
Pete Peterson 0b6b308ca3 Add remote domain icon (#161)
to address: https://github.com/home-assistant/home-assistant/issues/4772
2016-12-05 23:38:15 -08:00
Sebastian von Minckwitz 4697af1b0d Add option to hide the group card switch (#159)
* Add option to hide the group card switch

* Changed hide_switch to control

* lint

* lint again

* Pick state-card-display if control is hidden

* fix permissions
2016-12-05 17:47:29 -08:00
Justin Weberg 8ba1632edf Remove deprecated from hass-util (#144) 2016-10-26 06:04:12 -07:00
Robbie Trencheny 247d951e1e Occupancy sensor class (#103)
* Sort the binarySensorIcon cases

* Add the occupancy sensor_class
2016-09-03 22:56:12 -06:00
Robbie Trencheny 3d77da0346 Add a default icon for the fan component (#101) 2016-09-01 21:55:35 -07:00
Paulus Schoutsen ffce92d026 Add automation more info 2016-09-01 10:49:31 +01:00
John Arild Berentsen 670ba0292b first go at cover frontend (#94)
* first go at cover frontend

* missing import
2016-08-23 18:24:12 -07:00
John Arild Berentsen 533ac9fade First draft of climate (#91)
* First draft of climate

* Use thermostat state card info

* Make sure temperature is updated
2016-08-19 00:28:35 -07:00
Adam Mills 744198cdc9 Use native date formatting functions if available (#87)
With the removal of moment.js, dates and times are no longer formatted
using the native locale. This allows the browser to format if the
functionality is available (Everyone but Safari).

Also included is a correction in relativeTime. Times in the future were
being displaed incorrectly -xxx seconds, and the in/ago verbage was
reintroduced.
2016-08-10 13:30:06 -07:00
Paulus Schoutsen 7ae4b50167 Remove moment in favor of fecha 2016-07-31 19:05:44 -07:00
Paulus Schoutsen 111b6c6f48 More ES6->ES5 conversion 2016-07-17 23:18:48 -07:00