滚动字母的部分很简单的:
- type: image
info1: '************************************************************'
info2: '*********************** 天气滚动条 **********************'
info3: '************************************************************'
- type: custom:button-card
name: >
[[[return `<div style='display: flex;display: -webkit-flex;'>
<marquee>
<span style='color: var(--white-color); font-size:14px;'>
发布时间: ${states['sensor.nodered_weather'].state} 
</span>
</marquee>`]]]
style:
top: 780px
left: 736px
width: 880px
|