mirror of
https://github.com/Crocmagnon/plant-badger.git
synced 2024-11-22 09:28:03 +01:00
add secrets template
This commit is contained in:
parent
a07dc994d7
commit
dd7b20f2f8
2 changed files with 16 additions and 6 deletions
|
@ -1,6 +0,0 @@
|
||||||
SSID = ""
|
|
||||||
PASS = ""
|
|
||||||
COUNTRY = ""
|
|
||||||
|
|
||||||
HA_ACCESS_TOKEN = ""
|
|
||||||
|
|
16
src/secrets_template.py
Normal file
16
src/secrets_template.py
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Rename or copy to secrets.py and edit the values
|
||||||
|
# Wi-Fi
|
||||||
|
SSID = ""
|
||||||
|
PASS = ""
|
||||||
|
COUNTRY = ""
|
||||||
|
|
||||||
|
# Home Assistant
|
||||||
|
HA_ACCESS_TOKEN = ""
|
||||||
|
HA_BASE_URL = "http://home-assistant.local:8123/api"
|
||||||
|
HA_PLANT_ID = "plant.plant_name"
|
||||||
|
HA_PLANT_MOISTURE_SENSOR = "sensor.plant_name_moisture"
|
||||||
|
HA_PLANT_TEMPERATURE_SENSOR = "sensor.plant_name_temperature"
|
||||||
|
HA_PLANT_CONDUCTIVITY_SENSOR = "sensor.plant_name_conductivity"
|
||||||
|
HA_PLANT_ILLUMINANCE_SENSOR = "sensor.plant_name_illuminance"
|
||||||
|
# Max 255
|
||||||
|
REFRESH_INTERVAL_MINUTES = 60
|
Loading…
Reference in a new issue