1、mini-graph-card 2、Plotly Graph Card 3、apexcharts-card 4、card-mod(用来设置背景图片) 二、卡片代码 1、mini-graph-card 曲线图 type:custom:mini-graph-card entities:-entity:sensor.tasmota_sgp30_tvoc name:TVOCname:TVOCicon:nullalign_icon:right show:fill:trueanimate:truehours_to_show:24points...
type:custom:mini-graph-cardentities:-entity:sensor.last_electricity_usage_entityname:国网每日用电量aggregate_func:firstshow_state:trueshow_points:truegroup_by:datehour24:truehours_to_show:240 4)(可选)配合用电阶梯,实现实时电价。 具体操作: 修改homeassistant.yml文件然后重启或重载配置文件,注意当前阶梯...
结合mini-graph-card](https://github.com/kalkih/mini-graph-card) 和mushroom实现效果: type: custom:mini-graph-card entities: - entity: sensor.last_electricity_usage_entity name: 国网每日用电量 aggregate_func: first show_state: true show_points: true group_by: date hour24: true hours_to_sh...
DB_NAME="homeassistant" # 数据库名,默认为homeassistant # COLLECTION_NAME默认为electricity_daily_usage_{国网用户id},不支持修改。 # homeassistant配置 HASS_URL="http://localhost:8123/" # 改为你的localhost为你的homeassistant地址 HASS_TOKEN="eyxxxxx" # homeassistant的长期令牌 # selenium运行参数 JO...
mini-graph-card browser_mod tabbed-card apexcharts-card heatmap-card config-template-card auto-entities 其中heatmap-card 将https://github.com/kandsten/ha-heatmap-card 添加到Custom repositories,如下图: 将heatmap-card添加到Custom repositories ...
Enter URL /local/mini-graph-card-bundle.js and select type "JavaScript Module". (Use /hacsfiles/mini-graph-card/mini-graph-card-bundle.js and select "JavaScript Module" for HACS install) Restart Home Assistant. Updating If you have a version older than v0.0.8 installed, please delete the...
type(required)stringv0.0.1custom:mini-graph-card. entities(required)listv0.2.0One or more sensor entities in a list, seeentities objectfor additional entity options. iconstringv0.0.1Set a custom icon from any of the available mdi icons. ...
-type:horizontal-stackcards:-type:custom:mini-graph-card 复制代码 一行设置为4个的时候card的宽和高...
Open HACS in Home Assistant Go to "Frontend" section Click button with "+" icon Search for "Mushroom" 我用到的部分卡片和主题 卡片 Lovelace Mini Graph Card Vertical Stack In Card Button Card by @RomRider Lovelace swipe card Digital Clock ...
Step 13:Restart Home Assistant Step 14:Open the “+ ADD CARD” window within the dashboard Step 15:Select to manually write the YMAL Step 16:Copy and paste the following code inside the code editor type: grid cards: - type: custom:mini-graph-card ...