大佬问一个问题哈,我的蒸烤箱带微波功能,我就把您的配置文件拷贝了一个配置新的型号,但是设备添加的时候还是只能选择到TDPRO2的配置文件,请问您在调试过程中有遇到么,新增配置文件也放在devices下了
name: Casdon GR Pro
products:
- id: 8nnxljmypotmqdou
name: 凯度微蒸烤GR Pro
primary_entity:
entity: switch
icon: "mdi:power"
name: switch
dps:
- id: 1
type: boolean
name: switch
secondary_entities:
- entity: switch
name: start
icon: "mdi:play-pause"
dps:
- id: 2
name: switch
type: boolean
- entity: number
name: cook_temperature
dps:
- id: 7
name: value
type: integer
unit: C
range:
min: 0
max: 500
- entity: sensor
name: temp_current
class: temperature
dps:
- id: 8
name: sensor
type: integer
unit: C
readonly: true
range:
min: 0
max: 500
- entity: number
name: appointment_time
dps:
- id: 9
name: value
type: integer
optional: true
range:
min: 0
max: 1440
unit: min
class: measurement
- entity: number
icon: "mdi:timer-edit"
name: cook_time
dps:
- id: 10
name: value
type: integer
range:
min: 0
max: 1440
unit: min
class: measurement
- entity: sensor
icon: "mdi:timer"
name: remain_time
dps:
- id: 11
name: sensor
type: integer
readonly: true
range:
min: 0
max: 1440
unit: min
class: measurement
- entity: sensor
name: fault
category: diagnostic
dps:
- id: 13
type: string
name: sensor
mapping:
- dps_val: 0
value: OK
- dps_val: er1
value: "er1:腔体高温保护(腔体传感器温度高于290°C)"
- dps_val: er2
value: "er2:蒸发盘高温保护(蒸发盘传感器温度高于200°C)"
- dps_val: er3
value: "er3:腔体低温保护(连续工作5分钟温度低于35°C)"
- dps_val: er4
value: "er4:蒸发盘低温保护(连续工作5分钟温度低于35°C)"
- dps_val: er5
value: "er5:传感器连接出故障(腔体或蒸发盘传感器开路)"
- dps_val: er6
value: "er6:传感器感应出故障(腔体或蒸发盘传感器短路)"
- dps_val: er7
value: "er7:显示板通信故障"
- dps_val: er8
value: "er8:水箱缺水"
- dps_val: er9
value: "er9:门已打开"
- entity: sensor
name: cook_status
class: enum
dps:
- id: 102
name: sensor
type: string
readonly: true
mapping:
- dps_val: wait
value: 烹饪等待
- dps_val: reservation
icon: "mdi:cup-water"
value: 预约中
- dps_val: cooking
icon: "mdi:cup"
value: 烹饪中
- dps_val: cancel
icon: "mdi:cup"
value: 烹饪取消
- dps_val: done
icon: "mdi:cup"
value: 烹饪完成
- dps_val: pause
icon: "mdi:cup"
value: 烹饪暂停
- entity: switch
name: lamp
icon: "mdi:lightbulb-on"
dps:
- id: 103
name: switch
type: boolean
- entity: switch
name: preheat_setup
icon: "mdi:fire"
dps:
- id: 112
name: switch
type: boolean
- entity: select
name: all_mode
category: config
dps:
- id: 105
name: option
type: string
mapping:
- dps_val: "1"
value: 微博
- dps_val: "2"
value: 营养蒸
- dps_val: "3"
value: 高温蒸
- dps_val: "4"
value: 微蒸
- dps_val: "5"
value: 低湿蒸烤
- dps_val: "6"
value: 高湿蒸烤
- dps_val: "7"
value: 3D热风
- dps_val: "8"
value: 上下焙烤
- dps_val: "9"
value: 立体烧烤
- dps_val: "10"
value: 底部热风
- dps_val: "11"
value: 上强烤
- dps_val: "12"
value: 风扇烤
- dps_val: "13"
value: 微烤
- dps_val: "14"
value: 空气炸
- dps_val: "15"
value: 蒸汽炸
- dps_val: "16"
value: 解冻
- dps_val: "17"
value: 发酵
- dps_val: "18"
value: 菜谱模式
- dps_val: "19"
value: 保温
- dps_val: "20"
value: 自定义菜谱
- dps_val: "21"
value: 干果
- dps_val: "22"
value: 养生炖
- dps_val: "23"
value: 烘干
- dps_val: "24"
value: 除垢
- dps_val: "21"
value: 杀菌
- dps_val: "22"
value: 清洁
- dps_val: "23"
value: 单预热
- entity: select
name: micro_output_power
category: config
dps:
- id: 110
name: option
type: integer
unit: 瓦
mapping:
- dps_val: 100
value: 1档
- dps_val: 300
value: 2档
- dps_val: 500
value: 3档
- dps_val: 700
value: 4档
- dps_val: 900
value: 5档
- dps_val: 1100
value: 6档
- entity: sensor
name: invertor_error
category: diagnostic
dps:
- id: 111
type: string
name: sensor
mapping:
- dps_val: ier1
value: "UVP输⼊⽋压"
- dps_val: ier2
value: "OVP输⼊过压"
- dps_val: ier3
value: "OCP过流保护"
- dps_val: ier4
value: "OTP过温保护"
- dps_val: ier5
value: "MAGF磁控管故障"
- dps_val: ier6
value: "FOCP快速过流保护"
- dps_val: ier7
value: "0xVR⾼压谐振故障"
- dps_val: ier8
value: "SUR浪涌保护"
- dps_val: ier9
value: "空"
- dps_val: ier10
value: "Vcc辅助供电故障"
- dps_val: ier11
value: "Valley⾕底检测"
- dps_val: ier12
value: "ebm⾼压输出故障"
|