You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/plant.markdown
+39-1Lines changed: 39 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,12 @@ ha_category: Other
11
11
ha_release: 0.44
12
12
---
13
13
14
+
This`plant`component lets you merge moisture, conductivity, light intensity, temperature and battery level for a plant into a single UI element. It also supports setting minimum and maximum values for each measurement and will change its state to "problem" if it is not within those limits.
15
+
16
+
To use your `plant` sensor in your installation, add the following to your `configuration.yaml` file:
17
+
14
18
```yaml
19
+
# Example configuration.yaml entry
15
20
plant:
16
21
simulated_plant:
17
22
sensors:
@@ -27,9 +32,42 @@ plant:
27
32
min_temperature: 15
28
33
```
29
34
30
-
## Using plain MQTT sensor to get the data
35
+
Configuration variables:
36
+
37
+
- **simulated_plant** (*Required*):
38
+
- **sensors** (*Required*):
39
+
- **moisture** (*Optional*):
40
+
- **battery** (*Optional*):
41
+
- **temperature:** (*Optional*):
42
+
- **conductivity:** (*Optional*):
43
+
- **brightness:** (*Optional*):
44
+
- **min_moisture** (*Optional*):
45
+
- **max_moisture** (*Optional*):
46
+
- **min_battery** (*Optional*):
47
+
- **min_conductivity** (*Optional*):
48
+
- **min_temperature** (*Optional*):
49
+
50
+
## {% linkable_title Examples %}
51
+
### Using plain MQTT sensor to get the data
52
+
This is a practial example that uses a multiple of `MQTT sensors` to supply the readings used by the `plant` sensor.
0 commit comments