【ios-Home Assistant使用ios主题更换背景】此文章归类为:["ios"]。
Home Assistant使用ios主题、更换背景
默认前置情况,
1、已安转HACS插件
2、搜索安装 IOS Dark Mode Theme
下面是具体的安装步骤,
1)第一、二步应该很容易实现,configuration.yaml文件很容易被找到
2)而本人在进行第三步操作时,始终没找到lovelace-ui.yaml配置文件

3)经过折腾才发现,具体的ui.yaml具体指的是你自己的概览目录UI,通过【概览】—>【右键右上角三个点】—>【编辑仪表盘】—>【右键右上角三个点】—>【原始配置编辑器】


在配置文件最后加上背景控制代码即可
background: var(--background-image)

4)在themes/ios-dark-mode文件中找到,ios-dark-mode.yaml配置文件,打开修改

5) 修改 background-image条目即可进行不同背景颜色的更换

6)具体可以选择四种背景颜色的一种,
https://github.com/basnijholt/lovelace-ios-dark-mode-theme/tree/master/backgrounds

7)将其中一种背景色的css代码替换掉之前的“background-image”条目即可

8) 保存重启home assistant即可实现背景替换
更多【ios-Home Assistant使用ios主题更换背景】相关视频教程:www.yxfzedu.com