From 7871334b4a351684fd49a5bbf9fd5af18b6358a3 Mon Sep 17 00:00:00 2001 From: thmichel Date: Mon, 13 Oct 2025 13:20:50 +0200 Subject: [PATCH] Updated Readme and Mianifest --- README.md | 20 +++++++- manifest.xml | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 023f49f..d7e3b91 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,24 @@ Example schema: "service": "scene.turn_on", "pin": true } - } + }, + { + "name": "Heating", + "content": "{{ ' %.1f' | format(state_attr('climate.myheating','temperature')) }}", + "type": "numeric", + "entity": "climate.myheating", + "tap_action": { + "service": "climate.set_temperature", + "data": { + "step": "0.5", + "start": "10", + "stop": "30", + "valueLabel": "temperature", + "formatString": "%.1f" + } + }, + "pin": false + } , ] } ``` @@ -157,6 +174,7 @@ The example above illustrates how to configure: * Script invocation (`tap`) * Service invocation, e.g. Scene setting, (`tap`) * A sub-menu to open (`group`) +* A numeric item (`numeric`), which allows you to set a numeric value e.g. for heating or a dimmer. ValueLabel defines the variable to return. You can optionally set the minimum (start) and maximum (stop) value as well as the step to increase/decrease and a tepmlate how to format the value. * You can also display the status of devices (`info`) which is essentially a `tap` with no action * All menu items can display the results of evaluating [templates](examples/Templates.md). diff --git a/manifest.xml b/manifest.xml index 2f6bc8f..2206c62 100644 --- a/manifest.xml +++ b/manifest.xml @@ -33,7 +33,141 @@ "Monkey C: Edit Products" - Lets you add or remove any product --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +