From 89890807466f0ec171d314a9913697fb43f845a2 Mon Sep 17 00:00:00 2001 From: pksobon <55964396+pksobon@users.noreply.github.com> Date: Mon, 29 May 2023 21:27:25 +0200 Subject: [PATCH] Update button.py --- custom_components/hon/button.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/custom_components/hon/button.py b/custom_components/hon/button.py index a4d089d..1309914 100644 --- a/custom_components/hon/button.py +++ b/custom_components/hon/button.py @@ -35,6 +35,20 @@ BUTTONS: dict[str, tuple[ButtonEntityDescription, ...]] = { translation_key="stop_program", ), ), + "HO": ( + ButtonEntityDescription( + key="startProgram", + name="Start Program", + icon="mdi:hvac", + translation_key="start_program", + ), + ButtonEntityDescription( + key="stopProgram", + name="Stop Program", + icon="mdi:hvac-off", + translation_key="stop_program", + ), + ), }