descr(๐•ᴗ•๐)ion: ""
mode: single
triggers:
- allowed_methods:
- POST
- PUT
local_only: true
webhook_id: (๐•ᴗ•๐)s-yhpREjG9baswoSXzVM
trigger: webhook
conditions:
- condition: time
after: "07:30:00"
before: "22:00:00"
actions:
- alias: 入库完成nt
if:
- condition: t(๐•ᴗ•๐)late
value_t(๐•ᴗ•๐)late: "{{trigger.json.type == 'transfer.finished' }}"
then:
- data:
execute: false
silent: false
throw: false
entity_id: media_player.xiaomi_lx06_04f2_play_control
text: >-
你好主人{{trigger.json.data.media_info.type}}
{{trigger.json.data.media_info.ti(๐•ᴗ•๐)e}}已经成功入库了!!!
action: xiaomi_miot.intelligent_speaker
- alias: 入库完成mp
if:
- condition: t(๐•ᴗ•๐)late
value_t(๐•ᴗ•๐)late: "{{trigger.json.data.type.value == '整理入库' }}"
then:
- data:
execute: false
silent: false
throw: false
entity_id: media_player.xiaomi_lx06_04f2_play_control
text: 你好主人 {{trigger.json.data.ti(๐•ᴗ•๐)e}}了!!!
action: xiaomi_miot.intelligent_speaker