From 6c32980bb95a6e982704cdd9283d9016d45bd646 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sat, 27 Jun 2020 19:13:06 +0300 Subject: [PATCH] Show number of automations --- config/lovelace/advanced_dashboard/08_automations.yaml | 2 ++ config/packages/modules/system.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/config/lovelace/advanced_dashboard/08_automations.yaml b/config/lovelace/advanced_dashboard/08_automations.yaml index c2eed31..06c25cb 100644 --- a/config/lovelace/advanced_dashboard/08_automations.yaml +++ b/config/lovelace/advanced_dashboard/08_automations.yaml @@ -23,6 +23,8 @@ cards: title: Misc show_header_toggle: false entities: + - entity: sensor.automations_count + icon: mdi:pound - automation.titanium_turn_off_when_idle - automation.speech_enable_when_meeting_is_over - automation.speech_disable_when_meeting_starts diff --git a/config/packages/modules/system.yaml b/config/packages/modules/system.yaml index 43dab84..27a7e78 100644 --- a/config/packages/modules/system.yaml +++ b/config/packages/modules/system.yaml @@ -29,6 +29,9 @@ sensor: sarah_url: friendly_name: "SARAH's URL" value_template: !secret sarah_url + automations_count: + friendly_name: "Number of automations" + value_template: "{{ states.automation | count }}" shell_command: