『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4264|回复: 7

[已解决] 设置了custom ui chrome下显示空白

[复制链接]

7

主题

156

帖子

1327

积分

论坛技术达人

积分
1327
金钱
1171
HASS币
0
发表于 2017-9-9 14:17:24 | 显示全部楼层 |阅读模式
本帖最后由 leoyanger 于 2017-9-9 17:12 编辑

chrome 下显示空白  firefox显示正常!大家有这个情况吗?
解决了 !浏览器的问题。 作者也更新了  附上我测试的配置
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 23.1167
  longitude: 113.25
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 14
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: [url=http://en.wikipedia.org/wiki/List_of_tz_database_time_zones]http://en.wikipedia.org/wiki/List_of_tz_database_time_zones[/url]
  time_zone: Asia/Shanghai
  customize: !include customized.yaml
  customize_glob:
    "*.*":
      custom_ui_state_card: custom-ui
    group.a:
      state_card_mode: badges
    group.my_group:
      state_card_mode: badges 
      badges_list:
        - sensor.aqi_pm25 
        - sensor.aqi_qlty 
    sensor.aqi_pm25:
       group:
         group.my_group:
           hidden: true 
    sensor.aqi_qlty:
       group:
         group.my_group:
           hidden: true
               
customizer:
  panel: true
  hide_customui_attributes: false
  hide_attributes:
    - node_id
    - value_index
  
# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  # Uncomment this to add a password (recommended!)
  # api_password: PASSWORD
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  # base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# [url=https://home-assistant.io/blog/2016/10/25/explaining-the-updater/]https://home-assistant.io/blog/2016/10/25/explaining-the-updater/[/url]
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Track the sun
sun:

# Weather prediction
sensor: !include sensor.yaml

# Text to speech
tts:
  - platform: google

group:
  a:
    control: hidden
    entities:
      - sensor.1hour_pop
      - sensor.1hour_weather
  b:
    entities:
      - group.a
      - sensor.aqi_qlty
  my_group:
    entities:
      - sensor.aqi_pm25
      - sensor.aqi_qlty  
      - group.my_group

automation: !include automations.yaml
script: !include scripts.yaml

回复

使用道具 举报

7

主题

207

帖子

1027

积分

金牌会员

Rank: 6Rank: 6

积分
1027
金钱
820
HASS币
20
发表于 2017-9-12 00:22:20 | 显示全部楼层
对的,要激活下才能用。不然就是空白。你应该是激活了。
回复

使用道具 举报

1

主题

13

帖子

53

积分

注册会员

Rank: 2

积分
53
金钱
40
HASS币
0
发表于 2017-9-20 16:54:08 | 显示全部楼层
myron412 发表于 2017-9-12 00:22
对的,要激活下才能用。不然就是空白。你应该是激活了。

我也遇到这个问题,这里激活是指激活哪里,怎么激活,谢谢
回复

使用道具 举报

1

主题

13

帖子

53

积分

注册会员

Rank: 2

积分
53
金钱
40
HASS币
0
发表于 2017-9-20 16:55:40 | 显示全部楼层
可以怎么设置~~
回复

使用道具 举报

3

主题

215

帖子

669

积分

高级会员

Rank: 4

积分
669
金钱
454
HASS币
0
发表于 2018-1-16 18:46:49 | 显示全部楼层
同求,如何激活
回复

使用道具 举报

7

主题

156

帖子

1327

积分

论坛技术达人

积分
1327
金钱
1171
HASS币
0
 楼主| 发表于 2018-1-19 11:27:04 | 显示全部楼层

customize_glob:
    "*.*":
      custom_ui_state_card: custom-ui   全局激活
回复

使用道具 举报

2

主题

103

帖子

508

积分

高级会员

Rank: 4

积分
508
金钱
405
HASS币
0
发表于 2018-4-24 19:03:38 | 显示全部楼层
楼主你的坐标就在我附近
回复

使用道具 举报

7

主题

156

帖子

1327

积分

论坛技术达人

积分
1327
金钱
1171
HASS币
0
 楼主| 发表于 2018-4-26 10:16:30 | 显示全部楼层
这么近
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-27 01:03 , Processed in 0.051246 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表