1 Star 0 Fork 6

mist/hass-config

forked from jianghong/hass-config 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
configuration.yaml 5.92 KB
一键复制 编辑 原始数据 按行查看 历史
jianghong 提交于 2022-12-29 19:16 . First Updata
homeassistant:
name: Home
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
elevation: !secret homeassistant_elevation
unit_system: metric
time_zone: Asia/Shanghai
packages: !include_dir_named packages/
allowlist_external_dirs:
['/config/', '/media', '/media/face']
whitelist_external_dirs:
- /config
media_dirs:
local: /media
#default_config:
energy:
history:
ios:
mobile_app:
media_source:
sun:
system_health:
calendar:
- platform: caldav
username: !secret caldav_username
password: !secret caldav_password
url: https://next.cloud-link.me/remote.php/dav
frontend:
themes: !include_dir_merge_named themes
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
http:
use_x_forwarded_for: true
trusted_proxies:
- 10.0.3.0/24
- 172.17.0.0/24
- 192.168.2.0/24
lovelace:
mode: yaml
resources:
# jiang hacs
- url: /hacsfiles/cover-position-preset-row/cover-position-preset-row.js
type: module
- url: /hacsfiles/fan-mode-button-row/fan-mode-button-row.js
type: module
- url: /hacsfiles/lovelace-card-tools/card-tools.js
type: module
- url: /hacsfiles/lovelace-colorfulclouds-weather-card/colorfulclouds-weather-card.js
type: module
- url: /hacsfiles/lovelace-rpi-monitor-card/rpi-monitor-card.js
type: module
- url: /hacsfiles/lovelace-state-switch/state-switch.js
type: module
- url: /hacsfiles/love-lock-card/love-lock-card.js
type: module
- url: /hacsfiles/secondaryinfo-entity-row/secondaryinfo-entity-row.js
type: module
# lajv hacs default
- url: /hacsfiles/bar-card/bar-card.js
type: module
- url: /hacsfiles/button-card/button-card.js
type: module
- url: /hacsfiles/config-template-card/config-template-card.js
type: module
- url: /hacsfiles/flipdown-timer-card/flipdown-timer-card.js
type: module
- url: /hacsfiles/light-entity-card/light-entity-card.js
type: module
- url: /hacsfiles/lovelace-buien-rain-card/buien-rain-card.js
type: module
- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
- url: /hacsfiles/lovelace-hui-element/hui-element.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module
- url: /hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js
type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/PlexMeetsHomeAssistant/plex-meets-homeassistant.js
type: module
- url: /hacsfiles/popup-backdrop-filter/popup-backdrop-filter.js
type: module
- url: /hacsfiles/simple-weather-card/simple-weather-card-bundle.js
type: module
- url: /hacsfiles/swipe-card/swipe-card.js
type: module
- url: /hacsfiles/vacuum-card/vacuum-card.js
type: module
- url: /hacsfiles/vertical-stack-in-card/vertical-stack-in-card.js
type: module
- url: /hacsfiles/weather-card/weather-card.js
type: module
- url: /hacsfiles/light-popup-card/light-popup-card.js
type: module
# lajv local
- url: /local/tablet/js/now-playing-card.js
type: module
# lajv local custom
- url: /local/tablet/js/light-slider-card-lajv.js
type: js
# mattias hacs
- url: /hacsfiles/apexcharts-card/apexcharts-card.js
type: module
- url: /hacsfiles/custom-icons/custom-icons.js
type: module
- url: /hacsfiles/lovelace-more-info-card/more-info-card.js
type: module
- url: /hacsfiles/lovelace-mushroom/mushroom.js
type: module
- url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js
type: module
# mattias local
- url: '/local/tablet/js/browser_mod_icon.js?v=0.3'
type: module
- url: '/local/tablet/js/marked.min.js?v=4.1.0'
type: module
- url: '/local/tablet/js/vanilla-tilt.min.js?v=1.7.2'
type: module
- url: '/local/tablet/js/fonts.css?v=2.1'
type: css
dashboards:
lovelace-jiang:
mode: yaml
title: 手机界面
icon: hass:cellphone
show_in_sidebar: true
filename: dashboards/home/lovelace_jiang.yaml
tablet-lajv:
mode: yaml
title: 平板界面
icon: hass:tablet
show_in_sidebar: true
filename: dashboards/tablet/lovelace_lajv.yaml
logger:
default: warning
filters:
pyhap.characteristic:
- "SecuritySystemCurrentState: value=0 is an invalid value."
- "SecuritySystemTargetState: value=0 is an invalid value."
- "TargetHeatingCoolingState: value=0 is an invalid value."
logs:
homeassistant.components.command_line: fatal
homeassistant.components.command_line.sensor: error
homeassistant.components.homekit.type_media_players: error
homeassistant.components.media_player: error
homeassistant.components.rest.sensor: error
homeassistant.components.websocket_api: fatal
homeassistant.helpers.entity: error
homeassistant.helpers.event: fatal
homeassistant.helpers.service: error
media_player:
- platform: mpd
name: mpd
host: !secret mpd_host
port: !secret mpd_port
- platform: mpd
name: tts
host: !secret tts_host
port: !secret tts_port
panel_custom:
- name: amap-panel
sidebar_title: 高德地图
sidebar_icon: hass:map
module_url: /local/amap/amap-panel.js
trust_external_script: true
config:
key: !secret amap_key
panel_iframe:
node_red:
title: NodeRed
icon: hass:vector-polyline
url: !secret nodered_url
recorder:
#需要保存的天数
purge_keep_days: 30
#db_url: mysql://账户:密码@ip地址:端口/数据库名字
# db_url: !secret mariadb_url
#排除日志
exclude:
entities:
- media_player.yun_yin_le
timer:
laundry:
duration: "00:01:00"
tts:
- platform: edge_tts
language: zh-CN # 默认语言或声音 zh_CN(zh-CN-XiaoxiaoNeural)
- platform: baidu
app_id: !secret baidutts_id
api_key: !secret baidutts_api_key
secret_key: !secret baidutts_secret_key
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/misti/hass.git
git@gitee.com:misti/hass.git
misti
hass
hass-config
master

搜索帮助