diff --git a/panels/mailbox/ha-panel-mailbox.html b/panels/mailbox/ha-panel-mailbox.html new file mode 100644 index 0000000000..f0f97aa34d --- /dev/null +++ b/panels/mailbox/ha-panel-mailbox.html @@ -0,0 +1,260 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mailbox + + + + + + + You do not have any messages. + + + + + + + [[item.caller]] + [[item.duration]] secs + + + [[item.timestamp]] - [[item.message]] + + + + + + + + + + + Message Playback + + + text + + + + + + + Delete Message + Are you sure you want to delete this message? + + Decline + Accept + + + + + + diff --git a/src/components/ha-cards.html b/src/components/ha-cards.html index 232165258f..b0a988fc92 100644 --- a/src/components/ha-cards.html +++ b/src/components/ha-cards.html @@ -106,6 +106,7 @@ alarm_control_panel: 3, sensor: 5, binary_sensor: 6, + mailbox: 7, }; function getPriority(domain) { diff --git a/src/util/hass-util.html b/src/util/hass-util.html index f9fe871589..07c9385116 100644 --- a/src/util/hass-util.html +++ b/src/util/hass-util.html @@ -302,6 +302,9 @@ window.hassUtil.domainIcon = function (domain, state) { case 'lock': return state && state === 'unlocked' ? 'mdi:lock-open' : 'mdi:lock'; + case 'mailbox': + return 'mdi:mailbox'; + case 'media_player': return state && state !== 'off' && state !== 'idle' ? 'mdi:cast-connected' : 'mdi:cast';
Are you sure you want to delete this message?