diff --git a/panels/history/ha-panel-history.html b/panels/history/ha-panel-history.html
index 00ac7e1264..ac911f6185 100644
--- a/panels/history/ha-panel-history.html
+++ b/panels/history/ha-panel-history.html
@@ -132,7 +132,7 @@ Polymer({
attached: function () {
this.datePicker = new window.Pikaday({
- field: document.createElement("input"),
+ field: document.createElement('input'),
trigger: this.$.datePicker.inputElement,
onSelect: this.hass.entityHistoryActions.changeCurrentDate,
});
diff --git a/panels/logbook/ha-panel-logbook.html b/panels/logbook/ha-panel-logbook.html
index bc61fc4662..629a05e4ea 100644
--- a/panels/logbook/ha-panel-logbook.html
+++ b/panels/logbook/ha-panel-logbook.html
@@ -139,7 +139,7 @@ Polymer({
attached: function () {
this.datePicker = new window.Pikaday({
- field: document.createElement("input"),
+ field: document.createElement('input'),
trigger: this.$.datePicker.inputElement,
onSelect: this.hass.logbookActions.changeCurrentDate,
});