Мар 252021
 
binary_sensor:
# IR Recive Tasmota
# {"Time":"2021-03-25T11:36:52","IrReceived":{"Protocol":"UNKNOWN","Bits":19,"Hash":"0x07F1288A"}}
# tele/ESP32SSD1306/RESULT
  - platform: mqtt
    name: "Tasmota_IR_Test"
    state_topic: "tele/ESP32SSD1306/RESULT"
    value_template: "{{ value_json['IrReceived'].Hash }}"
    payload_on: "0x07F1288A"
    payload_off: "0xBB565681"
    availability_topic: "tele/ESP32SSD1306/LWT"
    payload_available: "Online"
    payload_not_available: "Offline"
    qos: 0
    device_class: door

Sorry, the comment form is closed at this time.