找回密碼
 立即註冊
惟家LINE群QRCODE
    查看: 2968|回覆: 0

    HS300面板設定分享

    [複製鏈接]

    !lvup!   100%

    11

    主題

    6

    回帖

    518

    積分

    超級版主

    積分
    518
    發表於 2022-4-23 00:00:22 | 顯示全部樓層 |閱讀模式
    HACS安裝 multiple-entity-row

    1. type: entities
    2. entities:
    3.   - entity: switch.hs300_1_led
    4.   - entity: switch.maccha_zuo
    5.     type: custom:multiple-entity-row
    6.     name: MAC
    7.     state_header: Power
    8.     styles:
    9.       width: 30px
    10.     toggle: true
    11.     state_color: true
    12.     icon: mdi:power
    13.     entities:
    14.       - entity: sensor.maccha_zuo_voltage
    15.         name: 電壓
    16.         styles:
    17.           width: 30px
    18.       - entity: sensor.maccha_zuo_current
    19.         name: 電流
    20.         styles:
    21.           width: 30px
    22.       - entity: sensor.maccha_zuo_current_consumption
    23.         name: 功耗
    24.         styles:
    25.           width: 30px
    26.       - entity: sensor.maccha_zuo_today_s_consumption
    27.         name: 目前
    28.         styles:
    29.           width: 30px
    30.       - entity: sensor.maccha_zuo_total_consumption
    31.         name: Total
    32.         styles:
    33.           width: 30px
    34.   - entity: switch.qu_mian_ying_mu_cha_zuo
    35.     type: custom:multiple-entity-row
    36.     name: 曲面
    37.     state_header: Power
    38.     styles:
    39.       width: 30px
    40.     toggle: true
    41.     state_color: true
    42.     icon: mdi:power
    43.     entities:
    44.       - entity: sensor.qu_mian_ying_mu_cha_zuo_voltage
    45.         name: 電壓
    46.         styles:
    47.           width: 30px
    48.       - entity: sensor.qu_mian_ying_mu_cha_zuo_current
    49.         name: 電流
    50.         styles:
    51.           width: 30px
    52.       - entity: sensor.qu_mian_ying_mu_cha_zuo_current_consumption
    53.         name: 功耗
    54.         styles:
    55.           width: 30px
    56.       - entity: sensor.qu_mian_ying_mu_cha_zuo_today_s_consumption
    57.         name: 目前
    58.         styles:
    59.           width: 30px
    60.       - entity: sensor.qu_mian_ying_mu_cha_zuo_total_consumption
    61.         name: Total
    62.         styles:
    63.           width: 30px
    64.   - entity: switch.wu_xian_chong_dian_ban_cha_zuo
    65.     type: custom:multiple-entity-row
    66.     name: 無線充電
    67.     state_header: Power
    68.     styles:
    69.       width: 30px
    70.     toggle: true
    71.     state_color: true
    72.     icon: mdi:power
    73.     entities:
    74.       - entity: sensor.wu_xian_chong_dian_ban_cha_zuo_voltage
    75.         name: 電壓
    76.         styles:
    77.           width: 30px
    78.       - entity: sensor.wu_xian_chong_dian_ban_cha_zuo_current
    79.         name: 電流
    80.         styles:
    81.           width: 30px
    82.       - entity: sensor.wu_xian_chong_dian_ban_cha_zuo_current_consumption
    83.         name: 功耗
    84.         styles:
    85.           width: 30px
    86.       - entity: sensor.wu_xian_chong_dian_ban_cha_zuo_today_s_consumption
    87.         name: 目前
    88.         styles:
    89.           width: 30px
    90.       - entity: sensor.wu_xian_chong_dian_ban_cha_zuo_total_consumption
    91.         name: Total
    92.         styles:
    93.           width: 30px
    94.   - entity: switch.switchcha_zuo
    95.     type: custom:multiple-entity-row
    96.     name: Switch
    97.     state_header: Power
    98.     styles:
    99.       width: 30px
    100.     toggle: true
    101.     state_color: true
    102.     icon: mdi:power
    103.     entities:
    104.       - entity: sensor.switchcha_zuo_voltage
    105.         name: 電壓
    106.         styles:
    107.           width: 30px
    108.       - entity: sensor.switchcha_zuo_current
    109.         name: 電流
    110.         styles:
    111.           width: 30px
    112.       - entity: sensor.switchcha_zuo_current_consumption
    113.         name: 功耗
    114.         styles:
    115.           width: 30px
    116.       - entity: sensor.switchcha_zuo_today_s_consumption
    117.         name: 目前
    118.         styles:
    119.           width: 30px
    120.       - entity: sensor.switchcha_zuo_total_consumption
    121.         name: Total
    122.         styles:
    123.           width: 30px
    124.   - entity: switch.shui_yang_ji
    125.     type: custom:multiple-entity-row
    126.     name: 水氧機
    127.     state_header: Power
    128.     styles:
    129.       width: 30px
    130.     toggle: true
    131.     state_color: true
    132.     icon: mdi:power
    133.     entities:
    134.       - entity: sensor.shui_yang_ji_voltage
    135.         name: 電壓
    136.         styles:
    137.           width: 30px
    138.       - entity: sensor.shui_yang_ji_current
    139.         name: 電流
    140.         styles:
    141.           width: 30px
    142.       - entity: sensor.shui_yang_ji_current_consumption
    143.         name: 功耗
    144.         styles:
    145.           width: 30px
    146.       - entity: sensor.shui_yang_ji_today_s_consumption
    147.         name: 目前
    148.         styles:
    149.           width: 30px
    150.       - entity: sensor.shui_yang_ji_total_consumption
    151.         name: Total
    152.         styles:
    153.           width: 30px
    154.   - entity: switch.30wa
    155.     type: custom:multiple-entity-row
    156.     name: 空1-4
    157.     state_header: Power
    158.     styles:
    159.       width: 30px
    160.     toggle: true
    161.     state_color: true
    162.     icon: mdi:power
    163.     entities:
    164.       - entity: sensor.30wa_voltage
    165.         name: 電壓
    166.         styles:
    167.           width: 30px
    168.       - entity: sensor.30wa_current
    169.         name: 電流
    170.         styles:
    171.           width: 30px
    172.       - entity: sensor.30wa_current_consumption
    173.         name: 功耗
    174.         styles:
    175.           width: 30px
    176.       - entity: sensor.30wa_today_s_consumption
    177.         name: 目前
    178.         styles:
    179.           width: 30px
    180.       - entity: sensor.30wa_total_consumption
    181.         name: Total
    182.         styles:
    183.           width: 30px
    184. show_header_toggle: false
    185. title: HS300-1
    複製代碼


    您需要登入後纔可以回帖 登入 | 立即註冊

    本版積分規則

    Archiver|手機版|惟家的智能論壇

    GMT+8, 2026-9-24 10:33 , Processed in 0.082943 second(s), 24 queries .

    快速回覆 返回頂部 返回列表