NINA
The NINA integration displays warnings from the Bundesamt für Bevölkerungsschutz und Katastrophenhilfe in Germany.
它为每个县/市创建警告槽,当出现警告时,警告槽会更改为不安全。警告文本和元数据存储在槽的属性中。
Configuration
To add the NINA service to your Home Assistant instance, use this My button:
Manual configuration steps
- Browse to your Home Assistant instance.
- Go to Settings > Devices & services.
- In the lower-right corner, select Add integration.
- From the list, select NINA.
- Follow the instructions on screen to complete the setup.
Options
To define options for NINA, follow these steps:
-
In Home Assistant, go to Settings > Devices & services.
-
If multiple instances of NINA are configured, choose the instance you want to configure.
-
On the card, select the cogwheel
. - If the card does not have a cogwheel, the integration does not support options for this device.

-
Edit the options, then select Submit to save the changes.
Filter
该集成包括通过正则表达式以两种方式过滤警告的可能性。
All filters are applied to lowercase text only.
Headline blocklist
该黑名单根据标题过滤警告。换句话说,如果正则表达式与警告标题匹配,则警告将被忽略。
默认值:不匹配任何内容 (/(?!)/)
Example
忽略包含“corona”一词的警告
正则表达式:.*corona.*
标题:“corona-verordnung des landes:warnstufe durch landesgesundheitsamt ausgerufen”
Affected area filter
此过滤器基于受影响区域的白名单警告。换句话说,如果正则表达式匹配该区域,就会显示。
Default: Match all (.*)
Example
仅显示来自纳戈尔德市的警告。
正则表达式:.*nagold.*
地区:gemeinde oberreichenbach、gemeinde neuweiler、stadt nagold
Attributes
Data updates
集成每 5 分钟检查一次警告。
Known limitations
此集成可能仅适用于支持 IPv4 的 Internet 连接。
Removing the integration
此集成遵循标准集成删除。不需要额外的步骤。
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three-dot
menu. Then, select Delete.

