language: zh-TW
intents:
HassGetState:
data:
# https://www.home-assistant.io/integrations/binary_sensor/
- sentences:
- "[]電量[(目前 | 現在)]{bs_battery_states:state}[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: battery
slots:
domain: binary_sensor
device_class: battery
- sentences:
- "[][(目前 | 現在)][(正在|正)]{bs_battery_charging_states:state}[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: battery_charging
slots:
domain: binary_sensor
device_class: battery_charging
- sentences:
- "[][(目前|現在)][(有沒有|有)]{bs_carbon_monoxide_states:state}[到](二氧化碳|CO2|)[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: carbon_monoxide
slots:
domain: binary_sensor
device_class: carbon_monoxide
- sentences:
- "[][(目前|現在)][(是不是|是)]{bs_cold_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: cold
slots:
domain: binary_sensor
device_class: cold
- sentences:
- "[][(目前|現在)][(是不是|是)]{bs_connectivity_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: connectivity
slots:
domain: binary_sensor
device_class: connectivity
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_door_states:state}[的][狀態][著][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: door
slots:
domain: binary_sensor
device_class: door
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_garage_door_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: garage_door
slots:
domain: binary_sensor
device_class: garage_door
- sentences:
- "[][(目前 | 現在)][(有沒有|有)]{bs_gas_states:state}[到](|瓦斯|天然氣)[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: gas
slots:
domain: binary_sensor
device_class: gas
- sentences:
- "[][(目前 | 現在)][(是不是|是)][(有沒有|有)][發]{bs_heat_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: heat
slots:
domain: binary_sensor
device_class: heat
- sentences:
- "[][(目前 | 現在)][(有沒有|有)]{bs_light_states:state}到(光線|)[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: light
slots:
domain: binary_sensor
device_class: light
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_lock_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: lock
slots:
domain: binary_sensor
device_class: lock
- sentences:
- "[][(目前 | 現在)][(是不是|是)][(有沒有|有)]{bs_moisture_states:state}[的][狀態][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: moisture
slots:
domain: binary_sensor
device_class: moisture
- sentences:
- "[][的][(目前 | 現在)][(有沒有|有)]{bs_motion_states:state}[到]動作[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: motion
slots:
domain: binary_sensor
device_class: motion
- sentences:
- "[][的][(目前 | 現在)][(有沒有|有)]{bs_occupancy_states:state}[到](動作|佔空|有人)[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: occupancy
slots:
domain: binary_sensor
device_class: occupancy
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_opening_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: opening
slots:
domain: binary_sensor
device_class: opening
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_plug_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: plug
slots:
domain: binary_sensor
device_class: plug
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_power_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: power
slots:
domain: binary_sensor
device_class: power
- sentences:
- "[][(目前 | 現在)][(是不是|是)][(有沒有|有)]{bs_presence_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: presence
slots:
domain: binary_sensor
device_class: presence
- sentences:
- "[][(目前 | 現在)][(有沒有|有)][發生][任何]問題[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: problem
slots:
domain: binary_sensor
device_class: problem
state: "on"
- sentences:
- "[][(目前 | 現在)][(是不是|是)][(有沒有|有)][在]{bs_running_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: running
slots:
domain: binary_sensor
device_class: running
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_safety_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: safety
slots:
domain: binary_sensor
device_class: safety
- sentences:
- "[][(目前 | 現在)][(有沒有|有)]{bs_smoke_states:state}到(煙霧|煙)[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: smoke
slots:
domain: binary_sensor
device_class: smoke
- sentences:
- "[][][(目前 | 現在)][(有沒有|有)][任何]煙霧[嗎]"
response: any
slots:
domain: binary_sensor
device_class: smoke
state: "on"
- sentences:
- "[][(目前 | 現在)][(有沒有|有)]{bs_sound_states:state}[到][的]聲音[嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: sound
slots:
domain: binary_sensor
device_class: sound
- sentences:
- "[][(目前 | 現在)][(有沒有|有)]{bs_tamper_states:state}[的][狀態][的][嗎|嘛]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: tamper
slots:
domain: binary_sensor
device_class: tamper
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_update_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: update
slots:
domain: binary_sensor
device_class: update
- sentences:
- "[][(目前|現在|正在)][(有沒有|有)]{bs_vibration_states:state}[的][狀態][的|中][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: vibration
slots:
domain: binary_sensor
device_class: vibration
- sentences:
- "[][(目前 | 現在)][(是不是|是)]{bs_window_states:state}[的][狀態][的][嗎]"
response: one_yesno
requires_context:
domain: binary_sensor
device_class: window
slots:
domain: binary_sensor
device_class: window