box: add greenhouse info to HA
This commit is contained in:
parent
5c46419b64
commit
10bab6454b
@ -320,6 +320,18 @@ in
|
|||||||
];
|
];
|
||||||
config = {
|
config = {
|
||||||
mqtt.sensor = [
|
mqtt.sensor = [
|
||||||
|
{
|
||||||
|
name = "Greenhouse Temperature";
|
||||||
|
unique_id = "greenhouse_temp_c";
|
||||||
|
state_topic = "greenhouse/temp";
|
||||||
|
unit_of_measurement = "°C";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "Greenhouse Humidity";
|
||||||
|
unique_id = "greenhouse_humidity_pct";
|
||||||
|
state_topic = "greenhouse/humidity";
|
||||||
|
unit_of_measurement = "%";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
logger = {
|
logger = {
|
||||||
default = "warning";
|
default = "warning";
|
||||||
|
Loading…
Reference in New Issue
Block a user