diff --git a/.gitignore b/.gitignore index 59514cc..12bd8b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ .bash* .profile .vim* +.storage* +.log +.db + diff --git a/homeassistant/configuration.yaml b/homeassistant/configuration.yaml index 9158aac..f0f608c 100644 --- a/homeassistant/configuration.yaml +++ b/homeassistant/configuration.yaml @@ -45,7 +45,30 @@ sensor 2: name: 'Humidity' unit_of_measurement: '%' value_template: '{{ value_json.humidity }}' - + +sensor 3: + platform: mqtt + state_topic: 'living/sensor2' + name: 'Temperature 2' + unit_of_measurement: '°C' + value_template: '{{ value_json.temperature }}' + +sensor 4: + platform: mqtt + state_topic: 'living/sensor2' + name: 'Humidity 2' + unit_of_measurement: '%' + value_template: '{{ value_json.humidity }}' + +sensor 5: + platform: mqtt + state_topic: 'living/sensor2' + name: 'Humidity 3' + unit_of_measurement: '%' + value_template: '{{ value_json.soilhumidity }}' + + + switch 1: - platform: mqtt command_topic: living/plug