因此,如果将传感器添加到自定义:输出字符串的微型绘图卡,则此卡不会显示此卡以外的任何内容。示例:我有一个sesnor,输出在磁盘驱动器上使用了空间。传感器以状态输出单元,因此结果是“ 34GB”,而不是34。发生这种情况时,当前视图中此卡下方的所有内容都不会加载。

- type: custom:swipe-card card_width: '185px' start_card: 1 parameters: effect: 'coverflow' grabCursor: true centeredSlides: true slidesPerView: 'auto' coverflowEffect: rotate: 50 stretch: 0 depth: 100 modifier: 1 slideShadows :真正的分页:类型:“子弹”卡:#如果传感器.used_space_volume_1返回无法转换为数字的字符串,则此卡会打破滑动卡和下面的每张卡片##滑动卡##。- 类型:自定义:Mini-Graph-Card实体:Sensor.used_space_volume_1名称:二手line_width:8 line_color:'#ff6384'

编辑:要澄清,如果我使用其他配置,则可以正常工作。看起来好像不包含图形的“较小大小”卡会使此确切的配置变得更加混乱。

编辑:似乎只是习俗:引起问题的迷你画牌。它只是没有一些传感器显示。

上次编辑:从0.75.3更新到0.80。修复了我对此遇到的所有问题。

干得好:

https://raw.githubusercontent.com/bramkragten/custom-ui/master/updater.json

太好了,非常感谢。见下文。

1喜欢

很棒,真的可以节省UI

是否可以给整张卡给标题?
我尝试了姓名:标题:但是没有成功。

谢谢!

1喜欢

嘿!

这是一个错误吗?应该:

-URL:/local/custom-lovelace/swipe-card/swiper-card.js?v=1.0类型:JS

不是Swipe-card.jsswiper-card.js

@bram_kragten我第二个伍迪,这将是对卡片的不错的增强。

嗨,您能分享该配置吗?我正在使用按钮卡,但我无法成功使用swiper:皱眉:

哇...我不得不说这是美丽的,第一次效果很好,没有问题……
这确实使UI流行音乐,感觉就像是主要的HA升级。

非常感谢!!!

有人可以共享此滑动卡的代码吗?

谢谢

- 类型:自定义:滑动卡参数:spaceBetweed:8 cards: - 类型:垂直堆栈卡片: - 类型:水平堆栈卡片: - 类型:Entity-button entity:light.Eettafel Icon:MDI:MDI:MDI:SOFA颜色:红色:红色:红色动作:more_info名称:tafel-类型:entity button entity:light.eettafel图标:mdi:coiling-light action:more_info name:tafel name:tafel-类型:entity button entity:light.ron.ron iCon.ron iCON:mdi:mdi:lamp Action:more_info名称名称:More_info名称名称名称:More_info名称名称:电视 - 类型:实体按钮实体:light.snape图标:MDI:落地灯泡动作:more_info名称:地板 - 类型:水平堆栈卡片: - 类型:Entity button entity:light.living_room_light_lights Icon:mdi:mdi:sofa:sofa:sofa:sofa动作:More_info名称:生活 - 类型:Entity-Button Entity:Light.Harry Icon:MDI:coiling-light Action:More_info名称:天花板:类型:Entity button Entity:light.ron.ron.ron iCon:MDI:lamp Action:More_info名称:More_info名称名称名称:电视 - 类型:实体按钮实体:light.snape图标:MDI:落地灯泡动作:more_info名称:floor-类型:垂直堆栈卡片: - 类型:水平堆栈卡片: - 类型: - 类型:Entity-button Entity:LighT.Eettafel图标:MDI:沙发颜色:红色动作:More_info名称:TAFEL-类型:Entity-Button Entity:Light.Eettafel Icon:MDI:MDI:coiling-light take:More_info名称:tafel名称:tafel-类型:entity-button entity:entity buttity:Light:Light:Light:Light:Light:Light:Light:Light:.RON图标:MDI:灯操作:more_info名称:电视 - 类型:实体键实体:light.snape图标:mdi:floor-lamp Action:more_info名称:floor name:floor-类型 - 类型:水平堆栈卡片: - 类型: - 类型:entity:entity:entity-但ton entity: light.living_room_lights icon: mdi:sofa action: more_info color_type: card name: Living - type: entity-button entity: light.harry icon: mdi:ceiling-light action: more_info name: Ceiling - type: entity-button entity: light.ron icon: mdi:lamp action: more_info name: TV - type: entity-button entity: light.snape icon: mdi:floor-lamp action: more_info name: Floor
1喜欢

为什么我在具有相同代码的两张卡之间得到了这么小的区别?

19

- type: custom:swipe-card card_width: '80%' parameters: effect: 'coverflow' centeredSlides: true slidesPerView: 'auto' spaceBetween: 8 pagination: type: 'progressbar' navigation: keyboard: enabled: true onlyInViewport: true cards: - 类型:传感器实体:传感器。实体:传感器。card card _width:'80%'参数:中心滑道:true slidePerview:'auto'SpaceBetew之间:8页:类型:'progressbar'导航:键盘:键盘:启用:启用:true bloteNviewPort:true bloteinviewPort: -  true Cards: - 类型: - 类型:Sensor entity:sensor:Sensor.humity.humisity _158D0002009A.82名称:UmiditàSalottoline_width: 8 line_color: '#FF6384' - type: sensor entity: sensor.humidity_158d0001b95fa0 name: Umidità Camera Letto line_color: '#36A2EB' line_width: 8 - type: sensor entity: sensor.humidity_158d0001b95f60 name: Umidità Balcone line_color: '#ffce57'line_width:8-类型:传感器实体:传感器。bagno_humity名称:umiditàBagnoline_color:“#4BC0C0”精度:8 line_width:8

因为这:

您能分享您如何做到这一点吗?
我的工作起作用,但瓷砖的大小并不像这样,无法真正弄清楚如何…
它似乎正在使用文本进行自动调整,但是如何强制像您这样的格式?

2018-10-17%2009_26_42-HOME%20 Assistant

是的,只要确保文本大约是相同的lenght:眨眼:

arghhhh…忘了禁用!!!

测试了不同的设置,最终更好:liticle_smile:

1喜欢

有没有办法将子弹分页放低于卡片?(如保证金底)

您可以更改CSS文件

看起来很奇怪,这张卡不是卡本身。像IS没有背景颜色和落下阴影。

我不知道为什么我会收到错误消息,但要多次刷新浏览器:

untuff typeerror:element.setConfig不是函数

我是在做错事还是已知的错误?