@@ -23,6 +24,14 @@
width: auto;
}
+ paper-dialog[data-domain=history_graph] {
+ width: 90%;
+ }
+
+ paper-dialog[data-domain=history_graph] h2 {
+ display: none;
+ }
+
state-history-charts {
position: relative;
z-index: 1;
@@ -48,6 +57,13 @@
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
+ paper-dialog[data-domain=history_graph] {
+ width: 100%;
+ }
+ }
+
+ dom-if {
+ display: none;
}
@@ -63,10 +79,11 @@
diff --git a/src/more-infos/more-info-content.html b/src/more-infos/more-info-content.html
index 23b3f76c6e..1694403c0b 100644
--- a/src/more-infos/more-info-content.html
+++ b/src/more-infos/more-info-content.html
@@ -8,6 +8,7 @@
+
diff --git a/src/more-infos/more-info-history_graph.html b/src/more-infos/more-info-history_graph.html
new file mode 100644
index 0000000000..caed29b392
--- /dev/null
+++ b/src/more-infos/more-info-history_graph.html
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/util/hass-util.html b/src/util/hass-util.html
index 504005346b..03ef4bfb31 100644
--- a/src/util/hass-util.html
+++ b/src/util/hass-util.html
@@ -25,11 +25,11 @@ window.hassUtil.DOMAINS_WITH_CARD = [
window.hassUtil.DOMAINS_WITH_MORE_INFO = [
'alarm_control_panel', 'automation', 'camera', 'climate', 'configurator',
- 'cover', 'fan', 'group', 'light', 'lock', 'media_player', 'script',
+ 'cover', 'fan', 'group', 'history_graph', 'light', 'lock', 'media_player', 'script',
'sun', 'updater', 'vacuum',
];
-window.hassUtil.DOMAINS_WITH_NO_HISTORY = ['camera', 'configurator', 'scene'];
+window.hassUtil.DOMAINS_WITH_NO_HISTORY = ['camera', 'configurator', 'history_graph', 'scene'];
window.hassUtil.HIDE_MORE_INFO = [
'input_select', 'scene', 'script', 'input_number', 'input_text'
@@ -274,6 +274,9 @@ window.hassUtil.domainIcon = function (domain, state) {
case 'fan':
return 'mdi:fan';
+ case 'history_graph':
+ return 'mdi:chart-line';
+
case 'group':
return 'mdi:google-circles-communities';