左侧应用控制部分:全部用button-card
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- color: 'rgb(6, 180, 97)'
color_type: card
entity_picture: /local/app/xiguashipin.png
icon: 'mdi:power'
name: 西瓜视频
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_xiguashipin
type: 'custom:button-card'
- color: 'rgb(116, 100, 19)'
color_type: card
entity_picture: /local/app/youkushipin.png
icon: 'mdi:power'
name: 优酷视频
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_youkushipin
type: 'custom:button-card'
- type: horizontal-stack
cards:
- color: 'rgb(46, 80, 197)'
color_type: card
entity_picture: /local/app/hdp.png
icon: 'mdi:power'
name: HDP
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_hdp
type: 'custom:button-card'
- color: 'rgb(6, 108, 97)'
color_type: card
entity_picture: /local/app/aiqiyi.png
icon: 'mdi:power'
name: 爱奇艺
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_aiqiyi
type: 'custom:button-card'
- type: horizontal-stack
cards:
- color: 'rgb(46, 80, 7)'
color_type: card
entity_picture: /local/app/tengxunshipin.png
icon: 'mdi:power'
name: 腾讯视频
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_tengxunshipin
type: 'custom:button-card'
- color: 'rgb(146, 18, 19)'
color_type: card
entity_picture: /local/app/dangbeishichang.png
icon: 'mdi:power'
name: 当贝市场
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_dangbeishichang
type: 'custom:button-card'
- type: horizontal-stack
cards:
- color: 'rgb(146, 80, 7)'
color_type: card
entity_picture: /local/app/cjiptv.png
icon: 'mdi:power'
name: 超级IPTV
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_cjiptv
type: 'custom:button-card'
- color: 'rgb(146, 18, 219)'
color_type: card
entity_picture: /local/app/cctvnews.png
icon: 'mdi:power'
name: CCTV新闻
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_cctvnews
type: 'custom:button-card'
- type: horizontal-stack
cards:
- color: 'rgb(46, 180, 87)'
color_type: card
entity_picture: /local/app/mxplayer.png
icon: 'mdi:power'
name: MX Player
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_mxplayer
type: 'custom:button-card'
- color: 'rgb(26, 20, 157)'
color_type: card
entity_picture: /local/app/setup.png
icon: 'mdi:power'
name: 设置
show_entity_picture: true
show_icon: true
show_name: true
styles:
card:
- height: 88px
- border-radius: 8px
tap_action:
action: call-service
service: rest_command.atv_233_app_setup
type: 'custom:button-card'
|