Whole home cold air scent diffuser automation is possible without crappy apps!

@phantom2 could you elaborate little more on how to integrate this thing to HA? I just received mine after seeing this post :slight_smile:

Edit:
Figured it out using a smart plug instead of fiddling with the API

alias: Diffuse
description: ""
trigger:
  - platform: time_pattern
    hours: "1"
condition:
  - condition: time
    after: "09:00:00"
    before: "00:00:00"
    weekday:
      - sat
      - fri
      - thu
      - wed
      - tue
      - mon
      - sun
action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.fan_mode
  - delay:
      hours: 0
      minutes: 0
      seconds: 20
      milliseconds: 0
  - type: turn_on
    device_id: cf462edb5676a0ec81b171ed91815b07
    entity_id: switch.tasmota_10
    domain: switch
  - delay:
      hours: 0
      minutes: 2
      seconds: 0
      milliseconds: 0
  - type: turn_off
    device_id: cf462edb5676a0ec81b171ed91815b07
    entity_id: switch.tasmota_10
    domain: switch
  - delay:
      hours: 0
      minutes: 3
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.fan_mode
mode: single