Skip to content

Commit 2fa327b

Browse files
committed
2 parents 6759776 + 9c05f5a commit 2fa327b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ binary_sensor:
5959
6060
Use the `virtual.turn_on`, `virtual.turn_off` and `virtual.toggle` services to manipulate the binary sensors.
6161

62+
To add a virtual sensor use the following:
63+
64+
```yaml
65+
- platform: virtual
66+
name: 'Temperature 1'
67+
class: temperature
68+
initial_value: 37
69+
```
70+
71+
Use the `virtual.set` service to manipulate the binary sensors.
72+
73+
6274
To add a virtual light use the following:
6375

6476
```yaml

0 commit comments

Comments
 (0)