Notify: platform: pushbullet apikey: ' o.1234abcd' name: pushbullet. A component provides the core logic for some functionality (like notify provides sending notifications). A platform makes the connection to a specific software or hardware platform (like pushbullet works with the service from pushbullet.com).
The basics of YAML syntax are block collections and mappings containing key-value pairs. Each item in a collection starts with a - while mappings have the format key: value.
Mar 18, 2014 - Download YAML Editor for free. Basically the Wix-Toolset can create installers for the windows platform from files what are written in XML. Free YAML Validator is a web based validator and re-formatter for YAML. YAML Validator Online is easy to use YAML Validate tool. Copy, Paste and Validate. This is also called as YAML Lint tool. Best and Secure Online YAML Validator works well in Windows, Mac, Linux, Chrome, Firefox, Safari and Edge. Why YAML VAlidator?
If you specify duplicate keys, the last value for a key is used. This is somewhat similar to a Hash table or more specifically a dictionary in Python. These can be nested as well. Note that indentation is an important part of specifying relationships using YAML. Things that are indented are nested “inside” things that are one level higher. So in the above example, platform: pushbullet is a property of (nested inside) the notify component. Getting the right indentation can be tricky if you’re not using an editor with a fixed width font.
Tabs are not allowed to be used for indentation. Convention is to use 2 spaces for each level of indentation.
You can use the online service to check if your YAML syntax is correct before loading it into Home Assistant which will save you some time. If you do so, be aware that this is a third-party service and is not maintained by the Home Assistant community. Please pay attention on not storing private data (passwords, API keys, etc.) directly in your configuration.yaml file. Private data can be stored in a or in, which circumvents this problem of security. Text following a # are comments and are ignored by the system. The next example shows an component that uses a block collection for the options values. The other properties (like name) are specified using mappings.
Note that the second line just has threat: with no value on the same line. Here threat is the name of the inputselect and the values for it are everything nested below it.