我是把group也单独放在packages里面了,而且有好几个,排序就用group里面设置成“view:yes”的项前后顺序排呗,我的分组参考:
group:
default_view:
view: yes
icon: mdi:white-balance-sunny
entities:
- group.Today_Realtime
- group.Today_Forecast
- group.Today_Outdoor
home_tracker:
view: yes
icon: mdi:account-multiple
entities:
- group.Home_Tracker_Sensor
- group.Home_Temp_Sensor
- group.Home_Security
- group.Camera_Group03
- group.Camera_Group01
- group.Camera_Group02
rooms_control:
view: yes
icon: mdi:home-variant
entities:
- group.Sitting_Room_Group
- group.Resting_Room_Group
- group.Room_Control_Group
- group.Other_Room_Group
devices_remote:
view: yes
icon: mdi:remote
entities:
- group.Broadlink_Devices_IR_Remote1
- group.Broadlink_Devices_IR_Remote2
- group.Broadlink_Devices_IR_Remote3
media_players:
view: yes
icon: mdi:play-protected-content
entities:
- group.Player_group01
- group.Player_group02
- group.Player_group03
hass_apps:
icon: mdi:apps
view: yes
entities:
- group.Expree_Check
- group.Text_TTS_Notify
- group.Traffic_Stutes
- group.Ha_Plug_Group
system_automations:
icon: mdi:buffer
view: yes
entities:
- group.HA_Room_TTS_Automations
- group.System_Control_Automations
- group.HA_Light_Automations
- group.System_Manager_Automations
- group.Xiaomi_Button_Control_Automations
devices_status:
icon: mdi:chart-pie
view: yes
entities:
- group.Pi_Infomation
- group.SynologyDSM_Information
- group.Gen8_ilo
- group.Devices_Communication_Status
- group.Asus_Router_Monitor
|