Read through all documentation

This commit is contained in:
Philip Abbey
2024-01-20 15:05:33 +00:00
parent 2b21c840c6
commit b46c4d2eb4
10 changed files with 159 additions and 93 deletions

View File

@ -1,8 +1,18 @@
[Home](../README.md) | Switches | [Actions](Actions.md) | [Templates](Templates.md) | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Versions](../Versions.md)
[Home](../README.md) | Switches | [Actions](Actions.md) | [Templates](Templates.md) | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
# Switches
In order to facilitate custom switches at this time, you must create a template switch in HomeAssistant.
This is the simplest form:
```json
{
"entity": "light.bedside_light_switch",
"name": "Bedroom Light",
"type": "toggle"
},
```
To support a non-standard light, switch, or automation as a toggle menu item you may like to define a custom switch. In order to facilitate custom switches at this time, you must create a template switch in HomeAssistant.
```yaml
switch: