找回密码
 立即注册
楼主: nuknoop

[插件集成] 2025年元旦首发|无限免费豆包AI - 向拥抱智能再进一步

 火... [复制链接]

32

主题

319

回帖

4907

积分

元老级技术达人

积分
4907
金钱
4536
HASS币
80
 楼主| 发表于 2025-1-2 16:40:51 | 显示全部楼层
yalchina 发表于 2025-1-2 16:25
温度传感器正常,为什么我的豆包回复是这样

### 可用设备展示
```csv
entity_id,name,state,category
{%- for entity in states if 'automation.' not in entity.entity_id and entity.state not in ['unknown'] and not ('device_tracker.' in entity.entity_id and ('huawei' in entity.entity_id or 'Samsung' in entity.entity_id)) and 'iphone' not in entity.entity_id and 'daily_english' not in entity.entity_id and 'lenovo' not in entity.entity_id and 'time' not in entity.entity_id and 'zone' not in entity.entity_id and 'n1' not in entity.entity_id and 'z470' not in entity.entity_id and 'lao_huang' not in entity.entity_id and 'lao_huang_li' not in entity.entity_id and 'input_text' not in entity.entity_id and 'conversation' not in entity.entity_id  and 'camera' not in entity.entity_id  and 'update' not in entity.entity_id and 'IPhone' not in entity.entity_id and 'mac' not in entity.entity_id and 'macmini' not in entity.entity_id and 'macbook' not in entity.entity_id and 'ups' not in entity.entity_id and 'OPENWRT' not in entity.entity_id  and 'OPENWRT' not in entity.entity_id%}
{%- set category = '其他' %}
{%- if 'light.' in entity.entity_id %}{% set category = '灯' %}
{%- elif 'sensor.' in entity.entity_id and 'battery' in entity.entity_id %}
    {% set category = '电池' %}
{%- elif 'sensor.' in entity.entity_id and 'sun' in entity.entity_id %}
    {% set category = '太阳' %}
{%- elif 'sensor.' in entity.entity_id and ('motion' in entity.entity_id or 'presence' in entity.entity_id) %}
    {% set category = '人体存在' %}
{%- elif 'sensor.' in entity.entity_id and ('motion' in entity.entity_id or 'presence' in entity.entity_id) %}
    {% set category = '人体存在' %}
{%- elif 'climate.' in entity.entity_id %}{% set category = '空调' %}
{%- elif 'media_player.' in entity.entity_id %}{% set category = '媒体播放器' %}
{%- elif 'cover.' in entity.entity_id %}{% set category = '门窗' %}
{%- elif 'lock.' in entity.entity_id %}{% set category = '门锁' %}
{%- elif 'switch.' in entity.entity_id %}{% set category = '开关' %}
{%- elif 'sensor.' in entity.entity_id %}{% set category = '传感器' %}
{%- elif 'watering.' in entity.entity_id %}{% set category = '浇花器' %}
{%- elif 'fan.' in entity.entity_id %}{% set category = '风扇' %}
{%- elif 'air_quality.' in entity.entity_id %}{% set category = '空气质量' %}
{%- elif 'vacuum.' in entity.entity_id %}{% set category = '扫地机器人' %}
{%- elif 'person.' in entity.entity_id %}{% set category = '人员' %}
{%- elif 'binary_sensor.' in entity.entity_id and ('door' in entity.entity_id or 'window' in entity.entity_id) %}{% set category = '门窗' %}
{%- elif 'gas.' in entity.entity_id %}{% set category = '天然气' %}
{%- elif 'energy.' in entity.entity_id %}{% set category = '用电量' %}
{%- elif 'script.' in entity.entity_id %}{% set category = '脚本' %}
{%- elif 'scene.' in entity.entity_id %}{% set category = '场景' %}
{%- endif %}
{{- entity.entity_id }},{{ entity.name }},{{ entity.state }},{{ category }}
{%- endfor %}
请使用该提示词,点击进入配置选项中
回复

使用道具 举报

0

主题

29

回帖

219

积分

中级会员

积分
219
金钱
190
HASS币
0
发表于 2025-1-2 16:28:27 | 显示全部楼层
感谢楼主分享
回复

使用道具 举报

0

主题

8

回帖

69

积分

注册会员

积分
69
金钱
61
HASS币
0
发表于 2025-1-2 16:25:15 | 显示全部楼层
感谢大佬
回复

使用道具 举报

1

主题

28

回帖

167

积分

注册会员

积分
167
金钱
138
HASS币
0
发表于 2025-1-2 16:25:12 | 显示全部楼层
温度传感器正常,为什么我的豆包回复是这样
1.png
回复

使用道具 举报

1

主题

26

回帖

85

积分

注册会员

积分
85
金钱
58
HASS币
0
发表于 2025-1-2 16:01:11 | 显示全部楼层
感谢大佬~~
回复

使用道具 举报

2

主题

23

回帖

210

积分

中级会员

积分
210
金钱
185
HASS币
0
发表于 2025-1-2 15:33:05 | 显示全部楼层
牛掰!!!!!!!!!!!
回复

使用道具 举报

1

主题

28

回帖

167

积分

注册会员

积分
167
金钱
138
HASS币
0
发表于 2025-1-2 15:23:01 | 显示全部楼层
感谢大神分享,666
回复

使用道具 举报

xwc 

0

主题

6

回帖

58

积分

注册会员

积分
58
金钱
52
HASS币
0
发表于 2025-1-2 13:47:39 | 显示全部楼层
感谢大佬分享
回复

使用道具 举报

1

主题

6

回帖

38

积分

新手上路

积分
38
金钱
31
HASS币
0
发表于 2025-1-2 13:32:22 | 显示全部楼层
谢谢分享,想要多了解了解。
回复

使用道具 举报

0

主题

23

回帖

175

积分

注册会员

积分
175
金钱
152
HASS币
0
发表于 2025-1-2 10:00:23 | 显示全部楼层
感谢大佬分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-5-29 03:58 , Processed in 0.329730 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表