能不能帮忙看一下,我的灯光off插入进来为什么是一个白点
kiosk_mode:
entity_settings:
- entity:
input_boolean.full: 'on'
hide_header: true
hide_sidebar: true
- entity:
input_boolean.full: 'off'
hide_header: false
hide_sidebar: false
views:
- type: panel
title: Home
cards:
- type: picture-elements
image: /local/ui2/背景/背景图.png
elements:
- type: custom:button-card
entity: input_boolean.full
show_name: false
show_icon: false
tap_action:
action: toggle
styles:
card:
- width: 40px
- height: 80px
style:
left: 30px
top: 40px
- type: custom:button-card
entity: light.bei_ci_wo_deng_kong
show_name: false
show_entity_picture: true
entity_picture: '[[[return "/local/ui2/灯光/灯光"+entity.state+".png" ]]]'
styles:
entity_picture:
- width: 100%
card:
- border-radius: 100%
- width: 35px
style:
top: 275px
left: 407px
|