add secrets template

This commit is contained in:
Gabriel Augendre 2023-03-10 20:37:55 +01:00
parent a07dc994d7
commit dd7b20f2f8
2 changed files with 16 additions and 6 deletions

View file

@ -1,6 +0,0 @@
SSID = ""
PASS = ""
COUNTRY = ""
HA_ACCESS_TOKEN = ""

16
src/secrets_template.py Normal file
View 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