2024年11月23日星期六 下午6:18:53

global | A - every 5 minute time-pattern-trigger say time - all speaker parallel

4 个月 前
#42456 引用
global | A - every 5 minute time-pattern-trigger say time - all speaker parallel

https://localhost:4999/config/automation/edit/1693846834258
0
4 个月 前
#42457 引用


alias: >-
  global | A - every 5 minute time-pattern-trigger say time -  all  speaker   parallel
description: >-
http://localhost:4999/boards/topic/31117/global-a-every-5-minute-time-pattern-trigger-say-time-all-speaker-parallel#42456
trigger:
  - platform: time_pattern
    minutes: /5
condition: []
action:
  - parallel:
      - service: tts.edge_tts_say
        data:
          entity_id: media_player.wifipuffer1c    #xiaodu speaker by dlna integration
          message: 现在时间{{ now().strftime('%H点%M分') }}
      - service: tts.edge_tts_say
        data:
          entity_id: media_player.qi_ju_shi  #homepod mimi speaker by homekit devices integration
          language: zh-CN
          message: 现在时间{{ now().strftime('%H点%M分') }}
      - service: xiaomi_miot.intelligent_speaker
        data:
          execute: false
          silent: false
          entity_id: media_player.xiaomi_lx06_026c_play_control   #xiaoai pro speaker by miot auto integration
          text: 现在时间{{ now().strftime('%H点%M分') }}
      - service: xiaomi_miot.intelligent_speaker
        data:
          execute: false
          silent: false
          entity_id: media_player.xiaomi_l05c_5ac1_play_control   #xiaoai play speaker by miot auto integration
          text: 现在时间{{ now().strftime('%H点%M分') }}
mode: single


0