Viessmann: fix auth provider
This commit is contained in:
parent
ef096a236f
commit
2fb8513c79
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ func NewViessmannFromConfig(ctx context.Context, other map[string]any) (oauth2.T
|
|||
var cc struct {
|
||||
ClientID string
|
||||
RedirectURI string
|
||||
Gateway string
|
||||
Gateway string `mapstructure:"gateway_serial"`
|
||||
}
|
||||
|
||||
if err := util.DecodeOther(other, &cc); err != nil {
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ params:
|
|||
type: int
|
||||
auth:
|
||||
type: viessmann
|
||||
params: [clientid, redirecturi, gateway]
|
||||
params: [clientid, redirecturi, gateway_serial]
|
||||
render: |
|
||||
type: sgready
|
||||
getmode:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue