跳到主要内容
版本:V4.0

标准物模型


基础能力控制

控制类型能力说明lightswitchbuttoncoverclimatelock
turn_on打开
turn_off关闭
toggle切换
press按下
lock锁上
unlock解锁
open打开
close关闭
stop停止

控制类型能力说明sensorbinary_sensorscenario_switch
turn_on打开
turn_off关闭
toggle切换
press按下
lock锁上
unlock解锁
open打开
close关闭
stop停止


基础状态查看

状态类型状态说明lightswitchbuttoncoverclimatelock
on
off
press按下
release释放
open
opening正在开
closed
closing正在关
locked锁着
unlocked未锁着
{value}数值

状态类型状态说明sensorbinary_sensorscenario_switch
on
off
press按下
release释放
open
opening正在开
closed
closing正在关
locked锁着
unlocked未锁着
{value}数值


附加属性信息

附加属性参数类型附加属性说明附加属性能力控制附加属性状态查看可匹配设备类型
typeString传感器类型:
infrared:红外
smoke:烟雾
gas:燃气
flood:水浸
motion:移动
tamper:防拆
door:门磁
co:一氧化碳
safety:紧急按钮
binary_sensor
typeString传感器类型:
battery:电量
temperature:温度
humidity:湿度
brightness:亮度
energy:能耗
power:功率
sensor
brightnessInteger亮度,范围:0-255light
brightness_percentInteger亮度百分比,范围:0-100light
brightness_levelString亮度级别:
low:低亮度级别
medium:中亮度级别
high:高亮度级别
light
min_miredsInteger色温最小值,范围:153-500light
max_miredsInteger色温最大值,范围:153-500light
color_temperatureInteger色温,范围在 min_mireds 与 max_mireds 之间light
hs_color[]Integer色域,基于HSV颜色模型,参数格式 [h, s]
h:0-360
s:0-100
light
white_valueInteger白度值,范围:0-100light
preset_modeString预设模式:
home:居家
away:离家
sleep:睡眠
standby:待命
comfort:舒适
eco:节能
protect:保护
auto:自动
energy_saving:节能
performance:性能
climate
support_preset_mode[]String所支持的预设模式:
home:居家
away:离家
sleep:睡眠
standby:待命
comfort:舒适
eco:节能
protect:保护
auto:自动
energy_saving:节能
performance:性能
climate
preset_temperatureFloat预设温度,范围:5.0-35.0climate
hvac_modeString空气调节模式:
unknown:未知
off:关闭
heat:加热
cool:制冷
auto:自动
floor_heat:地板加热
fan_only:风扇
dry:干燥
manual:手动
program:程序
auxiliary_heat:电辅热
heat_and_auxiliary_heat:加热与电辅热
holiday:假日
temp_manual:临时手动
climate
support_hvac_mode[]String所支持的空气调节模式:
unknown:未知
off:关闭
heat:加热
cool:制冷
auto:自动
floor_heat:地板加热
fan_only:风扇
dry:干燥
manual:手动
program:程序
auxiliary_heat:电辅热
heat_and_auxiliary_heat:加热与电辅热
holiday:假日
temp_manual:临时手动
climate
fan_modeString风扇模式:
unknown:未知
off:关
auto:自动
very_low:非常低
low:低
medium:中
high:高
top:最高
auto_medium:自动中
climate
support_fan_mode[]String所支持的风扇模式:
unknown:未知
off:关
auto:自动
very_low:非常低
low:低
medium:中
high:高
top:最高
auto_medium:自动中
climate
position_percentInteger位置百分比,范围:0-100cover
tilt_angle_percentInteger倾角百分比,范围:0-100cover
support_statusBoolean支持进行中的状态:
true:支持 opening 与 closing 状态类型
false:不支持 opening 与 closing 状态类型
cover
doorbellString门铃:
on:开
off:关
lock
bind_sceneBoolean绑定场景:
true:已绑定
false:未绑定
scenario_switch
swing_modeString摆动模式:
auto:自动
fix_1:方位1
fix_2:方位2
fix_3:方位3
fix_4:方位4
fix_5:方位5
climate