diff --git a/atom.xml b/atom.xml index 82268aea2b..41de396c1a 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2015-06-23T23:49:58-07:00 + 2015-06-25T00:06:36-07:00 https://home-assistant.io/ diff --git a/blog/categories/architecture/atom.xml b/blog/categories/architecture/atom.xml index 5c768088f1..2878e953c4 100644 --- a/blog/categories/architecture/atom.xml +++ b/blog/categories/architecture/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: architecture | Home Assistant]]> - 2015-06-23T23:49:58-07:00 + 2015-06-25T00:06:36-07:00 https://home-assistant.io/ diff --git a/blog/categories/branding/atom.xml b/blog/categories/branding/atom.xml index c8f32399d2..454b4107ea 100644 --- a/blog/categories/branding/atom.xml +++ b/blog/categories/branding/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: branding | Home Assistant]]> - 2015-06-23T23:49:58-07:00 + 2015-06-25T00:06:36-07:00 https://home-assistant.io/ diff --git a/blog/categories/component/atom.xml b/blog/categories/component/atom.xml index 33c99283bd..b806905d4d 100644 --- a/blog/categories/component/atom.xml +++ b/blog/categories/component/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: component | Home Assistant]]> - 2015-06-23T23:49:58-07:00 + 2015-06-25T00:06:36-07:00 https://home-assistant.io/ diff --git a/blog/categories/core/atom.xml b/blog/categories/core/atom.xml index 6162a44871..237542957a 100644 --- a/blog/categories/core/atom.xml +++ b/blog/categories/core/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: core | Home Assistant]]> - 2015-06-23T23:49:58-07:00 + 2015-06-25T00:06:36-07:00 https://home-assistant.io/ diff --git a/blog/categories/frontend/atom.xml b/blog/categories/frontend/atom.xml index 2cd0818493..b933517ef9 100644 --- a/blog/categories/frontend/atom.xml +++ b/blog/categories/frontend/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: frontend | Home Assistant]]> - 2015-06-23T23:49:58-07:00 + 2015-06-25T00:06:36-07:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 3b237aa7e7..1740eb7f62 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: release-notes | Home Assistant]]> - 2015-06-23T23:49:58-07:00 + 2015-06-25T00:06:36-07:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index e9f559d0b2..2667fb68b5 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: website | Home Assistant]]> - 2015-06-23T23:49:58-07:00 + 2015-06-25T00:06:36-07:00 https://home-assistant.io/ diff --git a/demo/frontend.html b/demo/frontend.html index f9bf4e9502..9af0f50c1f 100644 --- a/demo/frontend.html +++ b/demo/frontend.html @@ -5803,7 +5803,6 @@ this._removeChildren(); } }); - - - - - - - @@ -22798,7 +20880,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
- + Loading logbook entries
@@ -22849,6 +20931,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN function(entries) { return entries.toArray(); }, ], }, + + datePicker: { + type: Object, + }, }, isStaleChanged: function(newVal) { @@ -22860,15 +20946,25 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN } }, - handleShowDatePicker: function() { - uiActions.showDatePicker( - logbookActions.changeCurrentDate, - this.selectedDate); - }, - handleRefresh: function() { logbookActions.fetchDate(this.selectedDate); }, + + datepickerFocus: function() { + this.datePicker.adjustPosition(); + this.datePicker.gotoDate(moment('2015-06-30').toDate()); + }, + + attached: function() { + this.datePicker = new Pikaday({ + field: this.$.datePicker.inputElement, + onSelect: logbookActions.changeCurrentDate, + }); + }, + + detached: function() { + this.datePicker.destroy(); + }, }); })(); @@ -23162,7 +21258,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
- +
@@ -23218,10 +21314,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN entityHistoryActions.fetchSelectedDate(); }, - handleShowDatePicker: function() { - uiActions.showDatePicker( - entityHistoryActions.changeCurrentDate, - this.selectedDate); + datepickerFocus: function() { + this.datePicker.adjustPosition(); + this.datePicker.gotoDate(moment('2015-06-30').toDate()); + }, + + attached: function() { + this.datePicker = new Pikaday({ + field: this.$.datePicker.inputElement, + onSelect: entityHistoryActions.changeCurrentDate, + }); + }, + + detached: function() { + this.datePicker.destroy(); }, computeContentClasses: function(narrow) { @@ -24521,1285 +22627,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN })(); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -