CookCommand
    
    
      
    
    
      
      透過集合功能整理內容
    
    
      
      你可以依據偏好儲存及分類內容。
    
  
  
      
    
  
  
  
  
  
  
    
    
    
  
  
  
說明
開始或停止烹調。
欄位
| 
金鑰
 | 
類型 | 
說明 | 
devices
 | 
[裝置]
 | 
 支援設定頻道的裝置。 必填 
 | 
start
 | 
Bool
 | 
 true 開始烹調,false 停止目前的烹調模式。
 必填 
 | 
cookingMode
 | 
String
 | 
 裝置要求的烹調模式。 選用 可用值因裝置而異。 
 | 
foodPreset
 | 
String
 | 
 使用者要求的食物預設名稱。 選用 可用值因裝置而異。 
 | 
quantity
 | 
號碼
 | 
 使用者要求的食物數量。 選用 
 | 
unit
 | 
String
 | 
 與數量相關聯的單位。 選用 可用值因裝置而異。 
 | 
範例
actions:
- type: device.command.Cook
  devices: My Device - Room Name
  start: true
  cookingMode: Some String
  
  
  
 
  
    
    
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-10-31 (世界標準時間)。
  
  
  
    
      [[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["資訊不正確","incorrectInformation","thumb-down"],["資訊/範例不足","notEnoughInformationSamples","thumb-down"],["太複雜","tooComplicated","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-10-31 (世界標準時間)。"],[],[]]