Add new test scenarios

This commit is contained in:
Pierre HUBERT 2024-09-20 22:37:02 +02:00
parent 923f726bb4
commit ae366a84a2
5 changed files with 148 additions and 0 deletions

View File

@ -0,0 +1,44 @@
devices:
- id: dev1
info:
reference: A
version: 0.0.1
max_relays: 1
time_create: 1
time_update: 1
name: Dev1
description: Day1
validated: true
enabled: true
relays:
- id: dcb3fd91-bf9b-4de3-99e5-92c1c7dd72e9
name: R1
enabled: true
priority: 1
consumption: 100
minimal_uptime: 10
minimal_downtime: 1000
depends_on: []
conflicts_with: []
on: false
for: 5
should_be_on: false
- id: 88888888-bf9b-4de3-99e5-92c1c7dd72e8
name: R1
enabled: true
priority: 1
consumption: 100
minimal_uptime: 10
minimal_downtime: 1000
depends_on: [ dcb3fd91-bf9b-4de3-99e5-92c1c7dd72e9 ]
conflicts_with: [ ]
on: false
for: 5000
should_be_on: false
online: true
curr_consumption: -100000

View File

@ -0,0 +1,30 @@
devices:
- id: dev1
info:
reference: A
version: 0.0.1
max_relays: 1
time_create: 1
time_update: 1
name: Dev1
description: Day1
validated: true
enabled: true
relays:
- id: dcb3fd91-bf9b-4de3-99e5-92c1c7dd72e9
name: R1
enabled: true
priority: 1
consumption: 100
minimal_uptime: 10
minimal_downtime: 1000
depends_on: []
conflicts_with: []
on: false
for: 500
should_be_on: false
online: true
curr_consumption: -1000

View File

@ -0,0 +1,30 @@
devices:
- id: dev1
info:
reference: A
version: 0.0.1
max_relays: 1
time_create: 1
time_update: 1
name: Dev1
description: Day1
validated: true
enabled: true
relays:
- id: dcb3fd91-bf9b-4de3-99e5-92c1c7dd72e9
name: R1
enabled: true
priority: 1
consumption: 1000
minimal_uptime: 10
minimal_downtime: 1000
depends_on: []
conflicts_with: []
on: true
for: 5
should_be_on: true
online: true
curr_consumption: 10000

View File

@ -0,0 +1,44 @@
devices:
- id: dev1
info:
reference: A
version: 0.0.1
max_relays: 1
time_create: 1
time_update: 1
name: Dev1
description: Day1
validated: true
enabled: true
relays:
- id: dcb3fd91-bf9b-4de3-99e5-92c1c7dd72e9
name: R1
enabled: true
priority: 1
consumption: 900
minimal_uptime: 10
minimal_downtime: 10
depends_on: []
conflicts_with: []
on: true
for: 500
should_be_on: false
- id: 88888888-bf9b-4de3-99e5-92c1c7dd72e9
name: R2
enabled: true
priority: 2
consumption: 1000
minimal_uptime: 10
minimal_downtime: 10
depends_on: [ ]
conflicts_with: [ ]
on: false
for: 500
should_be_on: true
online: true
curr_consumption: -900