Created
September 23, 2021 13:48
-
-
Save txq92/c06af84ee9c80b107247adfb2b60cba4 to your computer and use it in GitHub Desktop.
Revisions
-
txq92 created this gist
Sep 23, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ - platform: mqtt name: "quat toilet" command_topic: "cmnd/tasmota_44CBF3/IRSend" payload_on: "0,1274,402,1272,402,434,1266,1248,428,1248,402,434,1244,434,1244,1270,402,434,1244,434,1244,434,1268,410,7968" payload_off: "0,1268,406,1242,432,432,1246,1266,408,1266,408,406,1272,428,1250,430,1246,434,1244,406,1272,432,1244,1270,7128" oscillation_command_topic: "cmnd/tasmota_44CBF3/IRSend" payload_oscillation_on: "0,1276,406,1278,408,406,1300,1252,430,1252,428,400,1286,412,1272,410,1248,436,1272,386,1274,1276,404,436,7996" payload_oscillation_off: "0,1276,406,1278,408,406,1300,1252,430,1252,428,400,1286,412,1272,410,1248,436,1272,386,1274,1276,404,436,7996" availability_topic: "tele/tasmota_44CBF3/LWT" payload_available: "Online" payload_not_available: "Offline" preset_modes: - 'off' - 'low' - 'medium' - 'max' preset_mode_command_topic: "cmnd/tasmota_44CBF3/IRSend" preset_mode_command_template: > {% if value == 'low' %} 0,1274,402,1272,402,434,1266,1248,428,1248,402,434,1244,434,1244,1270,402,434,1244,434,1244,434,1268,410,7968 {% elif value == 'off' %} 0,1268,406,1242,432,432,1246,1266,408,1266,408,406,1272,428,1250,430,1246,434,1244,406,1272,432,1244,1270,7128 {% else %} 0,1274,402,1272,402,434,1266,1248,428,1248,402,434,1244,434,1244,1270,402,434,1244,434,1244,434,1268,410,7968 {% endif %} preset_mode_state_topic: "stat/tasmota_44CBF3/RESULT " preset_mode_value_template: > {% if value_json.IRSend == 'Done' %} off {% else %} max {% endif %}