diff --git a/tests/duplicate_alias.yml b/tests/duplicate_alias.yml new file mode 100644 index 0000000..7019745 --- /dev/null +++ b/tests/duplicate_alias.yml @@ -0,0 +1,23 @@ +sensors: +- id: 28-000008083108 + alias: fermenter + hightemp: 8 + lowtemp: 4 + heatgpio: 5 + heatinvert: true + heatminutes: 5 + coolgpio: 17 + coolinvert: false + coolminutes: 10 + verbose: true +- id: 28-000008083109 + alias: fermenter + hightemp: 8 + lowtemp: 4 + heatgpio: 5 + heatinvert: true + heatminutes: 5 + coolgpio: 17 + coolinvert: false + coolminutes: 10 + verbose: true diff --git a/tests/duplicate_id.yml b/tests/duplicate_id.yml new file mode 100644 index 0000000..f63867d --- /dev/null +++ b/tests/duplicate_id.yml @@ -0,0 +1,23 @@ +sensors: +- id: 28-000008083108 + alias: fermenter + hightemp: 8 + lowtemp: 4 + heatgpio: 5 + heatinvert: true + heatminutes: 5 + coolgpio: 17 + coolinvert: false + coolminutes: 10 + verbose: true +- id: 28-000008083108 + alias: notduplicate + hightemp: 8 + lowtemp: 4 + heatgpio: 5 + heatinvert: true + heatminutes: 5 + coolgpio: 17 + coolinvert: false + coolminutes: 10 + verbose: true diff --git a/tests/test_config.yml b/tests/test_config.yml new file mode 100644 index 0000000..f2ac9d2 --- /dev/null +++ b/tests/test_config.yml @@ -0,0 +1,12 @@ +sensors: +- id: 28-000008083108 + alias: fermenter + hightemp: 8 + lowtemp: 4 + heatgpio: 5 + heatinvert: true + heatminutes: 5 + coolgpio: 17 + coolinvert: false + coolminutes: 10 + verbose: true