再来个空调控制器的Lovelace卡片

Lovelace Thermostat Card

hacs_badge

github链接

空调控制面板基于CSS和 SVG 做的

  • 支持 HACS 安装
  • 支持外部温度传感器
  • 可以控制空调模式
  • 可以隐藏卡片背景

欣赏

HACS 安装

找Thermostat Card

手动安装

  1. 下载三个文件 thermostat-card.js thermostat_card.lib.js styles.js
  2. 复制到 www\community\thermostat-card
  3. 下面是配置
    resources:
      - url: /www/community/thermostat-card/thermostat-card.js
        type: module
    
  4. 页面配置
    - type: custom:thermostat-card
      entity: climate.gong_zuo_jian_kong_diao
      small_i: true
      title: 工作间
    

选项

选项名称 类型 默认 描述
type string 必需 custom:thermostat-card
entity string 必需 空调 entity id .比如: climate.hvac
title string optional 标题
no_card boolean false 如果是true, 则隐藏卡片背景
small_i boolean false 有大小两个选择,默认是大
step number 0.5 调整温度的挡位默认是0.5°一步
highlight_tap boolean false 调整温度按钮区域的视觉显示, 默认不显示
chevron_size number 50 调整温度的箭头大小
pending number 3 设置空调模式后的应该缓冲时间设置,默认3秒
idle_zone number 2 这个基本上不怎么用到, 可以同时设置两个模式, 没测试过
ambient_temperature string optional 环境温度传感器 entity id 一些空调是没有温度反馈的

给力啊!!感谢分享!!!

漂亮,感谢分享。