Last active
September 11, 2020 14:46
-
-
Save debsahu/0a56718424f1f0a63ee785b1e26f1418 to your computer and use it in GitHub Desktop.
Example yaml file for HA when using https://github.com/sidddy/flora with mac address 11:22:33:44:55:66
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensor: | |
- platform: mqtt | |
state_topic: "flora/11:22:33:44:55:66/temperature" | |
name: "Basil Temperature" | |
unit_of_measurement: "°C" | |
- platform: mqtt | |
state_topic: "flora/11:22:33:44:55:66/moisture" | |
name: "Basil Moisture" | |
unit_of_measurement: "%" | |
- platform: mqtt | |
state_topic: "flora/11:22:33:44:55:66/light" | |
name: "Basil Brightness" | |
unit_of_measurement: "lux" | |
- platform: mqtt | |
state_topic: "flora/11:22:33:44:55:66/conductivity" | |
name: "Basil Conductivity" | |
unit_of_measurement: "uS/cm" | |
- platform: mqtt | |
state_topic: "flora/11:22:33:44:55:66/battery" | |
name: "Basil Sensor Battery" | |
unit_of_measurement: "%" | |
plant: | |
basil_plant: | |
sensors: | |
moisture: sensor.basil_moisture | |
battery: sensor.basil_sensor_battery | |
temperature: sensor.basil_temperature | |
conductivity: sensor.basil_conductivity | |
brightness: sensor.basil_brightness | |
min_moisture: 20 | |
max_moisture: 60 | |
min_battery: 17 | |
min_conductivity: 500 | |
min_temperature: 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment