找回密码
 立即注册
楼主: 消逝

[UI界面] 消逝-手机端(更新2025-04-20)

 火... [复制链接]
wubo 

0

主题

21

回帖

203

积分

中级会员

积分
203
金钱
182
HASS币
0
发表于 2024-7-9 15:56:03 | 显示全部楼层
本帖最后由 wubo 于 2024-7-9 15:58 编辑

楼主,我按照你的来做 为啥在天气那里提示  Button-card template 'weather' is missing!这串码:
info: '************************  天气动画效果  ************************'
          - type: custom:button-card
            entity: sensor.weather
            template: weather
            style:
              top: 170px
              left: 16.67%
              width: 800px
          - type: custom:button-card
            entity: sensor.weather
            template: weather
            style:
              top: 170px
              left: 50%
              width: 800px
          - type: custom:button-card
            entity: sensor.weather
            template: weather
            style:
              top: 170px
              left: 83.33%
              width: 800px
          - type: image


微信截图_20240709155519.png
回复

使用道具 举报

wubo 

0

主题

21

回帖

203

积分

中级会员

积分
203
金钱
182
HASS币
0
发表于 2024-7-9 18:57:47 | 显示全部楼层
hungheo 发表于 2024-7-4 10:35
几个图片的大小一样的情况下,在lovelace中的位置,高度,宽度,都要一致才行, ...

可以帮忙看下我的问题嘛
回复

使用道具 举报

1

主题

8

回帖

68

积分

注册会员

积分
68
金钱
59
HASS币
0
发表于 2024-7-9 20:13:34 | 显示全部楼层
6666666666
回复

使用道具 举报

0

主题

2

回帖

106

积分

注册会员

积分
106
金钱
104
HASS币
0
发表于 2024-7-9 22:46:20 | 显示全部楼层
学习一下大佬
回复

使用道具 举报

0

主题

4

回帖

36

积分

新手上路

积分
36
金钱
32
HASS币
0
发表于 2024-7-9 22:56:31 | 显示全部楼层
太牛了,cy顶一下,感谢分享
回复

使用道具 举报

mrna 

0

主题

2

回帖

44

积分

新手上路

积分
44
金钱
42
HASS币
0
发表于 2024-7-10 01:25:11 | 显示全部楼层
niude66666
回复

使用道具 举报

19

主题

261

回帖

2503

积分

金牌会员

积分
2503
金钱
2223
HASS币
0
发表于 2024-7-10 09:12:07 | 显示全部楼层
wubo 发表于 2024-7-9 15:56
楼主,我按照你的来做 为啥在天气那里提示  Button-card template 'weather' is missing!这串码:

楼主代码下面有个关于weather的模板 添加上去就好了
  weather:
    tap_action:
      action: none
    hold_action:
      action: none
    show_entity_picture: true
    show_name: false
    show_state: false
    layout: vertical
    entity_picture: |
      [[[ return "/local/UI/天气/"+entity.state+".gif" ]]]
回复

使用道具 举报

0

主题

11

回帖

120

积分

注册会员

积分
120
金钱
109
HASS币
0
发表于 2024-7-10 09:55:29 | 显示全部楼层
666666666666
回复

使用道具 举报

0

主题

13

回帖

130

积分

注册会员

积分
130
金钱
117
HASS币
0
发表于 2024-7-10 09:57:12 | 显示全部楼层
感谢分享,抄个作业
回复

使用道具 举报

wubo 

0

主题

21

回帖

203

积分

中级会员

积分
203
金钱
182
HASS币
0
发表于 2024-7-10 10:31:23 | 显示全部楼层
zhuzhuaini 发表于 2024-7-10 09:12
楼主代码下面有个关于weather的模板 添加上去就好了

嗯嗯  确实好了 感谢
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2025-5-1 20:08 , Processed in 0.103597 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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