HEMS: redesign dim and curtail api as tristate (#30116)
This commit is contained in:
parent
3d59da473b
commit
8dc0edd8d9
8 changed files with 67 additions and 54 deletions
|
|
@ -280,11 +280,11 @@ type Circuit interface {
|
|||
|
||||
// EnWG §14a - reduce demand/consumption
|
||||
Dim(bool)
|
||||
Dimmed() bool
|
||||
Dimmed() *bool
|
||||
|
||||
// EEG §9 - reduce feed-in to the grid
|
||||
Curtail(bool)
|
||||
Curtailed() bool
|
||||
Curtailed() *bool
|
||||
}
|
||||
|
||||
// Redactor is an interface to redact sensitive data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue