From 78134e6cc9e48d085d7b0df9cee5ffe36b2faaa1 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sat, 25 Jun 2022 17:42:26 +0300 Subject: [PATCH] Initial printer UI --- .../home_dashboard/living_room_dashboard.yaml | 4 ++++ config/lovelace/popup_cards.yaml | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/config/lovelace/home_dashboard/living_room_dashboard.yaml b/config/lovelace/home_dashboard/living_room_dashboard.yaml index 5c163f5..e10ecdd 100644 --- a/config/lovelace/home_dashboard/living_room_dashboard.yaml +++ b/config/lovelace/home_dashboard/living_room_dashboard.yaml @@ -156,6 +156,10 @@ - type: horizontal-stack cards: + - type: custom:button-card + template: v3_button + entity: sensor.printer_status + name: Printer - type: custom:button-card template: v3_button_power entity: switch.desk_outlet diff --git a/config/lovelace/popup_cards.yaml b/config/lovelace/popup_cards.yaml index 7787d0c..89d68a4 100644 --- a/config/lovelace/popup_cards.yaml +++ b/config/lovelace/popup_cards.yaml @@ -510,6 +510,18 @@ sensor.desk_outlet_power: - entity: sensor.desk_outlet_wifi name: Wifi strength +sensor.printer_status: + title: Brother Printer + card: + type: entities + entities: + - sensor.printer_black_toner_remaining + - sensor.printer_drum_remaining_life + - sensor.printer_duplex_unit_pages_counter + - sensor.printer_page_counter + - sensor.printer_uptime + + sensor.average_temperature: title: Temperatures card: