当前位置: 首页 > news >正文

home-assistant.-Adding integrations

Edit the dashboard(编辑仪表板)

Dashboards are customizable pages to display information about your smart home devices.Dashboards, cards, and views 
The screenshot shows an Overview dashboard with many cards to represent sensor values. For example, the status of some lights, a media player, and some temperature values. It also shows control elements. For example, you can change the ventilation, the color of the lights, or turn on a smart TV and start YouTube.仪表板是可定制的页面,用于显示有关智能家居设备的信息。仪表板、卡片和视图屏幕截图显示了一个Overview仪表板,其中有许多卡来表示传感器值。例如,一些灯的状态、媒体播放器和一些温度值。它还显示控制元素。例如,你可以改变通风、灯光的颜色,或者打开智能电视,打开YouTube。
VIEWS 
The following screenshot shows a fully populated dashboard in masonry view layout. The icons in the blue menu bar on top each represent a different tab. Each tab contains a view.
的观点
下面的屏幕截图显示了一个在砌体视图布局中完全填充的仪表板。顶部蓝色菜单栏中的图标代表一个不同的选项卡。每个选项卡包含一个视图。
The following screenshot shows a fully populated dashboard in sections view layout.下面的屏幕截图在sections视图布局中显示了一个完全填充的仪表板。
DIFFERENT DASHBOARD TYPES 
In the sidebar on the left, you see the names of different dashboards. Home Assistant comes with different dashboard types out of the box.Overview
Energy
Map
Logbook
History
To-do lists
First contact with the Overview dashboard 
The Overview dashboard is the first page you see after the onboarding process.If you just onboarded, your dashboard will be nearly empty. It is using the masonry view layout and shows cards for devices that were detected automatically. Your dashboard may look quite different, depending on the devices that you have at home.不同的仪表板类型在左侧的侧边栏中,您可以看到不同仪表板的名称。家庭助理自带不同的仪表盘类型。概述
能源
地图
日志
历史
“要做事情清单”
第一次接触Overview仪表板Overview仪表板是您在登录过程后看到的第一个页面。如果你刚上飞机,你的仪表盘几乎是空的。它使用砌体视图布局并显示自动检测到的设备的卡。你的仪表盘可能看起来很不一样,这取决于你家里的设备。
Let’s take a look at the devices that were detected and which cards are used to represent them on the dashboard.1 Sonos speaker: media control card
1 Person (away): entities card
1 Weather forecast: weather forecast card
2 temperature sensors: entities card
让我们看一下检测到的设备以及在仪表板上使用哪些卡来表示它们。1 Sonos扬声器:媒体控制卡
1人(离场):实体卡
1 .天气预报:天气预报卡
2 .温度传感器:实体卡
SONOS SPEAKER 
If you have a smart speaker connected to Wi-Fi, for example, this can be detected.SONOS的演讲者例如,如果你的智能扬声器连接了Wi-Fi,就可以检测到这一点。
PERSON 
After onboarding, the first person shown here is the Home Assistant owner. Next to the name, it claims the person is away. You can track whether a person is present or not and create automations based on that. For example, turn down the heating when everyone has left the home. For more information on presence based automations, start with presence detection.人在入职后,这里显示的第一个人是Home Assistant的所有者。在名字旁边,写着这个人不在。您可以跟踪一个人是否在场,并在此基础上创建自动化。例如,当每个人都离开家时,把暖气关小。有关基于状态的自动化的更多信息,请从状态检测开始。
WEATHER FORECAST 
The weather forecast card is shown automatically if you provided a location during onboarding.天气预报如果您在入职时提供位置,天气预报卡将自动显示。
TEMPERATURE SENSORS 
The temperature sensors are shown because the Home Assistant device used here (Raspberry Pi) has a built-in Bluetooth module. In Giulia’s home, there were 2 Bluetooth temperature sensors present. If your Home Assistant does not have a Bluetooth module (yet), Bluetooth devices in your home won’t be shown automatically.If your Home Assistant has other controllers, such as a Zigbee or a Z-Wave controller, and you have Zigbee or Z-Wave devices, these could be detected and shown here. However, these devices usually need to be paired first.温度传感器这里显示的温度传感器是因为这里使用的家庭助理设备(树莓派)有一个内置的蓝牙模块。在朱莉娅的家里,有两个蓝牙温度传感器。如果你的家庭助理还没有蓝牙模块,你家里的蓝牙设备将不会自动显示。如果您的家庭助理有其他控制器,例如Zigbee或Z-Wave控制器,并且您有Zigbee或Z-Wave设备,则可以检测到这些控制器并在此处显示。然而,这些设备通常需要先配对。
Creating a new dashboard and edit cards 
The default Overview dashboard updates automatically when you add new devices. However, once you start editing the default dashboard, it no longer updates automatically. For this reason, we start here by adding a new dashboard. This lets us keep the default Overview dashboard.In the following steps, we will create a new dashboard and edit some card settings.
创建一个新的仪表板和编辑卡当您添加新设备时,默认的Overview仪表板会自动更新。但是,一旦您开始编辑默认指示板,它就不再自动更新。出于这个原因,我们从这里开始添加一个新的仪表板。这让我们可以保留默认的Overview仪表板。在接下来的步骤中,我们将创建一个新的仪表板并编辑一些卡设置。
Go to Settings > Dashboards and select Add dashboard.进入“Settings > Dashboards”,选择“Add dashboard”。In the dialog, choose Default dashboard.
在对话框中,选择Default dashboard。In the Add new dashboard dialog, enter a name and select an icon.
在Add new dashboard对话框中,输入一个名称并选择一个图标。Leave the Admin only and Show in sidebar options as they are.
Select Create.
Result: The dashboard is added.保留“只管理”和“显示在侧边栏”选项不变。
选择创建。
结果:添加仪表板。Open your new dashboard and in the top right of the screen, select the Edit icon button.
打开新的仪表板,在屏幕的右上角,选择Edit图标按钮。By editing the dashboard, you are taking over control of this dashboard.
通过编辑仪表板,您将接管该仪表板的控制权。This means that it is no longer automatically updated when new dashboard elements become available.
To continue, in the dialog, select the three dots  menu, then select Take control.
这意味着当新的仪表板元素可用时,它不再自动更新。
要继续,在对话框中选择三个点菜单,然后选择Take control。Read and accept this before continuing.
在继续之前阅读并接受这一点。You can’t get this specific dashboard back to update automatically. However, you can create a new default dashboard.
你不能让这个特定的仪表板自动更新。但是,您可以创建一个新的默认指示板。Your dashboard might not have much on it yet.
你的仪表盘上可能还没有太多东西。If you have smart home devices in your home, some may have been connected automatically.
如果你家里有智能家居设备,有些可能已经自动连接。
In this example, some Bluetooth temperature sensors and an AV receiver connected automatically.
在这个例子中,一些蓝牙温度传感器和一个AV接收器自动连接。
Some cards are there by default, such as the weather, a card for the person who set up the system, and the text-to-speech service.有些卡片是默认设置的,比如天气、给设置系统的人的卡片,以及文本转语音服务。Next, we want to edit the weather card.Select the weather card.
Then, select the cogwheel 接下来,我们要编辑天气卡。选择天气卡。
然后,选择齿轮Change any of the units, if you like.Do not change the Entity ID.
Once you are done, select Update.
如果你喜欢,可以随意改变单位。Change any of the units, if you like.Do not change the Entity ID.
Once you are done, select Update.
不要更改实体ID。
完成后,选择Update。Next, we want to add a new card for this weather service.
接下来,我们要为这个天气服务添加一张新卡。
Select the weather card again, select the three dots , then Device info.
Under Sensors, select Add to dashboard, then Pick different card.再次选择天气卡,选择三个点,然后选择设备信息。
在传感器下,选择添加到仪表板,然后选择不同的卡。Next, we want to add a new card for this weather service.
接下来,我们要为这个天气服务添加一张新卡。
Select the weather card again, select the three dots , then Device info.
Under Sensors, select Add to dashboard, then Pick different card.
再次选择天气卡,选择三个点,然后选择设备信息。
在传感器下,选择添加到仪表板,然后选择不同的卡。From the list, select Show current weather and forecast.Select the details to be shown on the card.从列表中选择“显示当前天气和预报”。
选择要在卡片上显示的详细信息。Save your changes
You now see the forecast card on the dashboard.
Now let’s delete the other weather card.In the top right corner, select the pencil.保存更改
现在您可以在仪表板上看到预报卡。
现在让我们删除另一张天气卡。在右上角,选择铅笔。On the card, select the three dots  menu and select Delete.
在卡片上,选择三个点菜单,然后选择删除。
Finally, we want to move the weather card to the top left corner.On the bottom of the card, select the number or use the minus button to enter 1.
Repeat this on other cards, if you want to move them around.
When you are done, in the top right corner, select Done.
最后,我们想把天气卡移到左上角。在卡片的底部,选择数字或使用减号按钮输入1。
如果你想移动其他的牌,重复这个步骤。
完成后,在右上角选择done。
Learning more about dashboards 
If you want to learn more about dashboards, views, and cards, take a look at these topics:Take a look at the introduction to dashboards and learn about dashboard types.
Learn more about view types
Learn how to add cards to a view.
学习更多关于仪表板的知识如果您想了解有关仪表板、视图和卡片的更多信息,请查看以下主题:看一下仪表板的介绍,了解仪表板的类型。
了解更多关于视图类型的信息
了解如何向视图添加卡片。
Next step: integrations 
To continue with this tutorial, select the button below to learn about integrations.
下一步:集成
要继续学习本教程,请选择下面的按钮来了解集成。
http://www.hskmm.com/?act=detail&tid=36108

相关文章:

  • Windows系统内存占用过高,且任务管理器找不到对应进程
  • NOIP 二十五
  • 理想婚姻
  • equal和hashcode
  • Ancestral Problem 题解
  • AWS IAM角色最佳实践:构建云安全的核心防线
  • 正睿 2025 NOIP 20连测 Day6
  • Hetao P5593 删 题解 [ 蓝 ] [ 线性 DP ] [ DFS 序 ] [ 虚树 ]
  • o(N^2)找出所有回文子串
  • 第二次高级程序作业
  • 大学生需要认真听课的肌肉记忆(注意力训练)
  • 初始人工智能和机器学习
  • 10/21
  • 蛋白表达技术概述
  • 二叉树的中序遍历- 递归原理 - MKT
  • 友链测试
  • 二叉树的中序遍历- 二叉树基本-递归 - MKT
  • 做了一个概率小游戏,没想到服务器被打爆被攻击了!原因竟然是他?真没想到...
  • 接下来的目标
  • 阿里云对象存储OSS之Java - Soul
  • 敬启,致那时的我
  • 后量子密码学技术与标准化进程解析
  • 10月21日
  • 清楚标签默认样式,内容溢出盒子时的处理
  • 用 大模型 和 Gradio 构建一个 AI 反向词典
  • MySQL 事务
  • python概念详解
  • JAVA基础理解
  • 1279. 红绿灯路口
  • 软件工程第三次作业