保存后,可在侧面板找到Configuration > General > Configuration Reloading > RELOAD CORE,重载相关配置,而无需重启Home Assistant 服务。 更多自定义内容见官方文档。 icon 图标设置,采用Material Design Icons网站内的图标,在icon: mdi: 后输入想要的图标名称。 三、设备分组分页 设备显示 设备添加后默认都是独立的,...
对设备进行自定义设置,请在homeassistant:下新增customize:块,请特别注意代码的层级。 homeassistant: name: Home unit_system: metric customize: thermostat.family_room: #entity_ID entity_picture: https://example.com/images/nest.jpg #图片 icon: mdi:kettle #图标,来自 https://materialdesignicons.com/ #...
对设备进行自定义设置,请在homeassistant:下新增customize:块,请特别注意代码的层级。 homeassistant: name: Home unit_system: metric customize: thermostat.family_room: #entity_ID entity_picture: https://example.com/images/nest.jpg #图片 icon: mdi:kettle #图标,来自 https://materialdesignicons.com/ #...
type:'custom:button-card'#卡片类型(必填)entity:switch.tai_deng#设备ID (必填)icon:'mdi:desk-lamp'#图标size:null#根据需要配置styles: name: - font-size:13px - align-self: middle 官方提供了部分图标,可在这里选取。用户也可将自行制作的图标放在\homeassistant\www下,用entity_picture: /local/xxx....
type: custom:button-card color_type: icon entity: weather.wo_de_jia entity_picture: > [[...
案例一:创建一个安全卡片,实现 ICON 和颜色根据燃气报警器状态更新,并显示燃气报警器状态 首先添加一张卡片,如果你已经安装好 Mushroom ,那么往下滑动,你能找到名为「Mushroom Template Card 」的卡片。 点击它,然后进入到卡片配置界面。 这个卡片首页,用于作为分类的导航卡片。这次我配置的是「安全」的分类,点击之后...
首先打开homeassistant主页,在HACS--更多--custom repositories里添加自定义集成tuya-smart-life repository填入:https://github.com/tuya/tuya-smart-life/category选integration 添加成功后重启homeassistant,回到HACS页面,搜索并下载smartlife。 添加成功后重启homeassistant,并进入【配置】---【设备与服务】,点击右下角...
color string optional auto | auto-no-temperature | rgb(28, 128, 199) Color of the icon/card. auto sets the color based on the color of a light including the temperature of the light. Setting this to auto-no-temperature will behave like home-assistant's default, ignoring the temperature ...
input_boolean.boolean_ceshi4 #电源开关按钮 icon: mdi:power color_off: '#E45E65' #电源按钮我把他设为红 - entity: climate.midea image: /local/img/off.svg image_height: 26px service: climate.set_operation_mode data: entity_id: climate.gree #如果有写data就必须写entity_id,不写就是控制全...
案例一:创建一个安全卡片,实现 ICON 和颜色根据燃气报警器状态更新,并显示燃气报警器状态 首先添加一张卡片,如果你已经安装好 Mushroom ,那么往下滑动,你能找到名为「Mushroom Template Card 」的卡片。 点击它,然后进入到卡片配置界面。 这个卡片首页,用于作为分类的导航卡片。这次我配置的是「安全」的分类,点击之后...