forked from tasmota/blueprints
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproscenic_t21_cooking_temperature.yaml
45 lines (34 loc) · 1.17 KB
/
proscenic_t21_cooking_temperature.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
blueprint:
name: 'Tasmota: Proscenic T21 Set Cooking Temperature when using °F'
description: |
Sets cooking Temperature when input_number is changed
Create a Number Helper before proceeding!
<details>

</details>
Used for [Proscenic T21 Air Fryer](https://templates.blakadder.com/proscenic_T21.html). Blog post with [instructions](https://blakadder.com/proscenic-in-home-assistant).
domain: automation
input:
inputnumber:
name: Number Helper
selector:
entity:
domain: input_number
topic:
name: Tasmota MQTT Topic
description: "Found in Information tab of the webUI. Beware, it is case sensitive!"
selector:
text:
mode: single
max_exceeded: silent
variables:
inputnumber: !input inputnumber
topic: !input topic
trigger:
- platform: state
entity_id: !input inputnumber
action:
- service: mqtt.publish
data:
topic: cmnd/{{ topic }}/TuyaSend2
payload: '103,{{ trigger.to_state.state }}'