自定义:
type: 'custom:mod-card'
style: |
ha-card {
margin-left: 7px;
margin-right: 7px;
}
card:
type: vertical-stack
cards:
- type: markdown
cards: null
style: |
ha-card {
background: rgba(0, 0, 0, 0);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
font-size: 20px;
font-family: var(--font-family);
color: skyblue;
margin-left: 0px;
margin-right: 7px;
text-align: center;
}
content: >
# {{ states('sensor.time') }}
#### {{ states('sensor.date')}} || {{states('sensor.day_of_week')}} ||
{{states('sensor.day_night')}}
### {{states('sensor.nongli')}}
|