diff --git a/meter/tibber-pulse.go b/meter/tibber-pulse.go index 22fc601426..bf6abe02cb 100644 --- a/meter/tibber-pulse.go +++ b/meter/tibber-pulse.go @@ -88,7 +88,7 @@ func NewTibberFromConfig(ctx context.Context, other map[string]interface{}) (api "token": cc.Token, }). WithRetryTimeout(0). - WithTimeout(time.Second). + WithTimeout(request.Timeout). WithLog(log.TRACE.Println). OnError(func(_ *graphql.SubscriptionClient, err error) error { // exit the subscription client due to unauthorized error